Files
podman/cmd
Paul Holzinger eaef6f83ea podman-remote: do not check for cgroupv2
With the remote client on linux we should not check for cgroups and hard
fail if it is not v2. Only the server side matters not the client.

The problem can be reproduced with:
unshare -rm sh -c "mount -t tmpfs none /sys/fs/cgroup  && ./bin/podman --remote ps"

I did not add a regression test as it does not seem to fit well into a
test suite, over mounting cgroups seems like not a good idea.

Fixes: #29241

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-07-21 16:04:34 -04:00
..
2026-06-10 15:05:24 +02:00