Branch: refs/heads/1.6.0
Home:
https://github.com/tribe29/checkmk
Commit: 6fa415370c8ed8fa3ccb4bcd52ebb1dcbc58d2b3
https://github.com/tribe29/checkmk/commit/6fa415370c8ed8fa3ccb4bcd52ebb1dcb…
Author: Timotheus Bachinger <timotheus.bachinger(a)tribe29.com>
Date: 2021-07-09 (Fri, 09 Jul 2021)
Changed paths:
M bin/mkbackup
Log Message:
-----------
Remove redundant definition
Change-Id: Ifefffd07151cbb3d253cd8eabfec340ce9812823
Commit: e399138177045ccd319ff74ea3c0a262be2240ff
https://github.com/tribe29/checkmk/commit/e399138177045ccd319ff74ea3c0a262b…
Author: Timotheus Bachinger <timotheus.bachinger(a)tribe29.com>
Date: 2021-07-09 (Fri, 09 Jul 2021)
Changed paths:
M bin/mkbackup
M cmk/utils/paths.py
Log Message:
-----------
Rework locking for mkbackup
We're using now multiple files for flock:
* one lock *per* site, which is backuped / restored
* one global lock, in case of an appliance (and mkbackup executed by root)
CMK-7706
Change-Id: I73739bcbdaf4c79dd6944452e0655cfe8c382101
Commit: 86636c287f7151e1bb7c22fa9caff047dd4b360b
https://github.com/tribe29/checkmk/commit/86636c287f7151e1bb7c22fa9caff047d…
Author: Timotheus Bachinger <timotheus.bachinger(a)tribe29.com>
Date: 2021-07-09 (Fri, 09 Jul 2021)
Changed paths:
A .werks/11810
M omd/omd.spec.in
M omd/packages/omd/omdlib/main.py
Log Message:
-----------
11810 FIX mkbackup: Fix locking problems
On standard site installations, locks during mkbackup are now site
specific.
This results in multiple sites being able to be backed-up
simultaneously.
On appliances, a system-wide backup will still lock all sites regarding
backup.
Details:
Werk 11868 tried to fix permission issues during mkbackup of different
sites.
However directories under <tt>/var/lock/</tt> are volatile and
therefore the creation and the setting of the rights on the
<tt>mkbackup</tt> folder must be performed on every system restart.
Therefore <tt>omd</tt> will now try to ensure that this folder exists
and has the correct permissions.
Furthermore, the backup directory has been moved to
<tt>/run/lock/mkbackup</tt> as this is the standard path for locks
according to FHS.
CMK-7706
Change-Id: Ibb65c0887993423ce737325dd787b9e7e59730de
Compare:
https://github.com/tribe29/checkmk/compare/349447676db4...86636c287f71