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
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk Version 1.5.0p3 1.6.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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