Werk #5268: cmk-update-agent: Improve exception handling
Component | Agent bakery |
Title | cmk-update-agent: Improve exception handling |
Date | Jan 5, 2018 |
Checkmk Edition | Checkmk Enterprise (CEE) |
Checkmk Version | 1.4.0p23 1.5.0i3 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - 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.