RedHat issues while upgrading
After attempting to remediate a (kernel)vulnerability on my stand-alone, the device fails to reboot.
HIGH
RHSA-2017:2795 (103494)
Remote package installed: kernel-2.6.32-696.el6
Should be : kernel-2.6.32-696.10.3.el6
Remote package installed: kernel-firmware-2.6.32-696.el6
Should be : kernel-firmware-2.6.32-696.10.3.el6
Remote package installed: kernel-headers-2.6.32-696.el6
Should be kernel-headers-2.6.32-696.10.3.el6
Problem: The following error is what I am getting after attempting to update on my testing laptop.
Warning: erase unlink of /lib/modules/2.6.32.696.el6.x86_64/modules.order failed: No such file or directory.
Warning: erase unlink of /lib/modules/2.6.32.696.el6.x86_64/modules.networking failed: No such file or directory.
Warning: erase unlink of /lib/modules/2.6.32.696.el6.x86_64/modules.modesetting failed: No such file or directory.
Warning: erase unlink of /lib/modules/2.6.32.696.el6.x86_64/modules.drm failed: No such file or directory.
Warning: erase unlink of /lib/modules/2.6.32.696.el6.x86_64/modules.block failed: No such file or directory.
E: Failed to install /lib/libsoftokn3.so
Mkinitrd failed
Warning: %posttrans(kernel-2.6.32-696.10.3.el6.x86_64) scriptlet failed, exit status 1
Behavior: System fails to reboot
Message I am receiving:
After update, kernel panic at boot with error: Unable to mount root fs on unknown-block(0,0)
Verified appropiate steps in reference to https://access.redhat.com/solutions/2376641'
When I reboot it, it fails.
Your help would be greatly appreciated.
Thanks
Responses
Paul,
You could reboot to older kernel and check if you see corresponding 'vmlinuz-2.6.32......' file pointing to the new kernel version. Otherwise, you could share those file that you find under /boot directory. The kernel need to have all files such as 'initramfs.xxx', 'system-map.xxxx', 'sysvers.xxxx', etc., for proper function ( to boot into), otherwise, it would fail to bootup. If you see all these files for the newer kernel then you would need run 'dracut' command pointing to new kernel to rebuild initramfs image file.
# dracut -f -v /boot/initramfs-2.6.32-696.10.3.el6.x86_64.img 2.6.32-696.10.3.el6.x86_64
Please check and run this command pointing to the correct kernel (newer) as shown. I assume "2.6.32-696.10.3.el6.x86_64" is the new kernel in your case.
It looks me that the system is not finding 32bit version of the package 'nss-softokn', check if the system got one of those, otherwise, install it. After this you may try re-creating initramfs image and check if that works.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
