Module: check_mk
Branch: master
Commit: 24dd2fe61916e509332dcaaae6cff1f41526f1fd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=24dd2fe61916e5…
Author: Andreas Umbreit <au(a)mathias-kettner.de>
Date: Mon Feb 26 16:18:46 2018 +0100
5274 FIX cmk-update-agent: prevent saving state file to wrong directory on windows
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.
Change-Id: Id0cb77eae411b6895be8d92c084ee6611f34563c
---
.werks/5274 | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/.werks/5274 b/.werks/5274
new file mode 100644
index 0000000..bcabab2
--- /dev/null
+++ b/.werks/5274
@@ -0,0 +1,15 @@
+Title: cmk-update-agent: prevent saving state file to wrong directory on windows
+Level: 1
+Component: agents
+Compatible: compat
+Edition: cee
+Version: 1.5.0i3
+Date: 1519657314
+Class: fix
+
+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.