[Bug 1729034] Re: don't short-circuit update-grub kernel postinst hook in containers
Steve Langasek
steve.langasek at canonical.com
Tue Oct 31 16:58:18 UTC 2017
prelim feedback is that update-grub does still fail in a lxd container
with a stock setup; so we will need to work around this in livecd-rootfs
instead.
** Package changed: grub2 (Ubuntu) => livecd-rootfs (Ubuntu)
--
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/1729034
Title:
don't short-circuit update-grub kernel postinst hook in containers
Status in livecd-rootfs package in Ubuntu:
Fix Committed
Status in livecd-rootfs source package in Xenial:
New
Bug description:
LP: #1060404 was addressed by making the update-grub kernel postinst
hook a no-op when running in containers.
We now do all of our livefs builds in containers in Launchpad; this
means livefses no longer get a grub config automatically generated
with the correct contents when installing a kernel in the target, as
they did previously.
The change for LP: #1060404 was described by Colin as a "temporary
fix".
We know that update-grub itself now succeeds in containers, because we
have several points in livefs builds where we are invoking it directly
and it does what we expect.
We should check that running update-grub in a stock lxd container
works as expected, and that this isn't due to some sort of launchpad
sauce. Provided it does work, we should remove the container check
from the kernel postinst hook.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1729034/+subscriptions
More information about the foundations-bugs
mailing list