Werk #6625: Fixed possible failed mkbackup because of changed mknotifyd state file

Component Core & setup
Title Fixed possible failed mkbackup because of changed mknotifyd state file
Date Sep 19, 2018
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.6.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0p5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The mknotifyd used specific names for a temporary file which was not excluded by the mkbackup mechanism. When a backup was performed while the mknotifyd wrote it's state file, the backup could fail with an exception like this:

OSError: [Errno 2] No such file or directory: \'/omd/sites/int_ma_5351/var/log/mknotifyd.state.new\'

To the list of all Werks