Werk #14737: Linux agent installation on systems with no-exec /var path
Komponente | Checks & agents |
Titel | Linux agent installation on systems with no-exec /var path |
Datum | 07.09.2022 |
Checkmk-Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.2.0b1 2.1.0p12 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
During agent package installation on Linux (.rpm or .deb package), some shell scripts get executed that are located under the directory /var/lib/cmk-agent.
This lead to problems, because on some environments, the /var directory is mounted with noexec-flag and hence the scripts failed to execute.
To fix this situation, the installation scripts now get executed by passing them to /bin/sh.