[CRIU] sshd issue

Pavel Emelyanov xemul at parallels.com
Mon Apr 29 07:48:59 EDT 2013


On 04/26/2013 06:03 AM, delluser224 delluser224 wrote:
> hi,
> 
> i'm a new user and thank you for this wonderful tool !
> 
> I tried a simple loop example, and was able to successfully recreate the demo. Then I tried sshd, and things didnt work..
> 
> I had logged in using ssh and just the session was running. then i tried these commands
> ./crtools dump -x -n pid -n ipc -n net --tcp-established -vvvv -D <mydir> -o dump.logs -t <pid> -l
> that worked ok
> 
> session was paused. then i tried restoring.
> 
> ./crtools restore -x -n pid -n ipc -n net --tcp-established -vvvv -D <mydir> -o dump.logs -t <pid> -l -d
> 
> that didnt work. last lines in dump.logs were
> 
> ------------------------------------------------
> (00.010925)  27889: Pipes:
> (00.010930)  27889:  `- PIPE ID 0x7f9d
> (00.010935)  27889:   `- ID 0x13245d0 0x7pn(00.010939)  27889:    `- FD 7 pid 27889
> (00.010944)  27889:   `- ID 0x13246c0 0xfpn(00.010948)  27889:    `- FD 15 pid 27889
> (00.010953)  27889:     by 0x7
> (00.010958)  27889: tty: Set a control terminal 125 to 28006
> (00.010966)  27889: Requesting for ctl tty 0x125 into service fd
> (00.010971)  27889: Collect fdinfo pid=28006 fd=-1 id=0x             125
> (00.010976)  27889: tty: head type pts id 0x125 index 0 (master 0 sid 28006 pgrp 28059)
> (00.010984)  27889: tty:     `- sibling type ptmx id 0x10 index 0 (master 1 sid 28006 pgrp 28059)
> (00.010991)  27889: Error (sk-unix.c:833): FATAL: Peer 0x7f2b unresolved for 0x82bb

That's strange. Can you show us the logs from dump (the -o dump.logs was used for
restore, so you've overwritten them) and the contents of the unixsk.img file (crtools
show -f <path-to-this-file>)

> (00.011224) Error (cr-restore.c:902): 27889 exited, status=255
> (00.011255) Error (cr-restore.c:1209): Someone can't be restored
> ------------
> 
> any help ? please guide me if i should use other options, or what to look at next, etc.
> 
> thanks
> delluser
> 
> 
> 
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
> 




More information about the CRIU mailing list