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

Werk #5502: Prevent baked tar.gz agents from changing ownership of files on host

Component Agent bakery
Title Prevent baked tar.gz agents from changing ownership of files on host
Date Jul 5, 2018
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.6.0b1 Checkmk Pro, Checkmk Ultimate MT
1.5.0b8 Checkmk Pro, Checkmk Ultimate MT

When extracting a tar.gz packaged agent from the agent bakery as root (as it is normallly done), the user and group ownerships of the extracted files would be set to the Check_MK site user, if such user is available on the target host. This would lead to a wrong ownership on some folders like "/etc", "/usr" and "/var".

In order to prevent this, the agent bakery now creates the tar.gz packages correctly by setting an ownership of "root".

To the list of all Werks