[Bug 1294284] [NEW] LXC Ubuntu containers do not start in Ubuntu 14.04

Juho Lehto keeperb5 at outlook.com
Tue Mar 18 18:47:58 UTC 2014


Public bug reported:

I have a testing server which I installed Ubuntu 13.10 and then upgraded
to Ubuntu 14.04 beta using do-release-upgrade -d. I do not have the
option to create clean install with 14.04 directly as hosting provider
does not offer it yet (for obvious reasons).

Anyhow, after installing lxc and creating a new Ubuntu container using
lxc-create -t ubuntu -n ubuntu I tried to start it using lxc-start -n
ubuntu.

I receive lots of errors and it never reaches login prompt. I have to
stop the server from another shell session using lxc-stop -n ubuntu.
Combined output of start and stop below.

<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<3>init: Error while reading from descriptor: Bad file descriptor
<3>init: Error while reading from descriptor: Bad file descriptor
<4>init: hostname main process (4) terminated with status 6
<4>init: plymouth-ready (startup) main process (6) terminated with status 6
<4>init: plymouth main process (8) terminated with status 6
<4>init: hwclock main process (10) terminated with status 6
<4>init: ureadahead main process (12) terminated with status 6
<4>init: startpar-bridge (hostname--started) main process (14) terminated with status 6
<4>init: startpar-bridge (plymouth-ready-startup-started) main process (16) terminated with status 6
<4>init: startpar-bridge (hwclock--started) main process (18) terminated with status 6
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<3>init: Error while reading from descriptor: Bad file descriptor
<4>init: mountall main process (20) terminated with status 6
<4>init: startpar-bridge (hostname--stopped) main process (22) terminated with status 6
<4>init: startpar-bridge (plymouth-ready-startup-stopped) main process (24) terminated with status 6
<4>init: startpar-bridge (plymouth--stopped) main process (26) terminated with status 6
<4>init: startpar-bridge (hwclock--stopped) main process (28) terminated with status 6
<4>init: startpar-bridge (ureadahead--stopped) main process (30) terminated with status 6
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<4>init: mountall post-stop process (32) terminated with status 6
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<3>init: Error while reading from descriptor: Bad file descriptor
<4>init: startpar-bridge (mountall--stopped) main process (34) terminated with status 6
<4>init: console-setup main process (36) terminated with status 6
<4>init: plymouth-stop pre-start process (38) terminated with status 6
<4>init: startpar-bridge (console-setup--started) main process (40) terminated with status 6
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<3>init: Error while reading from descriptor: Bad file descriptor
<4>init: mountall-shell main process (42) terminated with status 6
<4>init: startpar-bridge (mountall-shell--started) main process (44) terminated with status 6
<4>init: startpar-bridge (console-setup--stopped) main process (46) terminated with status 6
<4>init: startpar-bridge (plymouth-stop--stopped) main process (48) terminated with status 6
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<3>init: Error while reading from descriptor: Bad file descriptor
<4>init: mountall-shell post-stop process (50) terminated with status 6
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<4>init: startpar-bridge (mountall-shell--stopped) main process (52) terminated with status 6
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<4>init: shutdown main process (54) terminated with status 6
<4>init: startpar-bridge (shutdown--started) main process (56) terminated with status 6
<2>init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
<2>init: Caught abort, core dumped
<4>init: startpar-bridge (shutdown--stopped) main process (58) terminated with status 6


Then I tried to create another container using lxc-create -t debian-n
debian, which progresses to login as you would expect. Output below.

Mount point '/dev/tty3' does not exist. Skipping mount. ... (warning).
Mount point '/dev/tty4' does not exist. Skipping mount. ... (warning).
Mount point '/dev/ptmx' does not exist. Skipping mount. ... (warning).
Activating lvm and md swap...done.
Checking file systems...fsck from util-linux 2.20.1
done.
Mounting local filesystems...done.
/etc/init.d/mountall.sh: 59: kill: Illegal number: 4 1
Activating swapfile swap...done.
Cleaning up temporary files....
Setting kernel variables ...done.
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:16:3e:d5:9b:3f
Sending on   LPF/eth0/00:16:3e:d5:9b:3f
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 10.0.3.1
DHCPACK from 10.0.3.1
bound to 10.0.3.46 -- renewal in 1545 seconds.
done.
Cleaning up temporary files....
INIT: Entering runlevel: 3


Last I tried creating third Ubuntu container with debootstrap
--include=lxc --arch=amd64 trusty rootfs that resulted with same errors
as the first container and it never gets to login either.

Does anyone have a good guess as to what's wrong? All containers were
starting unchanged, no modifications were made to their configs prior to
starting.

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1294284

Title:
  LXC Ubuntu containers do not start in Ubuntu 14.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1294284/+subscriptions



More information about the Ubuntu-server-bugs mailing list