Werk #11810: mkbackup: Fix locking problems
|Titel||mkbackup: Fix locking problems|
|Checkmk-Editon||Checkmk Raw (CRE)|
|Checkmk-Version||2.1.0i1 2.0.0p8 1.6.0p25|
|Kompatibilität||Kompatibel - benötigt kein manuelles Eingreifen|
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.
Version Limitations for Appliances: With this werk, the minimal required appliance version will be 1.4.16.
Technical Details: Werk 11868 tried to fix permission issues during mkbackup of different sites. However directories under /var/lock/ are volatile and therefore the creation and the setting of the rights on the mkbackup folder must be performed on every system (omd) restart. Therefore omd will now try to ensure that this folder exists and has the correct permissions.
Furthermore, the backup directory has been moven to /run/lock/mkbackup as this is the standard path for locks according to FHS.Zur Liste aller Werks