Latest update causes 30 sec. menu delay timeout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
High
|
Steve Langasek | ||
Bionic |
Fix Released
|
High
|
Unassigned | ||
Cosmic |
Fix Released
|
High
|
Unassigned | ||
grub2-signed (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[SRU Justification]
There is a behavior regression on non-EFI systems with the latest SRU of grub2 which causes unnecessary boot delays.
[Test case]
1. Install a system using BIOS mode with /boot on LVM.
2. Reboot and verify that the boot menu is shown for 30 seconds at boot.
3. Install grub* from -proposed.
4. Reboot and verify that the boot menu is not shown.
5. Install a system using UEFI mode with /boot on LVM.
6. Reboot and verify that the boot menu is shown for 30 second at boot.
7. Install grub* from -proposed.
8. Reboot and verify that the boot menu is still shown.
[Regression potential]
The test case is sufficient to verify all possible paths work correctly after the SRU.
KDEneon LTS user edition 5.12, Release 18.04
grub-common 2.02-2ubuntu8.10 from Ubuntu updates
Since latest update near the end of Jan. 2019 (29th?), grub menu has 30 second delay every reboot as though recordfail is set. It did not do this before the update.
After messing with grubenv and recordfails settings, I found this paragraph in 00_header in 18.04 that is not in 16.04:
if lsefi; then
set timeout=30
if [ x$feature_
set timeout_style=menu
fi
fi
Note "timeout=30" which is the same as the recordfail timeout. As a test, I edited /boot/grub/grub.cfg and changed the 30 to 17 and sure enough, that's the source of the timeout.
Here's the paragraph from 00_header:
if lsefi; then set timeout=
if [ x\$feature_
set timeout_style=menu
fi
fi
One odd thing is the 00_header file is from Jan 9th but this bug has just appeared so it must be related to grub-common not the the header file.
tags: | added: regression-update |
description: | updated |
Changed in grub2 (Ubuntu Bionic): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in grub2 (Ubuntu Cosmic): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in grub2-signed (Ubuntu): | |
status: | New → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.