Werk #5274

KomponenteAgent Bakery
Titelcmk-update-agent: prevent saving state file to wrong directory on windows
Datum2018-02-26 16:01:54
Check_MK EditionCheck_MK Enterprise Edition (CEE)
Check_MK Version1.4.0p26,1.5.0i3
Level1 - Trivial Change
KlasseBug Fix
KompatibilitätKompatibel- benötigt keine manuelles eingreifen

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.