[Bug 790808] New: Menu timeout doesn't work properly when set to 0
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=790808 https://bugzilla.novell.com/show_bug.cgi?id=790808#c0 Summary: Menu timeout doesn't work properly when set to 0 Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mike.catanzaro@gmail.com QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0 The "timeout" option in YaST2 bootloader option modifies /etc/default/grub as follows: * If "Hide Menu on Boot" is unchecked and timeout is nonzero, it sets GRUB_TIMEOUT to the value specified in this field, and sets GRUB_HIDDEN_TIMEOUT to 0. This is correct. * If "Hide Menu on Boot" is checked and timeout is nonzero, sets GRUB_HIDDEN_TIMEOUT to the value specified in this field, and sets GRUB_TIMEOUT to 0. This is also correct. Reproducible: Always Steps to Reproduce: The problems occur if you try to set the timeout to 0, the lowest valid option in both YaST and /etc/default/grub. Regardless of whether or not "Hide Boot Menu" is checked, no changes will be written (to these settings). So when revisiting the module, you'll see whatever the settings were before you tried to hide the menu and remove the timeout. Actual Results: For example, if you check "Hide Menu on Boot" and set the timeout from a positive number to 0, "Hide Menu on Boot" will be unchecked the next time you visit the module and the timeout will be whatever it previously was. (Since neither GRUB_TIMEOUT nor GRUB_HIDDEN_TIMEOUT were modified, GRUB_TIMEOUT remains positive and the menu is not hidden.) Expected Results: If timeout is set to 0, both GRUB_TIMEOUT and GRUB_HIDDEN_TIMEOUT should be set to 0. Or if we think it's always a bad idea to do that, set the minimum timeout value to 1. But since GRUB allows it, YaST probably should, too. =) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=790808
https://bugzilla.novell.com/show_bug.cgi?id=790808#c1
--- Comment #1 from Michael Catanzaro
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=790808
https://bugzilla.novell.com/show_bug.cgi?id=790808#c
Michael Catanzaro
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=790808
https://bugzilla.novell.com/show_bug.cgi?id=790808#c
Jiaying ren
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=790808
https://bugzilla.novell.com/show_bug.cgi?id=790808#c
Thomas Göttlicher
participants (1)
-
bugzilla_noreply@novell.com