<div dir="ltr">I am reporting that staging works on fedora for debian containers at least haven't yet tested fedora containers<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 22, 2013 at 9:42 AM, Ramez Hanna <span dir="ltr"><<a href="mailto:rhanna@informatiq.org" target="_blank">rhanna@informatiq.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="h5"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jan 20, 2013 at 1:27 AM, Michael H. Warfield <span dir="ltr"><<a href="mailto:mhw@wittsend.com" target="_blank">mhw@wittsend.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Sat, 2013-01-19 at 23:33 +0200, Ramez Hanna wrote:<br>
> host: fedora 17<br>
> kernel: 3.6.11-5.fc17.x86_64<br>
> lxc: 0.9 alpha2<br>
> systemd: systemd-44-23.fc17.x86_64<br>
> selinux is disabled<br>
<br>
</div>I have a Fedora 17 host (and several other hosts as well as Fedora 18<br>
for testing)...  The latest update to systemd broke lxc due to the<br>
pivot_root problem with their use of the MS_SHARED mount attribute that<br>
has been under active discussion for the last couple of weeks.  No, it<br>
is not functional under 0.9.0 alpha2.  It is, more or less, fixed under<br>
current staging (fixed with a lot of uglyness that we're trying to<br>
address).<br>
<br>
Your errors reported below don't seem to exactly correspond to the<br>
errors I would expect but, I would expect that, if you had recently<br>
upgraded that Fedora 17 host to the latest systemd, you are going to<br>
fail, period.  Most likely, I would expect you to fail with a<br>
"pivot_root" failure but anything is possible.  It's broken and we know<br>
it.<br>
<div><br>
> lxc-start -n build02<br>
> build02 is a wheezy container built with the debina template was working<br>
> fine both kernel and systemd were upgraded (can't tell which one broke it)<br>
<br>
</div>Most likely, it's the systemd upgrade that caused the failure.  Fedora<br>
17 with the latest systemd from fedora-upgrades has broken lxc and even<br>
0.9.0 alpha2 does not fix it.  You have to use staging from git and<br>
build your own.<br>
<br>
Regards,<br>
Mike<br>
<div><div><br>
> error is<br>
><br>
>       lxc-start 1358593239.324 INFO     lxc_conf - cgroup has been setup<br>
>       lxc-start 1358593239.324 INFO     lxc_conf - console has been setup<br>
>       lxc-start 1358593239.325 ERROR    lxc_conf - Operation not permitted<br>
> - error creating /usr/lib64/lxc/rootfs/dev/tty1<br>
><br>
>       lxc-start 1358593239.329 ERROR    lxc_conf - Operation not permitted<br>
> - error creating /usr/lib64/lxc/rootfs/dev/tty2<br>
><br>
>       lxc-start 1358593239.330 ERROR    lxc_conf - Operation not permitted<br>
> - error creating /usr/lib64/lxc/rootfs/dev/tty3<br>
><br>
>       lxc-start 1358593239.332 ERROR    lxc_conf - Operation not permitted<br>
> - error creating /usr/lib64/lxc/rootfs/dev/tty4<br>
><br>
>       lxc-start 1358593239.334 INFO     lxc_conf - 4 tty(s) has been setup<br>
>       lxc-start 1358593239.334 DEBUG    lxc_conf - mountpoint for old<br>
> rootfs is '/usr/lib64/lxc/rootfs/lxc_putold'<br>
>       lxc-start 1358593239.334 ERROR    lxc_conf - Invalid argument -<br>
> pivot_root syscall failed<br>
>       lxc-start 1358593239.336 ERROR    lxc_conf - failed to setup pivot<br>
> root<br>
>       lxc-start 1358593239.337 ERROR    lxc_conf - failed to set rootfs for<br>
> 'f17'<br>
>       lxc-start 1358593239.338 ERROR    lxc_start - failed to setup the<br>
> container<br>
>       lxc-start 1358593239.339 ERROR    lxc_sync - invalid sequence number<br>
> 1. expected 2<br>
>       lxc-start 1358593239.340 ERROR    lxc_start - failed to spawn 'f17'<br>
><br>
> any pointers to where this comes from?<br>
><br>
> --<br>
> BR<br>
> RH<br>
> <a href="http://informatiq.org" target="_blank">http://informatiq.org</a><br>
><br>
</div></div>> ------------------------------------------------------------------------------<br>
> Master Visual Studio, SharePoint, SQL, <a href="http://ASP.NET" target="_blank">ASP.NET</a>, C# 2012, HTML5, CSS,<br>
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current<br>
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft<br>
> MVPs and experts. SALE $99.99 this month only -- learn more at:<br>
> <a href="http://p.sf.net/sfu/learnmore_122912" target="_blank">http://p.sf.net/sfu/learnmore_122912</a><br>
> _______________________________________________ Lxc-users mailing list <a href="mailto:Lxc-users@lists.sourceforge.net" target="_blank">Lxc-users@lists.sourceforge.net</a> <a href="https://lists.sourceforge.net/lists/listinfo/lxc-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/lxc-users</a><br>


<span><font color="#888888"><br>
--<br>
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw@WittsEnd.com<br>
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  <a href="http://www.wittsend.com/mhw/" target="_blank">http://www.wittsend.com/mhw/</a><br>
   NIC whois: MHW9          | An optimist believes we live in the best of all<br>
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!<br>
</font></span></blockquote></div><br></div></div></div><div class="gmail_extra">ouch that stings.<br></div><div class="gmail_extra">I'll be testing staging then<br clear="all"></div><div class="im"><div class="gmail_extra">
<br>-- <br><div dir="ltr">
BR<br>RH<br><a href="http://informatiq.org" target="_blank">http://informatiq.org</a><div title="Click to add this picture to your gallery."><a><div style="width:100%;min-height:100%"></div></a></div></div>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">BR<br>RH<br><a href="http://informatiq.org" target="_blank">http://informatiq.org</a><div title="Click to add this picture to your gallery."><a><div style="width:100%;height:100%">
</div></a></div></div>
</div>