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
The structure you pasted above is from cgroups v2. Most likely the cpuset directory was created by runsc thinking that it's operating on cgroups v1. When both v1 and v2 are enabled, /sys/fs/cgroup looks like this:
[core@fedora ~]$ ls -l /sys/fs/cgroup
total 0
dr-xr-xr-x. 4 root root 0 Feb 18 00:56 blkio
lrwxrwxrwx. 1 root root 11 Feb 18 00:56 cpu -> cpu,cpuacct
dr-xr-xr-x. 4 root root 0 Feb 18 00:56 cpu,cpuacct
lrwxrwxrwx. 1 root root 11 Feb 18 00:56 cpuacct -> cpu,cpuacct
dr-xr-xr-x. 3 root root 0 Feb 18 00:56 cpuset
dr-xr-xr-x. 5 root root 0 Feb 18 00:56 devices
dr-xr-xr-x. 3 root root 0 Feb 18 00:56 freezer
dr-xr-xr-x. 3 root root 0 Feb 18 00:56 hugetlb
dr-xr-xr-x. 5 root root 0 Feb 18 00:56 memory
lrwxrwxrwx. 1 root root 16 Feb 18 00:56 net_cls -> net_cls,net_prio
dr-xr-xr-x. 3 root root 0 Feb 18 00:56 net_cls,net_prio
lrwxrwxrwx. 1 root root 16 Feb 18 00:56 net_prio -> net_cls,net_prio
dr-xr-xr-x. 3 root root 0 Feb 18 00:56 perf_event
dr-xr-xr-x. 5 root root 0 Feb 18 00:56 pids
dr-xr-xr-x. 5 root root 0 Feb 18 00:56 systemd
dr-xr-xr-x. 5 root root 0 Feb 18 00:56 unified ===> cgroups v2 is mounted here
Fedora 33
Package golang-gvisor-20201216.0-1.20210114git6cc587a.fc33.x86_64
runsc -version
runsc version VERSION_MISSING
spec: 1.0.2-dev
Initially I got the expected cgroups v2 error.
systemd.unified_cgroup_hierarchy=0
After rebuilding grub and rebooting the error has changed:
sudo runsc do echo ok
creating container: configuring cgroup: open /sys/fs/cgroup/cpuset/runsc-022049/cpuset.cpus: no such file or directory
/sys/fs/cgroup/cpuset/ exists and is populated:
The text was updated successfully, but these errors were encountered: