[CRIU] PID mismatch problem

Federico Reghenzani federico1.reghenzani at mail.polimi.it
Mon Dec 21 06:10:39 PST 2015


I've attached the criu log for dump and restore when it fails for PID.
Today I noticed that the tty problem happens only if I tried to restore
manually via ssh (so it's not really a problem for us).

@Pavel how can I add --restore-sibling and -f via C API?



Cheers,
__
Federico Reghenzani
M.Eng. Student @ Politecnico di Milano
Computer Science and Engineering



2015-12-17 14:09 GMT+01:00 Cyrill Gorcunov <gorcunov at gmail.com>:

> On Thu, Dec 17, 2015 at 03:35:56PM +0300, Pavel Emelyanov wrote:
> > >     > other times tells me:
> > >     >
> > >     >     /  5485: Error (tty.c:531): tty: Unable to open dev/ptmx
> with specified index 0/
> > >     >     /  5485: Error (tty.c:917): tty: Can't open a (index 0): Bad
> file descriptor/
> > >
> > >     Did you use the -j option on dump? If so, then it's likely the
> lack of
> > >     same -j option for restore.
> > >
> > >
> > > I'm neither using -j for dump nor for restore. I tried also adding
> that but it seems it changes
> > > nothing. (I'm using the C API, so the criu_set_shell_job)
> >
> > Hm... Then it's some tty issue. Cyrill, would you help us, please?
> > BTW, Frederico, feel free to file an issues about it on
> github.com/xemul/criu
> > if you find it easier to track issue progress out there.
>
> Mind to run restore with -v4 option, or as via RPC criu_local_set_log_level
> to 4, and show the restore.log?
>
> >
> > >     >     /Error (files-reg.c:445):  `- XFail
> [/dev/shm/open_mpi.0000.cr.1.ghost] ghost: No such file or directory/
> > >
> > >     MPI? Are you trying to C/R mpi jobs?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20151221/bf0522e9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: criu_dump.log
Type: text/x-log
Size: 100667 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20151221/bf0522e9/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: criu_restore.log
Type: text/x-log
Size: 3990 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20151221/bf0522e9/attachment-0003.bin>


More information about the CRIU mailing list