Werk #12687: activation_cleanup: fix growing tmp directory due to inactive cleanup job

Component Setup
Title activation_cleanup: fix growing tmp directory due to inactive cleanup job
Date Jul 27, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p9 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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.

To the list of all Werks