Bug 52980

Summary: grubby doesnt add default properly
Product: Red Hat Enterprise Linux 3 Reporter: Adrian Likins <alikins>
Component: mkinitrdAssignee: Jeremy Katz <katzj>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: brilong
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-02-02 22:10:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
grub.conf that fails to have it's "default=X" param set none

Description Adrian Likins 2001-08-31 21:33:28 UTC
Description of Problem:

grubby seems to fail to add a "default=X" entry to the /boot/grub/grub.conf

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

How Reproducible:
see soon to be attached grub.conf
try running:

grubby --set-default /boot/vmlinuz-2.4.7-0.9.1 

And see that the grub.conf does not include a default=X line.

Steps to Reproduce:

Actual Results:

Expected Results:

Additional Information:

Comment 1 Adrian Likins 2001-08-31 21:34:27 UTC
Created attachment 30415 [details]
grub.conf that fails to have it's "default=X" param set

Comment 2 Jeremy Katz 2001-08-31 21:49:35 UTC
grubby didn't exist until mkinitrd 3.2 or so... this case should be fixed as of
mkinitrd 3.2.4

Comment 3 Joshua Jensen 2004-02-02 21:32:27 UTC
This is STILL BROKEN, even in RHEL3.  Please please fix!

Comment 4 Joshua Jensen 2004-02-02 22:10:23 UTC
I'll pull my foot out of my mouth... and say that the above example
does work.

*However*, this doesn't:

grubby --set-default 2.4.7-0.9.1

Turns out, grubby from RHL 7.3 says STRING when explaining what should
come after --set-default.  RHEL3's --help and man page now says
"kernel path".  That's cool.