From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011012
Description of problem:
The kernel rpm's new-kernel-pkg script uses "grubby" to add a new boot
entry to /boot/grub/grub.conf. It inserts a new entry 0 at the beginning,
but doesn't update the "fallback=" setting accordingly.
# before kernel package update
# after kernel package update
Version-Release number of selected component (if applicable):
grub-0.90-11.i386.rpm from Raw Hide
Steps to Reproduce:
1. cp /boot/grub/grub.conf /boot/grub/grub.conf.old
2. grubby --copy-default --title "test" --add-kernel /boot/vmlinuz-2.4.9-6
3. diff -u /boot/grub/grub.conf.old /boot/grub/grub.conf
Actual Results: Grubby inserted the new kernel as first entry (0) and
increased the "default=" value accordingly to keep loading the old default
boot entry, but it did NOT increase the "fallback=" value.
Expected Results: Grubby should have increased the "fallback=" value, too,
because it has inserted a new boot entry at the beginning.
[My main system is a fully updated Seawolf with just a few packages from
Raw Hide to get ext3. When I made the most recent kernel update for Seawolf
and since I have GRUB as boot loader, the kernel package's post-install
script added the 2.4.9-6 kernel using /sbin/new-kernel-pkg which in turn
runs grubby to modify /boot/grub/grub.conf.]
Wrong component. Changing to mkinitrd-3.2.6-1.
The equal signs (=) for "default" and "fallback" values in this report are type
errors. Imagine they
would not be there.
added for mkinitrd 3.4 (still being developed)