[lxc-devel] Fedora20 container doesn't start

Michael H. Warfield mhw at WittsEnd.com
Sat Feb 15 17:31:44 UTC 2014


On Sat, 2014-02-15 at 17:55 +0100, Harald Dunkel wrote:
> Hi folks,

> I tried the fedora template, but it seems the generated
> image (Fedora 19 or 20) doesn't start. lxc-start returns
> immediately without any message on stderr. Attached is the
> debug log file for Fedora 20.

> lxc is rc2 of this morning. Host is Debian (sid) with kernel
> 3.13.3. Creating and booting a Debian container worked without
> problems.

> Please mail if I can help to track this down.

Wow...  I'm running multiple F19 and F20 containers on an F19 host and
an F20 host, some of whom have been in production for a month (F19) or a
month (F20).  I don't have any Debian hosts.

Looking at your logs, everything looks smooth in setup, including
setting up a devtmpfs bind mount under /dev/.lxc/ so the initial stuff
all looks good.  It seems to be going back around the time it's trying
to run /sbin/init in the container but that's immediately following a
failure to open some directory (looks like THAT warning message could
use some love and care to add WHAT directory is not being opened).

I'm not sure what's gone wrong here but it almost looks like the
template didn't build the container correctly.  My next action would be
to chroot into the container and poke around the file system to see if
things like /sbin/init exist and point to systemd like they should.

> Regards
> Harri

Regards,
Mike
-- 
Michael H. Warfield (AI4NB) | (770) 978-7061 |  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!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 465 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140215/0d2ac616/attachment.pgp>


More information about the lxc-devel mailing list