[Bug 1060404] Re: update-grub runs and fails in containers
Clint Byrum
clint at fewbar.com
Fri Oct 5 22:32:51 UTC 2012
** Also affects: grub2 (Ubuntu Precise)
Importance: Undecided
Status: New
** Also affects: upstart (Ubuntu Precise)
Importance: Undecided
Status: New
** Also affects: lxc (Ubuntu Precise)
Importance: Undecided
Status: New
** Changed in: lxc (Ubuntu Precise)
Status: New => Triaged
** Changed in: lxc (Ubuntu Precise)
Importance: Undecided => High
** Changed in: lxc (Ubuntu Precise)
Assignee: (unassigned) => Serge Hallyn (serge-hallyn)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1060404
Title:
update-grub runs and fails in containers
Status in “grub2” package in Ubuntu:
Fix Committed
Status in “lxc” package in Ubuntu:
Fix Released
Status in “upstart” package in Ubuntu:
Invalid
Status in “grub2” source package in Precise:
New
Status in “lxc” source package in Precise:
Triaged
Status in “upstart” source package in Precise:
New
Status in “grub2” source package in Quantal:
Fix Committed
Status in “lxc” source package in Quantal:
Fix Released
Status in “upstart” source package in Quantal:
Invalid
Bug description:
If grub is installed in a container (as happens, for instance, with
the ubuntu-cloud template) then an update of grub or linux-image will
cause update-grub to be run. It tries, finds it can't access the root
device, fails, and causes the update to fail.
It would be better for update-grub to detect that it is in a container
and simply exit 0, so that the apt-get can succeed. I'm attaching a
debdiff which does that.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1060404/+subscriptions
More information about the foundations-bugs
mailing list