Red Hat Bugzilla – Bug 498689
New kernel should be set as Grub default only if the previous default was Fedora
Last modified: 2009-05-04 21:30:53 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.
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
(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.
Then file a bug against system-config-boot as it's not following the defaults that should be followed for the system.