Bug 117352

Summary: savedefault command not documented
Product: [Fedora] Fedora Reporter: Eli <elicarter>
Component: grubAssignee: Peter Jones <pjones>
Status: CLOSED CURRENTRELEASE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 1CC: bart.martens
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-02 03:16:21 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:
Attachments:
Description Flags
Proposed fix for lack of savedefault in grub> help
none
Log of grub build failure none

Description Eli 2004-03-03 03:30:52 UTC
From Bugzilla Helper: 
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux) 
 
Description of problem: 
I am using Fedora Core 1 on a remote system, and upgraded the kernel 
using yum.  I want it to boot the new kernel for the next boot only.  
Based on a bit of Googling and then looking at the source, 
specifically grub-0.91-bootonce.patch. 
 
savedefault needs to be documented. 
 
/sbin/grub --help 
grub> help 
man grub 
info grub 
do not mention the 'savedefault' command. 
 
grub> help savedefault 
Displays a helpful message.  Yay!  But if you know to ask for that 
help, then, um, you don't really need the help.  *doh* 
 
Version-Release number of selected component (if applicable): 
grub-0.93-7 
 
How reproducible: 
Always 
 
Steps to Reproduce: 
1.  # /sbin/grub 
2.  grub> help 
3.  *No mention of savedefault* 
     
 
Actual Results:  No mention of the savedefault command in any help 
or documentation that I could find. 
 
Expected Results:  I expected the command to be documented. 
 
Additional info:

Comment 1 Eli 2004-03-03 03:33:47 UTC
Created attachment 98230 [details]
Proposed fix for lack of savedefault in grub> help

I /think/ this patch should do what I want.  HOWEVER, this is untested,
because an rpmbuild --rebuild of the grub-0.93-7 source rpm fails. *sigh*
Once I finish this bug report, I'll report that one too.

Comment 2 Bart Martens 2004-03-04 05:58:10 UTC
Documented.
info grub --index-search=savedefault

There are lots of commands not listed on the BUILTIN_HELP_LIST. It's a
matter of choice.
grep -B 2 BUILTIN grub-0.93/stage2/builtins.c|less

I could build grub with and without your patch.
$ rpmbuild -ba grub.spec > stdout.txt 2> stderr.txt && echo $?
0

Closing as "not a bug".


Comment 3 Eli 2004-07-14 02:54:23 UTC
Created attachment 101884 [details]
Log of grub build failure

$ rpm-build --rebuild grub-0.93-7.src.rpm > grub-rebuild 2>&1; echo $?
1

Find the build log failure attached.  Perhaps there is a build dependency
missing?

Comment 4 Eli 2005-02-02 03:16:21 UTC
Originally reported against FC1.
In FC3, I was able to --rebuild the grub srpm.