lxcguest is not installed by natty template
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
High
|
Serge Hallyn |
Bug Description
Binary package hint: lxc
The natty template does not install lxcguest by default. Rather it manually clears out /lib/init/fstab. This works all right for awhile, but an upgrade or reinstall of the mountall package overwrites that and makes the container not boot.
The solution is to add lxcguest to the list of packages installed by the template, and remove the code in the template which adds a console.conf.
To reproduce, create a container with the template
lxc-create -t natty -f /etc/lxc-basic.conf -n natty
and log in and reinstall mountall
dpkg -i /var/cache/
Then reboot the container. Startup will hang. To verify the fix, create a container, install lxcguest
apt-get install lxcguest
and reinstall mountall. Reboot, now startup succeeds.
Changed in lxc (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
status: | New → In Progress |
tags: | added: server-nrs |
This bug was fixed in the package lxc - 0.7.4-0ubuntu4
---------------
lxc (0.7.4-0ubuntu4) natty; urgency=low
* Add lxcguest to the list of packages installed by the natty template.
(LP: #745907)
* Since lxcguest will be installed, don't install our own console.conf,
and don't clear out /lib/init/fstab.
-- Serge Hallyn <email address hidden> Fri, 01 Apr 2011 08:50:36 -0500