<div dir="ltr">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.<div><br></div><div>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). </div>
<div><br></div><div>Am I wrong on this?</div><div><br></div><div>Sorry for all these tedious work and thanks a lot!</div><div><br></div><div>Bing</div><div><div><br></div><div><br></div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Jun 3, 2014 at 10:20 AM, Pavel Emelyanov <span dir="ltr"><<a href="mailto:xemul@parallels.com" target="_blank">xemul@parallels.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 06/02/2014 07:53 PM, Bing X wrote:<br>
> Hi, I'm modifying scripts under test/mounts/ext for my docker container dump.<br>
><br>
> But always failed as can't unshared ns.<br>
<br>
</div>Please show the dump logs collected with -v4 option.<br>
<div class=""><br>
> 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.<br>
><br>
> The following is the results of ps -axf<br>
> 2537 ? Ss 0:00 /bin/sh -e /proc/self/fd/9<br>
</div>> 2539 ? Sl 0:14 \_ /usr/bin/<a href="http://docker.io" target="_blank">docker.io</a> <<a href="http://docker.io" target="_blank">http://docker.io</a>> -d<br>
<div class="">> 6010 ? Ss 0:00 \_ /bin/sh -c /usr/sbin/sshd -D<br>
> 6043 ? S 0:00 \_ /usr/sbin/sshd -D<br>
><br>
><br>
><br>
><br>
> --<br>
> Thanks<br>
> Bing<br>
><br>
><br>
</div>> _______________________________________________<br>
> CRIU mailing list<br>
> <a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a><br>
> <a href="https://lists.openvz.org/mailman/listinfo/criu" target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a><br>
><br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Thanks</div><div>Bing</div>
</div>