mirror of
https://github.com/containers/podman.git
synced 2025-06-03 20:33:20 +08:00

Check for the directory /run/systemd/system, this is described in sd_booted(3). Reading /proc/1/comm will fail when /proc is mounted with the `hidepid=2` option. [NO NEW TESTS NEEDED] Fixes #16022 Signed-off-by: Paul Holzinger <pholzing@redhat.com>