Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #14737: Linux agent installation on systems with no-exec /var path

Component Checks & agents
Title Linux agent installation on systems with no-exec /var path
Date Sep 7, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0p12 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

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.

To the list of all Werks