Bug 498689 - New kernel should be set as Grub default only if the previous default was Fedora
New kernel should be set as Grub default only if the previous default was Fedora
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: grub (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Peter Jones
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-01 19:43 EDT by Dmytro Taranovsky
Modified: 2009-05-04 21:30 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-05-04 15:22:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Dmytro Taranovsky 2009-05-01 19:43:26 EDT
Currently, when a kernel is installed/updated, /sbin/new-kernel-pkg 
uses /etc/sysconfig/kernel to decide whether to make it default.  In etc/sysconfig/kernel, one can choose either to always or never make the new kernel default.  I think that the default should be a third option--make the new kernel default only if the current Grub default OS is a Fedora kernel.

The rationale is that if the Grub default is a non-Fedora operating system (such as Windows), then the user is unlikely to want to switch Grub default to Fedora every time the kernel is updated.  On the other hand, if the default is Fedora, then making new kernel the default will allow the user to automatically receive kernel bugfixes, including security fixes, without manually selecting non-default kernel or editing Grub configuration.
Comment 1 Jeremy Katz 2009-05-04 15:22:46 EDT
That's basically the logic now, just that if you select Windows as the default in the install, then we set UPDATEDEFAULT=no in /etc/sysconfig/kernel
Comment 2 Dmytro Taranovsky 2009-05-04 21:20:30 EDT
(In reply to comment #1)
> That's basically the logic now, just that if you select Windows as the default
> in the install, then we set UPDATEDEFAULT=no in /etc/sysconfig/kernel  

This may be true when Fedora is installed, but when you change the grub default using system-config-boot, /etc/sysconfig/kernel is not updated.
Comment 3 Jeremy Katz 2009-05-04 21:30:53 EDT
Then file a bug against system-config-boot as it's not following the defaults that should be followed for the system.

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