From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823
Description of problem:
When I use lilo as my bootloader in Red Hat 8.0 the `rpm -F kernel-*` process
ends up removing the image section relating to the kernel image that is being
upgraded. It does not affect the "other" section I have for another OS .. nor
does it remove the information at the top of the file, just the part relating to
the kernel. When installing the rpm it mentions that grubby has a fatal error
usually 3 times.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Use lilo for your boot loader
2.use `rpm -F kernel-*` to upgrade your kernel
Actual Results: I no longer had an image section in my lilo.conf relating to
the kernel I had just installed .. or the previous one!
Expected Results: One of 2 things:
1. It shouldn't have touched the lilo.conf
2. It should have correctly updated my lilo.conf
I am using redhat-supplied everything. I have done this using the i386 and i686
kernel packages on multiple machines. My kernel upgrade process now included
copying my lilo.conf to another filename, upgrading my kernel, and replacing the
lilo.conf from my backup file, and adjusting it for the new kernel.
I have experienced the same thing on several systems. I also saw several grubby
errors during the rpm -Fvh process, and errors about there being no template.
Sorry, did not write the errors down.
Additional info - I chose lilo as my boot loader during setup.
My lilo.conf looked like this before the upgrade:
And like this afterwards:
This seems to work for me here with our current code. Can you provide a
complete list of the errors you receive? (Additionally, if you could add -x to
the top of /sbin/new-kernel-pkg and then run your freshen with that change and
attach the output, that would be even more helpful). Also a copy of the
pre-freshen lilo.conf would be useful.
Closing due to lack of activity. If you have more information to add, feel free
to reopen this bug report.