Bugzilla – Bug 1154783
grub-once is not called on hibernate
Last modified: 2023-05-11 06:48:07 UTC
https://build.opensuse.org/request/show/704131 added a check-setup function into /usr/lib/systemd/system-sleep/grub2.sleep for bug 940457 but it introduced a bug in there that prevented grub-once from being called (because set -e triggered). The fix is trivial: - [ -n "$GRUB_SETUP" ] || return + [ -n "$GRUB_SETUP" ] || return 0 To check for this bug, use journalctl after resume and look for the entries after "grub2.sleep" - in the bad case they report a error 1 and the last printed line is about "preparing boot-loader"
bug 940457 also introduced this bug in SLE-12-SP4 and SLE-15 GA (see comment 15 there)
SUSE-RU-2019:3324-1: An update that has two recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1136970,1154783 CVE References: Sources used: SUSE Linux Enterprise Module for Server Applications 15 (src): grub2-2.02-19.33.1 SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 (src): grub2-2.02-19.33.1 SUSE Linux Enterprise Module for Basesystem 15 (src): grub2-2.02-19.33.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-RU-2019:3332-1: An update that has 6 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1134287,1136086,1136970,1138991,1139345,1154783 CVE References: Sources used: SUSE Linux Enterprise Server 12-SP5 (src): grub2-2.02-12.18.1 SUSE Linux Enterprise Server 12-SP4 (src): grub2-2.02-12.18.1 SUSE Linux Enterprise Desktop 12-SP4 (src): grub2-2.02-12.18.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-RU-2019:3344-1: An update that has two recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1136970,1154783 CVE References: Sources used: SUSE Linux Enterprise Module for Server Applications 15-SP1 (src): grub2-2.02-26.9.2 SUSE Linux Enterprise Module for Open Buildservice Development Tools 15-SP1 (src): grub2-2.02-26.9.2 SUSE Linux Enterprise Module for Basesystem 15-SP1 (src): grub2-2.02-26.9.2 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
openSUSE-RU-2020:0012-1: An update that has two recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1136970,1154783 CVE References: Sources used: openSUSE Leap 15.1 (src): grub2-2.02-lp151.21.9.1
Leap 15.2 is still suffering from this bug, so probably the fix is missing in SLE-15-SP2 as well.
The auto-submission created by bot (origin-manager) to sync with factory was declined. I've created the SR and should land in SLE-15-SP2 soon. Sorry for the trouble.
The fix is also in 15 SP2 for quite some time. Therefore, closing. Thanks.