Bug 506216 - grubby needs to respect default kernel on remove
Summary: grubby needs to respect default kernel on remove
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: mkinitrd
Version: 5.3
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Peter Jones
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-16 04:11 UTC by Bill McGonigle
Modified: 2010-11-10 17:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-10 17:35:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Bill McGonigle 2009-06-16 04:11:58 UTC
Description of problem:

  grubby doesn't set default= based on kernel in /etc/sysconfig/kernel when a kernel is removed

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

  mkinitrd-5.1.19.6-44.i386

How reproducible:
 
  always

Steps to Reproduce:
1. have two flavors of kernel installed, e.g. kernel and kernel-xen
2. set the default kernel type to kernel-xen
3. make sure it's the default kernel
4. yum install a newer kernel-xen (grubby updates, new kernel-xen is now default)
5. yum remove that newer kernel-xen
  
Actual results:
  
  plain kernel is now the default (default=0)

Expected results:

  previously default kernel-xen is the default

Comment 1 Bill McGonigle 2009-06-16 04:15:17 UTC
(or, in step 4, rpm install a newer kernel-xen)

Comment 2 David Cantrell 2010-07-02 03:01:39 UTC
grubby has always worked this way.

Comment 3 RHEL Program Management 2010-07-02 03:05:00 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.

Comment 4 Bill McGonigle 2010-07-02 03:26:06 UTC
Sure, why not?  "It's always been broken" seems like a poor reason to close a bug.


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