<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Mar 14, 2014 at 11:30 AM, Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@ubuntu.com" target="_blank">serge.hallyn@ubuntu.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
The path specified with -P is the path *under* which containers sit.<div class=""><br></div></blockquote><div><br></div><div>Ah ha. Of course. Thank you!</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="">Have you tried the buxybox template?</div></blockquote><div><br></div><div>Yes, but this happens during creation in debian wheezy:</div><div><br></div><div>
<p class=""> # lxc-create -t busybox -n test -l DEBUG -o /tmp/lxc.log<br> warning : busybox is not statically linked.<br> warning : The template script may not correctly<br> warning : setup the container environment.<br>
chmod: cannot access `/var/lib/lxc/test/rootfs/bin/passwd': No such file or directory<br> setting root password to "root"<br> Failed to change root password</p></div><div>I have not mucked about with the lxc-busybox template, so I'm not</div>
<div>sure why it wouldn't work correctly out-of-the-box.</div><div><br></div><div>I definitely have the busybox binary in the PATH.</div><div><br></div><div>
<p class=""> # ls -la /bin/busybox<br> -rwxr-xr-x. 1 root root 697656 Sep 20 2012 /bin/busybox</p><p class="">Anyway, I have been unable to confirm one way or another whether<br>the busybox template can be suitably used within a 10MB container.</p>
<p class="">Thanks again for your assistance with this, Serge.</p><p class=""><br>-Nels</p></div></div></div></div>