Werk #11722: Bug occuring on xinetd reload on agent update

Component Agent bakery
Title Bug occuring on xinetd reload on agent update
Date Jan 29, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0b6 Checkmk Enterprise (CEE), Checkmk MSP (CME)

On (automatic) agent update on Linux, the update process includes the reload of the xinetd process, if running. This is done by the DEB maintainer scripts or RPM scriptlets, respectively.

There are some rare situations (e.g., LCX containers with a running xinetd) that lead to a falsely detected xinetd process on the host system. In that case, the update process would crash on trying to reload xinetd.

This behavior is mitigated with this werk, by only detecting running xinetd processes that run under root (uid 0).

To the list of all Werks