[lxc-devel] [PATCH 1/5] cgroup: minor bugfixes so start and attach work again

Christian Seiler christian at iwakd.de
Wed Aug 21 14:29:59 UTC 2013


Hi Serge,

> If we're going to do this, we should do it soon.  Would you have time
> in the next few days?

Define 'few'. ;) I should be able to do that until Monday (barring any
emergencies).

> (BTW, if we're going to throw words like b0rked around, I'd prefer to
> reserve that for the refusal to implement fake-root in cgroups itself
> which would allow us to ignore this by treating ourselves as really
> being inside '/')

Sorry, I didn't mean any insult by that. But yes, virtualized cgroups
would obviously be the best solution.[tm]



Two technical questions:

  1. What about the naming convention? Stick with /lxc/$name or go with
     /machine/$name.lxc (see prev. email)? Or I could make that
     configurable?

  2. Any objections to implementing the mountcgroups hook in C?
     Especially if I want to do the cgroup mount point detection right
     (and not just assume /sys/fs/cgroup) it is going to be a huge pain
     to do that in shell, whereas in C I could reuse code.

-- Christian





More information about the lxc-devel mailing list