I can confirm that this bug/issue affected me and with a visible effect.

I observed that straightforward minimal Ubuntu 26.04 LTS installations
on several VM platforms demonstrated  intermittent display of the grub
menu with 30-second timeout.  There was no sign of an actual boot
failure yet the system was reacting like there had been.

Further investigation revealed:
- intermittent failure notification during boot on grub2-common or 
grub-initrd-fallback.  Confirmed by monitoring during boot as well as 
"journalctl -b -0 -p err" output.
- when I observed a grub2-common failure I also noted the grub menu was shown 
for 30 seconds on the next boot.
- digging deeper, I confirmed that recordfail=1 in /boot/grub/grubenv (reported 
by 'grub-editenv list') remained set when the failure was reported.  It cleared 
normally if I unset recordfail manually.

Based on an automated test I observed a ~24% average failure (59/249
tests) where grub2-common would fail and recordfail would remain =1.

Remediation:
Searching Launchpad revealed this issue report and proposed merge.
The After dependency for grub-initrd-fallback.service was manually adjusted 
from unit grub-common.service to unit grub2-common.service.  
The ~250 reboot test was executed again and zero grub2-common failures were 
observed.  This appears to resolve the behaviour described above.

Based on this I feel there I feel there is evidence that grub-initrd-
fallback.service depending on the wrong unit could affect up to 1/4
boots of a simple Ubuntu 26.04 LTS system as described above.  I am
hopeful that, at minimum, this report may help someone else who has also
noticed this behaviour and is searching for a similar report.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2156423

Title:
  Fix grub-initrd-fallback.service order

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/2156423/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to