Werk #5274: cmk-update-agent: prevent saving state file to wrong directory on windows

Component Agent bakery
Title cmk-update-agent: prevent saving state file to wrong directory on windows
Date Feb 26, 2018
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.5.0i3
Not yet released
Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0i3
Not yet released
Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0i3
Not yet released
Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0i3
Not yet released
Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0i3
Not yet released
Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0i3
Not yet released
Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0i3 Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.4.0p26 Checkmk Enterprise (CEE), Checkmk MSP (CME)

The Agent Updater would accidently save its cmk-update-agent.state to C:\etc if this directory was existant. This could lead to an implausible update state. Virtually the Agent Updater would lose its registration information.

After an update or a manual reinstallation to a newly baked agent, a new registration might be required.

However, you might want to delete the cmk-update-agent.state located at C:\etc after the problem has been fixed.

To the list of all Werks