info: host.cgroupControllers
is empty on rootless
#11931
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
rootless
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
podman info
(rootless) doesn't fulfillhost.cgroupControllers
fieldSteps to reproduce the issue:
podman info --format '{{json .}}' | jq .host.cgroupControllers
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Rootless Docker (v20.10.9) can print the available cgroup controllers as expected.
Rootless Docker reads
/sys/fs/cgroup/user.slice/user-1001.slice/cgroup.controllers
https://github.com/moby/moby/blob/30413e5efb6c29da0df23dc95ae4625f31dd8d71/daemon/oci_linux.go#L103
On the other hands, Rootless Podman seems reading
/sys/fs/cgroup/user.slice/user-1001.slice/[email protected]/user.slice/podman-132751.scope/cgroup.subtree_control
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):N/A
Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
N/A
The text was updated successfully, but these errors were encountered: