Closed cevich closed 1 year ago
we cannot use --cgroups=split
on cgroup v1 as it requires write access to the cgroup. That is another test we need to skip on a cgroupv1 system
Thanks for the insight Giuseppe.
Just double-checked, we're correctly skipping the cgroups=split tests in https://github.com/containers/automation_images/pull/250
Thanks @giuseppe
Issue Description
On systems using Cgroups v1 with runc, quadlet fails with a message similar to
Error: mkdir /sys/fs/cgroup/pids/user.slice/user-2878.slice/user@2878.service/runtime: permission denied
Steps to reproduce the issue
Steps to reproduce the issue
make localsystem
Describe the results you received
Something similar to the logs in CI:
Describe the results you expected
All rootless quadlet tests should pass
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Debian GNU/Linux bookworm/sid \n \l
Kernel: 6.1.0-3-cloud-amd64 Cgroups: tmpfs dpkg-query: no packages found matching containers-common dpkg-query: no packages found matching cri-o-runc conmon-2.1.3+ds1-1-amd64 containernetworking-plugins-1.1.1+ds1-3+b1-amd64 criu-3.17.1-2-amd64 crun-1.5+dfsg-1+b1-amd64 golang-2:1.19~1-amd64 libseccomp2-2.5.4-1+b3-amd64 podman-4.3.1+ds1-5+b1-amd64 runc-1.1.4+ds1-1+b1-amd64 skopeo-1.9.3+ds1-1-amd64 slirp4netns-1.2.0-1-amd64
Additional information
Ref: https://github.com/containers/podman/pull/17305#issuecomment-1423252348