Bug 1614659 - grub menu still shows up even though menu_show_once=1 is set
Summary: grub menu still shows up even though menu_show_once=1 is set
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-10 07:21 UTC by lnie
Modified: 2018-08-18 13:28 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-08-18 13:28:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
journal (922.54 KB, text/x-vhdl)
2018-08-10 07:21 UTC, lnie
no flags Details

Description lnie 2018-08-10 07:21:16 UTC
Created attachment 1474901 [details]
journal

Description of problem:
According to https://fedoraproject.org/wiki/Changes/HiddenGrubMenu,grub menu should be hidden on a successful boot

See 

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1.Do a fresh installation with Fedora-Workstation-Live-x86_64-Rawhide-20180807.n.1.iso
2.login and run "reboot" command on the terminal;
3.grub menu is shown though menu_auto_hide=1 

[lnie@localhost-live ~]$ sudo grub2-editenv list
[sudo] password for lnie: 
saved_entry=Fedora (4.18.0-0.rc8.git0.1.fc29.x86_64) 29 (Workstation Edition)
menu_auto_hide=1
boot_success=1
boot_indeterminate=0
 

Actual results:


Expected results:


Additional info:

Comment 1 lnie 2018-08-10 07:34:08 UTC
Er,turns out boot_success=0 means a successful boot? 
The grub menu is hidden now,the only difference operation is staying in the system longer after login,and here is the output

[lnie@localhost-live ~]$ sudo grub2-editenv list
[sudo] password for lnie: 
saved_entry=Fedora (4.18.0-0.rc8.git0.1.fc29.x86_64) 29 (Workstation Edition)
menu_auto_hide=1
boot_success=1
boot_indeterminate=0

Comment 2 Jan Kurik 2018-08-14 08:37:38 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 3 Hans de Goede 2018-08-18 13:28:43 UTC
(In reply to lnie from comment #1)
> Er,turns out boot_success=0 means a successful boot? 

No boot_success gets set to 1 after you've been logged in for at least 30 seconds, this is to avoid it getting set to 1 in case for example gnome-shell crashes immediately after login.

> The grub menu is hidden now,the only difference operation is staying in the
> system longer after login

Correct, as said you need to be logged in for at least 30 seconds.

Note I also have a patches pending to set boot success if you shutdown/reboot from the gnome3 system menu (the menu on the top right), even if your session lasted less then 30 seconds, or in case you are rebooting directly from within gdm, see:

https://gitlab.gnome.org/jwrdegoede/gnome-session/commits/master

I believe that everything is working as intended for you, so I'm going to close this bug.


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