Werk #15602: mk-job: Cleanup after execution was interrupted

Komponente Checks & agents
Titel mk-job: Cleanup after execution was interrupted
Datum 05.04.2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.0.0p35 2.1.0p26 2.2.0b3 2.3.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

Previously, if the wrapper program mk-job was interrupted by a reboot, the Job service would continue to show the job, which was started by mk-job. This job was shown to be running despite it being terminated by the reboot. This can be fixed by removing the corresponding file created by mk-job. With this werk, mk-job cleans up the file after being interrupted. Thus, these terminated jobs will no longer be shown as running.

Zur Liste aller Werks