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

Werk #22369: mk_podman: Fix CLI method for users without a login shell

Component Checks & agents
Title mk_podman: Fix CLI method for users without a login shell
Date Oct 29, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

If you use the connection method CLI (Podman command) in the rule Podman hosts and containers (Linux), the agent plug-in mk_podman runs podman as the owner of each container via su. Previously, su used the login shell of this user. Service users often have /usr/sbin/nologin or /bin/false as their login shell. For these users the command failed, and the plug-in did not report their containers.

The plug-in now uses /bin/sh if the login shell of the user is not listed in /etc/shells. All other users keep their own login shell, as before.

To get the fix, redeploy the agent plug-in on the affected hosts.

To the list of all Werks