Werk #5268

ComponentAgent Bakery
Titlecmk-update-agent: Improve exception handling
Date2018-01-05 12:31:32
Check_MK EditionCheck_MK Enterprise Edition (CEE)
Check_MK Version1.4.0p23,1.5.0i3
Level1 - Trivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

Due to an inconsistent exception handling in cmk-update-agent program flow, the running program could exit before releasing its lock file.

This could result in an error message


ERROR An instance of cmk_update_agent.py is already running on this system. Aborting...

when running cmk-update-agent again.

If you are affected by this error, please delete the lock file "cmk-update-agent.pid", located at your system's or user's temp-dir, once manually.