Bug 2397584

Summary: Grub menu shows when rebooting from within gdm
Product: [Fedora] Fedora Reporter: Hans de Goede <hans>
Component: gnome-sessionAssignee: GNOME SIG Unassigned <gnome-sig>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 43CC: gnome-sig, mclasen, rhughes, rstrode
Target Milestone: ---Keywords: AutomationTriaged, Desktop
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gnome-session-49.2-2.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-12-18 00:59:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hans de Goede 2025-09-23 08:00:07 UTC
I noticed that when making a small change and then immediately rebooting to test, the grub menu will now show even though the boot was successful (1).

Another way to reproduce this is to just select reboot or poweroff from the top right system menu in gdm. This too will show grub the next boot, while it should not.

This is a flickerfree-boot / hidden-grub-menu regression In Fedora 43. This is caused by dropping the 0001-Fedora-Set-grub-boot-flags-on-shutdown-reboot.patch.

I've tried to come up with an upstream solution for this (2), trying to hook into systemd-boot's boot-counting mechanism but I never got around to doing a proper upstream solution for this. This gets complicated by Fedora using grub, which does not support boot-counting in combination with Fedora's hidden-grub-menu code also still being downstream patches.

For now I believe it will be best to restore 0001-Fedora-Set-grub-boot-flags-on-shutdown-reboot.patch.

1) There are 2 ways of marking a Fedora Workstation boot successful so that the grub-menu will not show: a) A clean shutdown/reboot from the menu in combination with the gnome-session patch. b) A user login session lasting more then 2 minutes, which will trigger grub-boot-success.timer which marks the boot successful.

2) https://github.com/systemd/systemd/issues/35019


Reproducible: Always

Comment 1 Fedora Admin user for bugzilla script actions 2025-09-23 08:00:16 UTC
Bug reports for this component on Red Hat Bugzilla are not actively monitored. Please consider reporting your issue directly to GNOME at https://gitlab.gnome.org/GNOME/ to improve the chances that your issue will be resolved. This issue should only be kept open if it:

1. Relates to Fedora packaging or integration with other Fedora components
2. Is required for Fedora release processes, such as blocker bugs and freeze exceptions

If this issue isn't needed for either of these two reasons, please:

 * create an issue with GNOME
 * add a link to the GNOME issue here
 * close this issue as CLOSED/UPSTREAM

Thank you!

Comment 2 Hans de Goede 2025-09-23 08:07:18 UTC
Note for some more info on the grub-hidden-menu stuff, see:
https://hansdegoede.dreamwidth.org/19180.html

Comment 3 Fedora Update System 2025-12-16 23:15:04 UTC
FEDORA-2025-b753276ef1 (gnome-session-49.2-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-b753276ef1

Comment 4 Fedora Update System 2025-12-17 01:03:15 UTC
FEDORA-2025-b753276ef1 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-b753276ef1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-b753276ef1

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2025-12-18 00:59:32 UTC
FEDORA-2025-b753276ef1 (gnome-session-49.2-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.