Werk #5509: cmk-update-agent: Prevent agent update from crashing while setting up syslog

Component Agent bakery
Title cmk-update-agent: Prevent agent update from crashing while setting up syslog
Date Aug 17, 2018
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.6.0b1 Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0p3 Checkmk Enterprise (CEE), Checkmk MSP (CME)

If syslog setup failed (on Linux), namely if /dev/log is not available, the agent updater would crash. This is now mitigated by catching errors while setting up logging to syslog. A failure will now result in a warning instead of a crash.

To the list of all Werks