[CRIU] criu-dev restore forked process

Connor Zanin zanin.c at husky.neu.edu
Tue Jul 25 18:04:53 MSK 2017


Hi all,

This question is based on
commit 7b27c4d4b254fd1bdb11ee74808be2786c785b53 which is in the criu-dev
branch.

The commands used are:

sudo ./criu dump -t <pid> -j -D <directory>
and
sudo ./criu restore -j -D <directory>

The code used, as well as the checkpoint directory and log files are
attached.

CRIU is unable to restore the process tree, seemingly because it cannot
find the session leader for the child process. Is this normal behavior?
Should I be supplying another option? Or, is this a bug?

It seems to be a bug creating the shell session in the process tree
(prepare_pstree_for_shell_job()).

Thanks for any help!

Cheers,
Connor Zanin
College of Computer and Information Science
Northeastern University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20170725/a573f468/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fork.c
Type: text/x-csrc
Size: 136 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20170725/a573f468/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: checkpoints.zip
Type: application/zip
Size: 37868 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20170725/a573f468/attachment-0001.zip>


More information about the CRIU mailing list