[Bug 564853] Re: Spurious conffile prompts for /etc/default/grub
Launchpad Bug Tracker
564853 at bugs.launchpad.net
Tue Apr 2 16:14:12 UTC 2019
This bug was fixed in the package grub2 - 2.02+dfsg1-5ubuntu8.3
---------------
grub2 (2.02+dfsg1-5ubuntu8.3) cosmic; urgency=medium
* debian/build-efi-images: add HTTP to generated UEFI images. (LP: #1787630)
* debian/config.in, debian/grub-common.dirs, debian/postinst.in,
debian/postrm.in: cherry-pick Colin's changes to ucf handling from
2.02+dfsg1-11 to avoid unnecessarily prompting about grub.cfg changes.
(LP: #564853)
-- Mathieu Trudel-Lapierre <cyphermox at ubuntu.com> Mon, 18 Mar 2019
12:01:26 -0400
** Changed in: grub2 (Ubuntu Cosmic)
Status: Fix Committed => Fix Released
** Changed in: grub2-signed (Ubuntu Cosmic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2-signed in Ubuntu.
https://bugs.launchpad.net/bugs/564853
Title:
Spurious conffile prompts for /etc/default/grub
Status in grub2 package in Ubuntu:
Fix Released
Status in grub2-signed package in Ubuntu:
Fix Released
Status in grub2 source package in Bionic:
Fix Committed
Status in grub2-signed source package in Bionic:
Fix Committed
Status in grub2 source package in Cosmic:
Fix Released
Status in grub2-signed source package in Cosmic:
Fix Released
Status in grub2 package in Debian:
Fix Released
Bug description:
[Impact]
All users of Ubuntu, especially on updates of the grub packages. (Grub is used nearly everywhere to boot)
[Test case]
== Upgrade prompting ==
0) Install Ubuntu
1) Modify /usr/share/grub/default/grub options
2) Run 'sudo apt install --reinstall grub-pc ((or grub-efi-amd64))
Verify that the user IS prompted to approve grub.cfg changes due to
changes in the template coming from the process.
== User-specified changes ==
0) Install Ubuntu
1) Modify /etc/default/grub.cfg options
2) Update grub to the new package
Verify that the user is not prompted to approve grub.cfg changes
unless the grub2 package unless the grub packages have changed the
contents of the default grub.cfg.
== Post-deployment upgrades on MAAS-controlled system ==
0) Deploy a system using MAAS
1) Update grub to the new package
Verify that the user is not prompted to approve grub.cfg changes
unless the grub2 package unless the grub packages have changed the
contents of the default grub.cfg.
[Regression potential]
Pay attention to prompting behavior on grub updates as well as any failure to update the grub* packages. Prompting should be limited to the cases where the grub2 source package has changed the contents for the default provided grub.cfg; and on MAAS-controlled systems, the local modifications have changed in some way from the original copy of grub2 installed on the system.
---
Binary package hint: grub-pc
This concerns grub-pc 1.98-1ubuntu5 in Lucid beta1 (upgrading from
1.98-1ubuntu4).
I have a locally modified /etc/default/grub file. When I upgraded to
this version of grub-pc, I got the "A new version of configuration
file /etc/default/grub is available, but the version installed
currently has been locally modified. What do you want to do about
modified configuration file grub?" question.
The problem is, when I look at the diff, it just shows the differences
between my file, and the way it was originally. In other words, the
upgraded package does not include any updates to this file; its
"pristine" copy of /etc/default/grub is the same as the previous
version's. So I shouldn't even be getting a conffile prompt in the
first place---as far as the administrator is concerned, nothing has
changed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/564853/+subscriptions
More information about the foundations-bugs
mailing list