lxc on precise is not working with lucid containers (container does not reach runlevel 2)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
High
|
Serge Hallyn | ||
Natty |
Fix Released
|
Undecided
|
Unassigned | ||
Oneiric |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
=======
SRU Justification
1. Impact: any upstart jobs which start on lo being raised will not start
2. Development fix: lxcguest emits the signal pretending that lo was created
3. Stable fix: same as development fix
4. Test case (on precise host):
a. lxc-create -t ubuntu -n test1 -- -r oneiric
b. cat > /var/lib/
description "detect net-device-up IFACE=lo"
start on net-device-up IFACE=lo
EOF
c. lxc-start -n test1
Log in as root:root, and type 'status lxclo'. With the fix, it will say
lxclo is 'start/running'.
5. Regression potential: if this were done wrong, containers could fail to start up right.
=======
On precise with newest packages as of 2012-01-31 1500Z, trying to start an lxc lucid container hangs. Oneric and Precise containers work fine.
$ sudo lxc-start -n lp
init: ureadahead-other main process (31) terminated with status 4
init: console-setup main process (32) terminated with status 1
init: procps main process (33) terminated with status 255
init: ureadahead-other main process (37) terminated with status 4
[HANGS HERE, for at least two minutes]
How I created the container:
$ sudo lxc-create -t ubuntu -n lp -f /etc/lxc/local.conf -- -r lucid -a i686 -b gary
local.conf:
$ cat /etc/lxc/local.conf
lxc.network.
lxc.network.
lxc.network.
/var/lib/
Changed in lxc (Ubuntu): | |
importance: | Undecided → High |
Changed in lxc (Ubuntu): | |
status: | Incomplete → New |
summary: |
- lxc on precise is not working with lucid containers + lxc on precise is not working with lucid containers (container does not + reach runlevel 2) |
Changed in lxc (Ubuntu): | |
assignee: | Stéphane Graber (stgraber) → Serge Hallyn (serge-hallyn) |
status: | Confirmed → Fix Released |
Changed in lxc (Ubuntu): | |
status: | Fix Released → Confirmed |
Changed in lxc (Ubuntu Natty): | |
status: | New → Invalid |
description: | updated |
Hi Gary,
when we've seen this before it has been because the container was waiting for a dhcp response. It has generally been on virbr0, and when virbr0 had stp on.
Can you show what 'brctl show' on the host gives? Do your host logs show any problems with dnsmasq on lxcbr0?