<div dir="ltr">Just to confirm, Serge, is this the patch?<div><br></div><div><a href="http://lists.linuxfoundation.org/pipermail/containers/2013-November/033674.html">http://lists.linuxfoundation.org/pipermail/containers/2013-November/033674.html</a><br>
</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 24, 2014 at 10:07 PM, Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@ubuntu.com" target="_blank">serge.hallyn@ubuntu.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="HOEnZb"><div class="h5">Quoting Nels Nelson (<a href="mailto:nels.n.nelson@gmail.com">nels.n.nelson@gmail.com</a>):<br>
> I've managed to create and start a container with a custom template, here:<br>
><br>
> <a href="https://gist.github.com/nelsnelson/9746073" target="_blank">https://gist.github.com/nelsnelson/9746073</a><br>
><br>
><br>
> However, attempting to attach to that container results in this error:<br>
><br>
> # lxc-attach -n test -- echo hello world<br>
> lxc_container: failed to clone(0x8000): Invalid argument<br>
> lxc_container: Invalid argument - failed to create subprocess<br>
><br>
><br>
> What could be going wrong here?<br>
><br>
> I'm using lxc version 1.0.0. I can try again using 1.0.1, if that is<br>
> recommended based on a known bug in 1.0.0.<br>
><br>
> One more thing, as of November 8th 2013, user TenForward appears to<br>
> believe this has something to do with a bug in linux kernel 3.12.<br>
><br>
> <a href="http://d.hatena.ne.jp/defiant/searchdiary?word=*[Linux]&of=5" target="_blank">http://d.hatena.ne.jp/defiant/searchdiary?word=*[Linux]&of=5</a><br>
><br>
> However, I've not seen any information since.<br>
<br>
</div></div>Yes 0x8000 is CLONE_PARENT so I assume your kernel needs<br>
commit 1f7f4dde: fork: Allow CLONE_PARENT after setns(CLONE_NEWPID)<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
</blockquote></div><br></div>