Bug 2397584 - Grub menu shows when rebooting from within gdm
Summary: Grub menu shows when rebooting from within gdm
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-session
Version: 43
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: GNOME SIG Unassigned
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-23 08:00 UTC by Hans de Goede
Modified: 2025-12-18 00:59 UTC (History)
4 users (show)

Fixed In Version: gnome-session-49.2-2.fc43
Clone Of:
Environment:
Last Closed: 2025-12-18 00:59:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.