[CRIU] dump error
Pavel Emelyanov
xemul at parallels.com
Sat Jan 4 10:58:31 PST 2014
On 01/04/2014 10:46 PM, Ashish Bijlani wrote:
> PPID PID PGID SID TTY TPGID STAT UID TIME COMMAND
> 105 4322 4322 65 pts/0 4365 S 0 0:00 lxc-start -n container -f l
> 4322 4324 4322 65 pts/0 4365 S 0 0:00 /sbin/init
> 4324 4326 4326 65 pts/0 4365 S 0 0:00 /sbin/ueventd
>
> # criu dump --evasive-devices -n mnt -n ipc -n pid -vvvv -D data -o dump.log -t 4324
>
> (00.468286) sid=0 pgid=0 pid=1
> (00.468453) Error (cr-dump.c:1472): A session leader of 4324(1) is outside of its pid namespace
The container init's session ID is 65, while it should be 4322, iow -- init should
be the session leader. What is the process with PID 64?
That's rather strange, IIRC LXC starts init as session leaders. You can try launch the
container with setsid command or to use the --shell-job option to workaround this situation.
Thanks,
Pavel
More information about the CRIU
mailing list