From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Description of problem: Here is something I saw while upgrading a FC2 box to the test kernel. No entry in /etc/grub.conf. Not initrd in /boot. Manually running "new- kernel-pkg --mkinitrd --depmod --install 2.6.9-1.1_FC2" worked. Running test transaction: Test transaction complete, Success! kernel 100 % done 1/5 Usage: new-kernel-pkg [-v] [--mkinitrd] [--rminitrd] [--initrdfile=<initrd-image>] [--depmod] [--rmmoddep] [--kernel-args=<args>] [--banner=<banner>] [--make-default] <--install | --remove> <kernel-version> (ex: new-kernel-pkg --mkinitrd --depmod --install 2.4.7-2) tcpdump 100 % done 2/5 libpcap 100 % done 3/5 Completing update for tcpdump - 4/5 Completing update for libpcap - 5/5 Kernel Updated/Installed, checking for bootloader Grub found - making this kernel the default Installed: kernel 2.6.9-1.1_FC2.i686 Updated: tcpdump 14:3.8.2-6.FC2.1.i386 libpcap 14:0.8.3-6.FC2.1.i386 Transaction(s) Complete Version-Release number of selected component (if applicable): kernel-2.6.9-1.1_FC2 How reproducible: Always Steps to Reproduce: 1. yum -y update Actual Results: Kernel package is installed but not setup Expected Results: Kernel package is installed and is setup Additional info:
Same results on another box which did an automatic update via yum's cron job.
I ran "rpm -q --scripts -p kernel-2.6.9-1.1_FC2.i686.rpm" and found the command below in the preinstall scriptlet. The --package kernel is what causes the problem. /sbin/new-kernel-pkg --package kernel --mkinitrd --depmod --install 2.6.9-1.1_FC2
I ran "rpm -q mkinitrd" and it outputed "mkinitrd-3.5.22-1".
yeah, that crept in by mistake. I'll nuke it, and rebuild another test kernel. You shouldnt need to update your mkinitrd.
2.6.9-1.2_FC2 should have this fixed.
*** Bug 138021 has been marked as a duplicate of this bug. ***
Tested 2.6.9-1.2_FC2 and it works.