[Devel] [patch rh7 2/2] cgroup: Mangle cgroups root from inside of VE view

Cyrill Gorcunov gorcunov at virtuozzo.com
Fri May 29 01:51:49 PDT 2015


On Fri, May 29, 2015 at 11:37:35AM +0300, Vladimir Davydov wrote:
> > 
> > No it can and it does run inside container (I notice some problems
> > though, regardless of how we represent cgroup paths inside container).
> > The main reason is to make /proc/pid/cgroup output to match what is
> > container sees from inside. Or you mean something else?
> 
> I mean vanilla kernels, where there is no /proc/pid/cgroup mangling. How
> does it work there (if it does)? May be, we could adapt the technique
> used there instead of patching the kernel.

In vanilla kernels it looks like lxc prople provide own fs layer,
which I'm not familiar with (but avagin@ should know better, Andrew?)



More information about the Devel mailing list