podman/utils
Paul Holzinger 919678d2f8
fix incorrect systemd booted check
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>
2022-11-07 18:23:55 +01:00
..
testdata Support running podman under a root v2 cgroup 2022-05-21 09:28:52 -05:00
ports.go hack/test/utils: switch to golang native error wrapping 2022-07-05 12:13:33 +02:00
utils.go fix incorrect systemd booted check 2022-11-07 18:23:55 +01:00
utils_freebsd.go utils: Add missing symbols for FreeBSD 2022-08-16 08:10:31 +01:00
utils_supported.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
utils_test.go Support running podman under a root v2 cgroup 2022-05-21 09:28:52 -05:00
utils_windows.go hack/test/utils: switch to golang native error wrapping 2022-07-05 12:13:33 +02:00