[lxc-devel] [PATCH 6/6] cgroup: Major rewrite of cgroup logic
Serge Hallyn
serge.hallyn at ubuntu.com
Tue Sep 10 21:32:45 UTC 2013
With the two one-liners applied this is working fine for me both on host
and nested. mountcgroups is working fine with the default cgroup
pattern (/lxc/%n). It doesn't work with custom ones, and I don't know
how to make it work.
I'd like to just get rid of mountcgroups and make this a
configurable option straight in lxc, which when set will cause lxc,
for every mountpoint which is in handler->cgroup, bind-mount the
the container init's directory into the container. The question is,
would $rootfs/sys/fs/cgroup/$controllername be an ok assumption for
all distributions? If not maybe we can't do this universally...
But I should think it'd be ok.
In the meantime I'm going to push your patch to staging. Thanks very
much!
-serge
More information about the lxc-devel
mailing list