mountall upgrade fails to install within lucid lxc container
Bug #892892 reported by
Robert Collins
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/
unable to make backup link of `./lib/init/fstab' before installing new version: Invalid cross-device link
To post a comment you must log in.
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.