[CRIU] [PATCH] Skip restoring the cgroup root directories when using full mode

Cyrill Gorcunov gorcunov at gmail.com
Wed Aug 12 15:00:25 PDT 2015


On Wed, Aug 12, 2015 at 05:37:35PM -0400, Hui Kang wrote:
> 
>      Could you please explain how we end up having empty dir_name here?
> 
>    This happens when restoring a process with cgroup using
>    --manage-cgroup=full. 
>    To reproduce this error
>    1. start a process
>    2. mkdir /sys/fs/cgroups/cpusets/foo
>    3. echo PID > /sys/fs/cgroups/cpusets/foo/tasks
>    4. checkpoint the process
>    5. rmdir /sys/fs/cgroups/cpusets/foo or copy the checkedpoint images to a
>    different host
>    5. /root/criu/criu restore --log-file ./restore.log -vvvv -j 
>    --manage-cgroup=full

Hmm. Thanks for info! Need to think...


More information about the CRIU mailing list