[CRIU] [PATCH] cg: don't leak properties when cg dir exists
Tycho Andersen
tycho.andersen at canonical.com
Thu Oct 2 08:24:21 PDT 2014
On Thu, Oct 02, 2014 at 07:21:55PM +0400, Pavel Emelyanov wrote:
>
> >> configure them and execute "criu restore".
> >> And I doesn't expect that criu will change parameters for the initial
> >> set of cgroup. Could you explain why it should?
> >
> > If you're using --cgroup-root, it should certainly not touch the
> > original ones. However, if you're not, it has to re-create them
> > because of the case I described above.
>
> Absolutely. Guys, do I get the issue right -- the tasks from test live
> in root cpuset cgrpup, so on restore criu tries to set "special values"
> to this cgroup too and fails with -EPERM?
Yes, although I think it is -EACCES. Definitely a bug with the patch I
just sent, though. I will send another to fix it.
Tycho
More information about the CRIU
mailing list