[CRIU] [PATCH] cg: don't leak properties when cg dir exists

Pavel Emelyanov xemul at parallels.com
Thu Oct 2 08:21:55 PDT 2014


>> 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?

Thanks,
Pavel



More information about the CRIU mailing list