<div dir="ltr">Hi Pavel -<div><br></div><div>I tried your python patch. criu checkpoint and restore worked. criu-ns.py checkpoint worked, criu-ns.py restore failed. Then I did criu restore and it worked.</div><div><br></div><div>I have attached the session dump with log from failed criu restore.</div><div><br></div><div>Sorry it took so long to test. I was in docker hell...</div><div>Dave</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 9, 2016 at 8:44 AM, Pavel Emelyanov <span dir="ltr"><<a href="mailto:xemul@virtuozzo.com" target="_blank">xemul@virtuozzo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 08/08/2016 10:53 PM, David Turvene wrote:<br>
> Hi Pavel -<br>
><br>
> I can't seem to find crns or crns.py in the criu-dev branch. I searched for the commit hash and searched the git log.<br>
<br>
</span>Well, yes, that's because the patch is still in the mailing list :)<br>
<span class=""><br>
> Additionally, I'm having trouble mounting the psuedo-terminals in a namespace using bash as the init task.<br>
> This causes checkpoint to fail with:<br>
><br>
> (00.034723) Error (files-reg.c:1154): Can't lookup mount=19 for fd=1 path=/dev/pts/0<br>
<br>
</span>Yup, this can be <a href="https://criu.org/External_bind_mounts" rel="noreferrer" target="_blank">https://criu.org/External_<wbr>bind_mounts</a><br>
<br>
><br>
> Dave<br>
<span class="">><br>
> On Thu, Aug 4, 2016 at 9:57 AM, Pavel Emelyanov <<a href="mailto:xemul@virtuozzo.com">xemul@virtuozzo.com</a> <mailto:<a href="mailto:xemul@virtuozzo.com">xemul@virtuozzo.com</a>>> wrote:<br>
><br>
> David, I've recently sent another approach for doing the --unshare-d<br>
> restore (and dump the process from this pseudo-context):<br>
</span>> <a href="https://lists.openvz.org/pipermail/criu/2016-August/030690.html" rel="noreferrer" target="_blank">https://lists.openvz.org/<wbr>pipermail/criu/2016-August/<wbr>030690.html</a> <<a href="https://lists.openvz.org/pipermail/criu/2016-August/030690.html" rel="noreferrer" target="_blank">https://lists.openvz.org/<wbr>pipermail/criu/2016-August/<wbr>030690.html</a>><br>
<div class="HOEnZb"><div class="h5">><br>
> If you could check whether this works for you and report back, this<br>
> would be really helpful.<br>
><br>
> -- Pavel<br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div>