Licenses: Updated the list of licenses and added a PDF containing all license texts
[check_mk.git] / .werks / 4499
blob793cf264375f709225920d46e21dbb387860958b
1 Title: Agent Updater: Prevent broken state files caused by incomplete writes
2 Level: 1
3 Component: agents
4 Compatible: compat
5 Edition: cee
6 Version: 1.5.0i1
7 Date: 1489567247
8 Class: fix
10 When the agent updater is being executed it writes it's current deployment state
11 to a state file. When the system is turned of suddenly it could cause a file
12 corruption of the cmk-update-agent.state file. We prevent this now by writing to
13 a temporary file first, flush it and then move it over to the state file path.