From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2)
Description of problem:
SMP machine has both SMP and UP kernels. Grub Default is to boot the
SMP kernel. After yum update kernel to a newer kernel the default is
changed back to the UP kernel.
This may be related to the order in grub.conf - which sems to be UP
followed by SMP - and default=1 is changed back to default=0 which nw
points to non-smp kernel after a kernel update.
Relevant bits of grub.conf (after I hand edited default=0 back to 1):
title Fedora Core (2.6.10-1.766_FC3)
kernel /boot/vmlinuz-2.6.10-1.766_FC3 ro root=LABEL=/ rhgb quiet
title Fedora Core (2.6.10-1.766_FC3smp)
kernel /boot/vmlinuz-2.6.10-1.766_FC3smp ro root=LABEL=/ rhgb quiet
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum update kernel
Actual Results: default kernel se back to UP
Expected Results: default kernel should remain SMP
What are the contents of /etc/sysconfig/kernel?
# cat /etc/sysconfig/kernel
cat: /etc/sysconfig/kernel: No such file or directory
The default configuration should exist in /etc/sysconfig/kernel which has the
following content in it.
# UPDATEDEFAULT specifies if new-kernel-pkg should make
# new kernels the default
# DEFAULTKERNEL specifies the default kernel package type
While its a bad idea for any user to remove /etc/sysconfig/kernel here is what I
suggest as a RFE
new-kernel-pkg script in mkinitrd checks for this. I believe its a good for it
to check uname output or proc to determine if the system is currently running a
SMP kernel and set it to default and fall back to UP if not
New installs will end up with the file and if you remove it, it becomes hard to
impossible to definitively pick the "right" answer.