lxcguest is not installed by natty template

Bug #745907 reported by Serge Hallyn
8
This bug affects 1 person
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/apt/archives/mountall*.deb

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.

Tags: server-nrs
Changed in lxc (Ubuntu):
importance: Undecided → High
assignee: nobody → Serge Hallyn (serge-hallyn)
status: New → In Progress
tags: added: server-nrs
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in lxc (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
halcyonCorsair (elliot-pahl-gmail) wrote :

What would be required to get an lxcguest package for lucid as well? (Important because lucid is an LTS release...)

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

I will put a backported lxc package into the ubuntu-virt ppa. https://launchpad.net/~ubuntu-virt/+archive/ppa?field.series_filter=lucid. You can then get the lxcguest package from that for lucid guests on natty hosts. Furthermore, since you now need a backported kernel to use networked containers on lucid hosts, those users may as well use the backported lxc package as well.

(I'll get that posted later today)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.