[CRIU] criu-1.1-rc1 segfaults on fedora 20 x86_64

Pavel Emelyanov xemul at parallels.com
Sun Jan 5 12:53:33 PST 2014


On 01/06/2014 12:33 AM, Neal Becker wrote:
> I rebooted to make sure everything started cleanly.  restore (as non-root) still hangs, but here's restore log:
> 
> (00.000599) TCP queue memory limits are 2097152:3145728
> (00.000994) cpu: fpu:1 fxsr:1 xsave:0
> (00.001298) vdso: Parsing at 7fffcddfe000 7fffcde00000
> (00.001322) vdso: Base address ffffffffff700000
> (00.001423) Reading image tree
> (00.001517) Migrating process tree (GID 1962->2001 SID 1729->1729)
> (00.001543) Will restore in 0 namespaces
> (00.001557) NS mask to use 0
> (00.001587) Collecting 41/21 (flags 0)
> (00.001622)  `- ... done
> (00.001750) Forking task with 1962 pid (flags 0x0)
> (00.001800) Error (include/util.h:51): Can't write img file: Operation not permitted

Ah, I see. This is an attempt to create task with desired PID. This is done
by altering sysctl called kernel.ns_last_pid and calling fork(). The write
into sysctl fails, as it's only allowed to root.

I will check why error is not propagated properly, thanks.

> (00.001849) Wait until namespaces are created

Thanks,
Pavel


More information about the CRIU mailing list