Branch: refs/heads/2.3.0
Home:
https://github.com/Checkmk/checkmk
Commit: 4768694ce956e8ad4d64241a2f1a703dd6da45af
https://github.com/Checkmk/checkmk/commit/4768694ce956e8ad4d64241a2f1a703dd…
Author: Solomon Jacobs <solomon.jacobs(a)checkmk.com>
Date: 2024-07-24 (Wed, 24 Jul 2024)
Changed paths:
M omd/packages/omd/omdlib/update.py
Log Message:
-----------
omd: fix backup_managed
To determine which files are modified by the update, it is checked which
paths existed in the skel hierarchy, both before and after the update.
This mechanism did not work correctly for symlinks. This caused the
following crash:
```
File "/omd/versions/2.4.0-2024.07.24.cee/lib/python3/omdlib/update.py", line
31, in store
destination.symlink_to(source.readlink())
File "/omd/versions/2.4.0-2024.07.24.cee/lib/python3.12/pathlib.py", line
1386, in symlink_to
os.symlink(target, self, target_is_directory)
FileExistsError: [Errno 17] File exists: 'lib/omd/bash_completion' ->
'/omd/sites/heute/.update_backup/etc/bash_completion.d/bash_completion'
```
There is no known crash in the 2.3.0, but the implemention should still be corrected.
Change-Id: Ie45872a7bb9ca8cf9effe15f1d73a1afcbf6c943
(cherry picked from commit 63c62dbd0d3e69fe6d6f36a91bcef2775958caf3)
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications