[CRIU] PID mismatch problem
Cyrill Gorcunov
gorcunov at gmail.com
Tue Dec 22 02:42:23 PST 2015
On Tue, Dec 22, 2015 at 01:31:05PM +0300, Pavel Emelyanov wrote:
> On 12/22/2015 11:48 AM, Cyrill Gorcunov wrote:
> > On Tue, Dec 22, 2015 at 09:16:54AM +0100, Federico Reghenzani wrote:
> > ...
> >>
> >> Btw, maybe you would be able to start restore under the strace?
> >> Something
> >> like "strace -f -o /log.txt -s 512 criu restore ..." and show us the
> >> /log.txt?
> >> If run under criu service, then the service itself might be started with
> >> strace if i'm not missing something obvious.
> >>
> >> Attached!
> >
> > Frederico, you're running restore on the live systems without use any of
> > namespaces, for sure without them there is no reliable way to guarantee
> > the PIDs match on restore. Have you been considering running your application
> > in own at lest PID namespace? (take a look on unshare(1) manual). Just
> > found that Pavel already mentioned this concern in email earlier.
>
> Cyrill, but what about tty problem Federico pointed out?
Without taking look into the dumps it's hard to say. Federico, do you
still have the images when failure on tty layer happened?
What is for sure is that for restoring on live system without creating
own devpts filesystem -j option is a must.
Cyrill
More information about the CRIU
mailing list