[CRIU] PID mismatch problem

Pavel Emelyanov xemul at parallels.com
Tue Dec 22 02:31:05 PST 2015


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?

-- Pavel



More information about the CRIU mailing list