containers/crun

crun verify the cgroup file system type even when invoked with `--cgroups=disabled`

jairov4 opened this issue · 0 comments

Invoking:

sudo podman run -dt --runtime /home/android/crun --cgroups=disabled --network=host docker.io/library/httpd
WARN[0000] Failed to read current user namespace mappings
Error: OCI runtime error: /home/android/crun: invalid file system type on `/sys/fs/cgroup`

crun v1.14.1 will complain of "invalid file system type on /sys/fs/cgroup" due my box is using Linux Deploy and not correctly mounting the directory so it gets sysfs instead of tmpfs but the issue is that cgroup should not be tested due it wont be used as explicitly invoked with --cgroups=disabled