[CRIU] Debugging the process to restore veth in a namespace
Pavel Emelyanov
xemul at parallels.com
Mon Aug 3 07:20:21 PDT 2015
On 07/31/2015 05:25 PM, Hui Kang wrote:
> Thanks for pointing out this option. I tested it to checkpoint and restore my program. It seems that dumping is successful, but the restore fails. The detailed log message is as follows
>
> veth100: the link in the host''s namespace
> veth101: the link in the child process''s namespace
>
> # criu dump -t 3737 -vvvv --veth-pair veth101=veth100 -j
>
> ...
> (00.043143) Dumping pstree (pid: 3737)
> (00.092334) Writing stats
> (00.092545) Dumping finished successfully
>
>
> # criu restore -vvvv --veth-pair veth101=veth100
> (00.043539) 1: Error (tty.c:333): tty: Found slave peer index 2 without correspond master peer
The -j option should be used on restore too.
More information about the CRIU
mailing list