You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pid:[4026532491]
# time="2025-04-16T06:24:45-04:00" level=warning msg="failed to kill all processes, possibly due to lack of cgroup (Hint: enable cgroup v2 delegation)" error="cgroup not exist"
> # [06:24:45.145252051] $ /usr/bin/podman run --rm --pid container:c-pid-t359-8qf994tn quay.io/libpod/testimage:20241011 readlink /proc/self/ns/pid
> # [06:24:45.471202035] pid:[4026532491]
> # time="2025-04-16T06:24:45-04:00" level=warning msg="failed to kill all processes, possibly due to lack of cgroup (Hint: enable cgroup v2 delegation)" error="cgroup not exist"
> #
So this is an example of start a rootless container with a shared pid namespace of the host, we wanted to abandon this type container, but we decided to just print a warn message by considering the backward compatibility, for more informations, please see: #4395 (comment) #4395 (review)
If you have a way to kill all processes in this type container, feel free to let us know.
So this is an example of start a rootless container with a shared pid namespace of the host, we wanted to abandon this type container, but we decided to just print a warn message by considering the backward compatibility, for more informations, please see: #4395 (comment)#4395 (review)
If you have a way to kill all processes in this type container, feel free to let us know.
The problem is that the warning is misleading: the cgroup exists & cgroups v2 delegation is enabled.
AkihiroSuda
changed the title
Excessive warning when run as rootless
Excessive warning when run as rootless (Hint: enable cgroup v2 delegation is printed even when it is already enabled)
Apr 18, 2025
Uh oh!
There was an error while loading. Please reload this page.
Description
Excessive warning when run as rootless
Steps to reproduce the issue
From the automated BATS testsuite:
WARNING: The
bats
command will remove all existing containers & images.git clone --depth 1 https://github.com/containers/podman
cd podman/test/system
PODMAN=/usr/bin/podman QUADLET=/usr/libexec/podman/quadletbats -t 195-run-namespaces.bats
Describe the results you received and expected
Expected:
pid:\[4026532491\]
Received:
Full commands:
What version of runc are you using?
Host OS information
Host kernel information
Linux opensuse 6.14.1-1-default #1 SMP PREEMPT_DYNAMIC Mon Apr 7 08:22:06 UTC 2025 (ca98696) x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: