mountall upgrade fails to install within lucid lxc container

Bug #892892 reported by Robert Collins
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Unpacking replacement mountall ...
dpkg: error processing /var/cache/apt/archives/mountall_2.15.3_i386.deb (--unpack):
 unable to make backup link of `./lib/init/fstab' before installing new version: Invalid cross-device link

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

Thanks for reporting this bug.

The reason for this is that lxcguest bind-mounts a custom fstab over /lib/init/fstab when a container is booted. For the precise cycle, we intend to fix mountall so that we'll no longer need that hack. Once that's done, mountall upgrades will be able to proceed.

In the meantime, a workaround might be to umount /lib/init/fstab during a late stage of container boot, since it is only needed when mountall first starts. However, it's probable better to spend our time getting rid of lxcguest to really fix this bug.

Changed in lxc (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

As soon as a few changes hit upstart, we will get rid of lxcguest, which will close this bug.

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

lxcguest has been removed.

Changed in lxc (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Chad Miller (cmiller) wrote :

The remaining part of the fix appears to be to remove "lxcguest" manually from your existing lxc guest.

Revision history for this message
Stéphane Graber (stgraber) wrote :

The new upstart conflicts with lxcguest, so lxcguest is automatically removed from the Precise containers.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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