Bug 184432 - grubby doesn't grok kernel /xen.gz options
Summary: grubby doesn't grok kernel /xen.gz options
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-08 18:30 UTC by Brian Brock
Modified: 2008-02-26 22:59 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-26 22:59:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Brian Brock 2006-03-08 18:30:49 UTC
Description of problem:
grubby or new-kernel-pkg don't apply existing xen 'kernel' arguments to newly
installed kernels when munging grub.conf.

Version-Release number of selected component (if applicable):
mkinitrd-5.0.29-1
kernel-xen0-2.6.15-1.2029_FC5
kernel-xen0-2.6.15-1.2032_FC5

kernel-xen0-2.6.15-1.2029_FC5 is installed, with the following relavent
grub.conf stanza:


title Fedora Core (2.6.15-1.2029_FC5xen0)
        root (hd0,0)
        kernel /xen.gz-2.6.15-1.2029_FC5 com1=115200,8n1
        module /vmlinuz-2.6.15-1.2029_FC5xen0 ro root=LABEL=/1 console=ttyS0
console=tty0
        module /initrd-2.6.15-1.2029_FC5xen0.img


No other versions of kernel-xen0 are initially installed.

Install a newer kernel-xen0:

 rpm -ihv 2.6.15-1.2032_FC5/i686/kernel-xen0-2.6.15-1.2032_FC5.i686.rpm 
warning: 2.6.15-1.2032_FC5/i686/kernel-xen0-2.6.15-1.2032_FC5.i686.rpm: Header
V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing...                ########################################### [100%]
   1:kernel-xen0            ########################################### [100%]


... new grub.conf stanza looks like:
title Fedora Core (2.6.15-1.2032_FC5xen0)
        root (hd0,0)
        kernel /xen.gz-2.6.15-1.2032_FC5
        module /vmlinuz-2.6.15-1.2032_FC5xen0 ro root=LABEL=/1 console=ttyS0
console=tty0
        module /initrd-2.6.15-1.2032_FC5xen0.img


note that the options "com1=115200,8n1" to the 'kernel' line were not copied.


How reproducible:
every time, behavior is not random.


Expected results:
kernel options are copied when new kernel is installed.

Comment 1 Matthew Miller 2007-04-06 18:28:04 UTC
Fedora Core 5 and Fedora Core 6 are, as we're sure you've noticed, no longer
test releases. We're cleaning up the bug database and making sure important bug
reports filed against these test releases don't get lost. It would be helpful if
you could test this issue with a released version of Fedora or with the latest
development / test release. Thanks for your help and for your patience.

[This is a bulk message for all open FC5/FC6 test release bugs. I'm adding
myself to the CC list for each bug, so I'll see any comments you make after this
and do my best to make sure every issue gets proper attention.]


Comment 2 Chris Lalancette 2008-02-26 22:59:22 UTC
This report targets FC5, which is now end-of-life.

Please re-test against Fedora 7 or later, and if the issue persists, open a new bug.

Thanks



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