[Devel] [PATCH RH7] cgroup: fix mangle root in CT

Vladimir Davydov vdavydov at parallels.com
Wed Aug 19 01:14:32 PDT 2015


On Wed, Aug 19, 2015 at 10:49:24AM +0300, Pavel Tikhomirov wrote:
...
> >CT-103 /# cat /proc/578/cgroup
> >16:ve:/
> >15:hugetlb:/
> >14:perf_event:/
> >12:net_cls:/
> >11:freezer:/
> >10:devices:/test.slice/test.scope
> >6:name=systemd:/user-0.slice/session-c109.scope
> 
> The other thing, I'm not yet sure how to fix now, is that such process
> somehow gets out of ve-103.slice and is in
> /sys/fs/cgroup/systemd/user-0.slice/session-c109.scope if we look from host.

I don't think it gets out, it looks like it just doesn't get in on vzctl
enter. I tried to put $$ to /sys/fs/cgroup/systemd/<ve> explicitly
before calling vzctl enter and it stayed there after vzctl enter. It
might be a vzctl problem.

Adding Igor to Cc.



More information about the Devel mailing list