Hm, I found a bug in my last version of this patch. Freshly booted machines 
which had not mounted the cgroupfs had all the hierarchies as 0, causing all 
cgroups to get mounted onto a single directory. I can work around this by 
detecting this scenario.
However, I wonder if I am actually seeing a bug in LXC. On my 12.04 hosts 
spawning 12.04 containers with the nesting.conf include, the cgroupfs gets 
automounted inside the container even without this package. This is not the 
case on 16.04 hosts. I'm currently using LXC 2.0.6.

RE: name=systemd, I had modified an older version of our scripts to
mount name=systemd, because that was how it showed up in
/proc/self/cgroups, but everywhere I see the systemd cgroup mentioned on
the internet has it mounted at /sys/fs/cgroup/systemd, so I guess that's
an implementation detail I just have to deal with.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to