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

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to