[Lxc-users] error starting lxc containers
Ramez Hanna
rhanna at informatiq.org
Tue Jan 22 07:42:36 UTC 2013
On Sun, Jan 20, 2013 at 1:27 AM, Michael H. Warfield <mhw at wittsend.com>wrote:
> On Sat, 2013-01-19 at 23:33 +0200, Ramez Hanna wrote:
> > host: fedora 17
> > kernel: 3.6.11-5.fc17.x86_64
> > lxc: 0.9 alpha2
> > systemd: systemd-44-23.fc17.x86_64
> > selinux is disabled
>
> I have a Fedora 17 host (and several other hosts as well as Fedora 18
> for testing)... The latest update to systemd broke lxc due to the
> pivot_root problem with their use of the MS_SHARED mount attribute that
> has been under active discussion for the last couple of weeks. No, it
> is not functional under 0.9.0 alpha2. It is, more or less, fixed under
> current staging (fixed with a lot of uglyness that we're trying to
> address).
>
> Your errors reported below don't seem to exactly correspond to the
> errors I would expect but, I would expect that, if you had recently
> upgraded that Fedora 17 host to the latest systemd, you are going to
> fail, period. Most likely, I would expect you to fail with a
> "pivot_root" failure but anything is possible. It's broken and we know
> it.
>
> > lxc-start -n build02
> > build02 is a wheezy container built with the debina template was working
> > fine both kernel and systemd were upgraded (can't tell which one broke
> it)
>
> Most likely, it's the systemd upgrade that caused the failure. Fedora
> 17 with the latest systemd from fedora-upgrades has broken lxc and even
> 0.9.0 alpha2 does not fix it. You have to use staging from git and
> build your own.
>
> Regards,
> Mike
>
> > error is
> >
> > lxc-start 1358593239.324 INFO lxc_conf - cgroup has been setup
> > lxc-start 1358593239.324 INFO lxc_conf - console has been setup
> > lxc-start 1358593239.325 ERROR lxc_conf - Operation not
> permitted
> > - error creating /usr/lib64/lxc/rootfs/dev/tty1
> >
> > lxc-start 1358593239.329 ERROR lxc_conf - Operation not
> permitted
> > - error creating /usr/lib64/lxc/rootfs/dev/tty2
> >
> > lxc-start 1358593239.330 ERROR lxc_conf - Operation not
> permitted
> > - error creating /usr/lib64/lxc/rootfs/dev/tty3
> >
> > lxc-start 1358593239.332 ERROR lxc_conf - Operation not
> permitted
> > - error creating /usr/lib64/lxc/rootfs/dev/tty4
> >
> > lxc-start 1358593239.334 INFO lxc_conf - 4 tty(s) has been
> setup
> > lxc-start 1358593239.334 DEBUG lxc_conf - mountpoint for old
> > rootfs is '/usr/lib64/lxc/rootfs/lxc_putold'
> > lxc-start 1358593239.334 ERROR lxc_conf - Invalid argument -
> > pivot_root syscall failed
> > lxc-start 1358593239.336 ERROR lxc_conf - failed to setup pivot
> > root
> > lxc-start 1358593239.337 ERROR lxc_conf - failed to set rootfs
> for
> > 'f17'
> > lxc-start 1358593239.338 ERROR lxc_start - failed to setup the
> > container
> > lxc-start 1358593239.339 ERROR lxc_sync - invalid sequence
> number
> > 1. expected 2
> > lxc-start 1358593239.340 ERROR lxc_start - failed to spawn 'f17'
> >
> > any pointers to where this comes from?
> >
> > --
> > BR
> > RH
> > http://informatiq.org
> >
> >
> ------------------------------------------------------------------------------
> > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> > MVPs and experts. SALE $99.99 this month only -- learn more at:
> > http://p.sf.net/sfu/learnmore_122912
> > _______________________________________________ Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>
> --
> Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
> /\/\|=mhw=|\/\/ | (678) 463-0932 |
> http://www.wittsend.com/mhw/
> NIC whois: MHW9 | An optimist believes we live in the best of
> all
> PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
>
ouch that stings.
I'll be testing staging then
--
BR
RH
http://informatiq.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130122/2ddb221d/attachment.html>
More information about the lxc-users
mailing list