2020-08-21 16:23:15 |
Brian Turek |
bug |
|
|
added bug |
2020-08-21 17:02:31 |
Julian Andres Klode |
tags |
|
regression-update |
|
2020-08-21 17:03:12 |
Julian Andres Klode |
tags |
regression-update |
regression-update rls-gg-incoming |
|
2020-08-25 01:53:40 |
Launchpad Janitor |
grub2 (Ubuntu): status |
New |
Confirmed |
|
2020-08-25 01:53:56 |
Jason Perrin |
bug |
|
|
added subscriber Jason Perrin |
2020-08-25 18:24:58 |
Dimitri John Ledkov |
bug |
|
|
added subscriber Steve Langasek |
2020-08-27 15:24:35 |
Steve Langasek |
nominated for series |
|
Ubuntu Focal |
|
2020-08-27 15:24:35 |
Steve Langasek |
bug task added |
|
grub2 (Ubuntu Focal) |
|
2020-08-27 15:24:35 |
Steve Langasek |
nominated for series |
|
Ubuntu Xenial |
|
2020-08-27 15:24:35 |
Steve Langasek |
bug task added |
|
grub2 (Ubuntu Xenial) |
|
2020-08-27 15:24:35 |
Steve Langasek |
nominated for series |
|
Ubuntu Groovy |
|
2020-08-27 15:24:35 |
Steve Langasek |
bug task added |
|
grub2 (Ubuntu Groovy) |
|
2020-08-27 15:24:35 |
Steve Langasek |
nominated for series |
|
Ubuntu Trusty |
|
2020-08-27 15:24:35 |
Steve Langasek |
bug task added |
|
grub2 (Ubuntu Trusty) |
|
2020-08-27 15:24:35 |
Steve Langasek |
nominated for series |
|
Ubuntu Bionic |
|
2020-08-27 15:24:35 |
Steve Langasek |
bug task added |
|
grub2 (Ubuntu Bionic) |
|
2020-08-27 15:24:47 |
Steve Langasek |
grub2 (Ubuntu Trusty): importance |
Undecided |
High |
|
2020-08-27 15:24:48 |
Steve Langasek |
grub2 (Ubuntu Xenial): importance |
Undecided |
High |
|
2020-08-27 15:24:50 |
Steve Langasek |
grub2 (Ubuntu Bionic): importance |
Undecided |
High |
|
2020-08-27 15:24:52 |
Steve Langasek |
grub2 (Ubuntu Focal): importance |
Undecided |
High |
|
2020-08-27 15:24:53 |
Steve Langasek |
grub2 (Ubuntu Groovy): importance |
Undecided |
High |
|
2020-08-27 15:24:58 |
Steve Langasek |
tags |
regression-update rls-gg-incoming |
regression-update |
|
2020-09-01 15:08:34 |
Dimitri John Ledkov |
description |
I recently had a RAID-5 disk failure and was greeted by an inoperable grub due to not having installed grub on all the disks. I temporarily fixed this problem by manually running "grub-install" on the other disks in the array and got my system working.
Previously it was advised to run "dpkg-reconfigure grub-pc" and select the relevant disks to ensure that future grub updates installed on all the disks in the array. This command no longer prompts for the install disks due to the changed introduced by https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1889556. In /var/lib/dpkg/info/grub-pc.postinst, the following elif block immediately precedes the elif block that prompts for grub-pc/install_devices and short circuits on all recent grub versions:
elif dpkg --compare-versions "$2" ge 2.04-1ubuntu26; then
# Avoid the possibility of breaking grub on SRU update
# due to ABI change
:
I can confirm this issue is present on 20.04.1 and it appears to be present on 18.04.4 per https://askubuntu.com/questions/1212569/dpkg-reconfigure-grub-pc-no-option-to-select-boot-device |
[Impact]
* dpkg-reconfigure grub-pc no longer reinstalls grub, as it should.
[Test Case]
* Set grub-pc/install_devices to some invalid device that does not exist (i.e. /dev/hda)
* Execute $ sudo dpkg-reconfigure grub-pc
One should expect attempts to grub-instal onto /dev/hda, fail that, and see dialogues asking which devices to install grub-pc onto, and successfully install them.
[Regression Potential]
* We are patching, the recently/newly added postinst condition to skip trying to install grub-install during typical/regular upgrades. Further tighten the conditions there, to still force install grub-install when executing grub-reconfigure to be inline with existing documentation that this is the command to use when one wishes to reinstall grub-pc interactively.
[Other Info]
* Original bug report
I recently had a RAID-5 disk failure and was greeted by an inoperable grub due to not having installed grub on all the disks. I temporarily fixed this problem by manually running "grub-install" on the other disks in the array and got my system working.
Previously it was advised to run "dpkg-reconfigure grub-pc" and select the relevant disks to ensure that future grub updates installed on all the disks in the array. This command no longer prompts for the install disks due to the changed introduced by https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1889556. In /var/lib/dpkg/info/grub-pc.postinst, the following elif block immediately precedes the elif block that prompts for grub-pc/install_devices and short circuits on all recent grub versions:
elif dpkg --compare-versions "$2" ge 2.04-1ubuntu26; then
# Avoid the possibility of breaking grub on SRU update
# due to ABI change
:
I can confirm this issue is present on 20.04.1 and it appears to be present on 18.04.4 per https://askubuntu.com/questions/1212569/dpkg-reconfigure-grub-pc-no-option-to-select-boot-device |
|
2020-09-02 12:32:45 |
Francis Ginther |
tags |
regression-update |
id-5f47d07571fd694b6b92cb34 regression-update |
|
2020-09-02 19:20:54 |
Launchpad Janitor |
grub2 (Ubuntu Groovy): status |
Confirmed |
Fix Released |
|
2020-09-05 21:09:54 |
Launchpad Janitor |
grub2 (Ubuntu Trusty): status |
New |
Confirmed |
|
2020-09-05 21:09:54 |
Launchpad Janitor |
grub2 (Ubuntu Xenial): status |
New |
Confirmed |
|
2020-09-05 21:09:54 |
Launchpad Janitor |
grub2 (Ubuntu Bionic): status |
New |
Confirmed |
|
2020-09-05 21:09:54 |
Launchpad Janitor |
grub2 (Ubuntu Focal): status |
New |
Confirmed |
|
2020-09-08 10:41:11 |
Dimitri John Ledkov |
grub2 (Ubuntu Focal): status |
Confirmed |
In Progress |
|
2020-09-09 20:39:52 |
Steve Langasek |
grub2 (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2020-09-09 20:39:55 |
Steve Langasek |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-09-09 20:39:58 |
Steve Langasek |
bug |
|
|
added subscriber SRU Verification |
2020-09-09 20:40:02 |
Steve Langasek |
tags |
id-5f47d07571fd694b6b92cb34 regression-update |
id-5f47d07571fd694b6b92cb34 regression-update verification-needed verification-needed-focal |
|
2020-09-10 05:17:44 |
Brian Turek |
tags |
id-5f47d07571fd694b6b92cb34 regression-update verification-needed verification-needed-focal |
id-5f47d07571fd694b6b92cb34 regression-update verification-done-focal verification-needed |
|
2020-09-15 10:11:15 |
Dimitri John Ledkov |
tags |
id-5f47d07571fd694b6b92cb34 regression-update verification-done-focal verification-needed |
id-5f47d07571fd694b6b92cb34 regression-update verification-done verification-done-focal |
|
2020-09-16 00:03:36 |
Launchpad Janitor |
grub2 (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2020-09-16 00:03:46 |
Steve Langasek |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2020-10-14 15:48:03 |
Matthieu Clemenceau |
tags |
id-5f47d07571fd694b6b92cb34 regression-update verification-done verification-done-focal |
fr-206 id-5f47d07571fd694b6b92cb34 regression-update verification-done verification-done-focal |
|
2020-10-27 20:10:47 |
Brian Murray |
grub2 (Ubuntu Bionic): status |
Confirmed |
Fix Committed |
|
2020-10-27 20:10:50 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-10-27 20:10:58 |
Brian Murray |
tags |
fr-206 id-5f47d07571fd694b6b92cb34 regression-update verification-done verification-done-focal |
fr-206 id-5f47d07571fd694b6b92cb34 regression-update verification-done-focal verification-needed verification-needed-bionic |
|
2020-11-04 19:34:34 |
Brian Murray |
tags |
fr-206 id-5f47d07571fd694b6b92cb34 regression-update verification-done-focal verification-needed verification-needed-bionic |
fr-206 id-5f47d07571fd694b6b92cb34 regression-update verification-done-bionic verification-done-focal verification-needed |
|
2020-11-12 12:27:57 |
Launchpad Janitor |
grub2 (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|