[Bug 1911239] [NEW] grub waits 30 sec on every boot
Bernd Edlinger
1911239 at bugs.launchpad.net
Tue Jan 12 18:38:56 UTC 2021
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
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1911239
Title:
grub waits 30 sec on every boot
Status in grub2 package in Ubuntu:
New
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1911239/+subscriptions
More information about the foundations-bugs
mailing list