If I run runc events on master it just hangs
I git bisected it to 2b1e086
but I cant tell why that broke it...
But on master my cgroups path in /run/runc/container_name/state.json is:
"cgroup_paths": {
"blkio": "/sys/fs/cgroup/blkio/system.slice/system-runc.slice/chrome",
"cpu": "/sys/fs/cgroup/cpu,cpuacct/system.slice/system-runc.slice/chrome",
"cpuacct": "/sys/fs/cgroup/cpu,cpuacct/system.slice/system-runc.slice/chrome",
"cpuset": "/sys/fs/cgroup/cpuset/system.slice/system-runc.slice/chrome",
"devices": "/sys/fs/cgroup/devices/system.slice/system-runc.slice/chrome",
"freezer": "/sys/fs/cgroup/freezer/system.slice/system-runc.slice/chrome",
"hugetlb": "/sys/fs/cgroup/hugetlb/system.slice/system-runc.slice/chrome",
"memory": "/sys/fs/cgroup/memory/system.slice/system-runc.slice/chrome",
"name=systemd": "/sys/fs/cgroup/systemd/system.slice/system-runc.slice/chrome",
"net_cls": "/sys/fs/cgroup/net_cls,net_prio/system.slice/system-runc.slice/chrome",
"net_prio": "/sys/fs/cgroup/net_cls,net_prio/system.slice/system-runc.slice/chrome",
"perf_event": "/sys/fs/cgroup/perf_event/system.slice/system-runc.slice/chrome",
"pids": "/sys/fs/cgroup/pids/system.slice/system-runc.slice/chrome"
},
whereas on v0.9 it is correctly:
"cgroup_paths": {
"blkio": "/sys/fs/cgroup/blkio/user.slice/htop",
"cpu": "/sys/fs/cgroup/cpu,cpuacct/user.slice/htop",
"cpuacct": "/sys/fs/cgroup/cpu,cpuacct/user.slice/htop",
"cpuset": "/sys/fs/cgroup/cpuset/user.slice/htop",
"devices": "/sys/fs/cgroup/devices/user.slice/htop",
"freezer": "/sys/fs/cgroup/freezer/user.slice/htop",
"hugetlb": "/sys/fs/cgroup/hugetlb/user.slice/htop",
"memory": "/sys/fs/cgroup/memory/user.slice/htop",
"name=systemd": "/sys/fs/cgroup/systemd/user.slice/htop",
"net_cls": "/sys/fs/cgroup/net_cls,net_prio/user.slice/htop",
"net_prio": "/sys/fs/cgroup/net_cls,net_prio/user.slice/htop",
"perf_event": "/sys/fs/cgroup/perf_event/user.slice/htop",
"pids": "/sys/fs/cgroup/pids/user.slice/htop"
},
If I run
runc eventson master it just hangsI git bisected it to 2b1e086
but I cant tell why that broke it...
But on master my cgroups path in /run/runc/container_name/state.json is:
whereas on v0.9 it is correctly: