Public bug reported:

grub-common 2.04-1ubuntu26.7 installs two handlers which run in
parallel:

/lib/systemd/system/grub-initrd-fallback.service
which does:
ExecStart=/usr/bin/grub-editenv /boot/grub/grubenv unset initrdfail
ExecStart=/usr/bin/grub-editenv /boot/grub/grubenv unset prev_entry

and /etc/init.d/grub-common
which does:
grub-editenv /boot/grub/grubenv unset recordfail

But since both services are executed at exactly the same time after
a successful boot, the grubenv command fails to update the
file /boot/grub/grubenv due to overwriting each other.
In the end the recordfail environment stays set and the boot screen
is displayed for 30 seconds on each boot.

My workaround is renaming
/lib/systemd/system/grub-initrd-fallback.service
to
/lib/systemd/system/grub-initrd-fallback.service.bak

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  grub waits 30 sec on every boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1911239/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to