Refactoring: Changed remaining check parameters starting with an 's' to the new rules...
[check_mk.git] / .werks / 5700
blobb9de8f38729e51b8702d921d687210291321cf30
1 Title: Windows agent crashed while unpacking plugins
2 Level: 1
3 Component: checks
4 Compatible: compat
5 Edition: cee
6 Version: 1.5.0i3
7 Date: 1517408564
8 Class: fix
10 The agent updater and MSI installer call the Windows agent with a
11 special parameter 'unpack' in order to extract plugins from the
12 .cap-archive. The agent crashed if it could not write the batch file
13 'uninstall_plugins.bat' or any of the extracted plugin files.
15 Now any errors with writing files are logged before interrupting the
16 unpack process. After successfully unpacking the plugins, the agent
17 checks recursively that all files in its installation directory are
18 writable by the agent. The check stops at the first unwritable file
19 and logs a corresponding error message before exiting.