Werk #12687: activation_cleanup: fix growing tmp directory due to inactive cleanup job
Komponente | Setup |
Titel | activation_cleanup: fix growing tmp directory due to inactive cleanup job |
Datum | 27.07.2021 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.0.0p9 2.1.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
The "Activate Changes" functionality creates a number of temporary directories under tmp, which are periodically removed by a cleanup job "Activation Cleanup". This job was not able to repair itself in the event that it had a broken or empty status file: ~/var/check_mk/background_jobs/activation_cleanup/jobstatus.mk. This has been fixed, so that the job can continue to run.