[CRIU] external mountpoint issue for docker

Bing X xiebingbing at gmail.com
Tue Jun 3 07:31:35 PDT 2014


I didn't get dump.log under /dump dir, based on the screen output, it fails
at run_ns.sh. so the unshare is unsuccessful.

I just wondered if I wrongly modified the root (should be bind, pivotroot,
and unshare). I saw that the sample scripts (run.sh, run_ns.sh) assumes the
current dir is the root should be operated, so I changed it to my docker
root dir (you can see its real dir from mountinfo).

Am I wrong on this?

Sorry for all these tedious work and thanks a lot!

Bing




On Tue, Jun 3, 2014 at 10:20 AM, Pavel Emelyanov <xemul at parallels.com>
wrote:

> On 06/02/2014 07:53 PM, Bing X wrote:
> > Hi, I'm modifying scripts under test/mounts/ext for my docker container
> dump.
> >
> >  But always failed as can't unshared ns.
>
> Please show the dump logs collected with -v4 option.
>
> > I attached my changed run.sh, run_ns.sh, run_wait.sh and
> /proc/self/mountinfo, please help me take a look on which part is incorrect.
> >
> > The following is the results of ps -axf
> >  2537 ?        Ss     0:00 /bin/sh -e /proc/self/fd/9
> >  2539 ?        Sl     0:14  \_ /usr/bin/docker.io <http://docker.io> -d
> >  6010 ?        Ss     0:00      \_ /bin/sh -c /usr/sbin/sshd -D
> >  6043 ?        S      0:00          \_ /usr/sbin/sshd -D
> >
> >
> >
> >
> > --
> > Thanks
> > Bing
> >
> >
> > _______________________________________________
> > CRIU mailing list
> > CRIU at openvz.org
> > https://lists.openvz.org/mailman/listinfo/criu
> >
>
>
>


-- 
Thanks
Bing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140603/4a9877b9/attachment.html>


More information about the CRIU mailing list