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
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p9 2.1.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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