Hi All,
Firstly, apologies but I’m not an expert, have just enough skills to get myself in trouble!
I ran a Nessus scan on my server and it reported this:-
“Installed package kernel-4.18.0-514.el8 is greater than kernel-4.18.0-513.24.1.el8_9.
However, according to uname -r, the current running kernel level is 4.18.0-477.27.1.el8_8.
This system requires a reboot to begin using the patched kernel level.”
This server was an upgrade from CentOS to RL and I’m wondering if this is somehow conflicting with the el8_9 kernel? Checking my server (cat /etc/rocky-release) shows “Rocky Linux release 8.9 (Green Obsidian)”. However, looking at the boot (grubby --info=ALL) this shows “Rocky Linux (4.18.0-477.27.1.el8_8.x86_64) 8.8 (Green Obsidian)”.
Checking the installed items (dnf list installed kernel\*) shows the following:-
Installed Packages
kernel.x86_64 4.18.0-477.27.1.el8_8 @baseos
kernel.x86_64 4.18.0-513.el8 @baseos
kernel.x86_64 4.18.0-514.el8 @baseos
kernel-core.x86_64 4.18.0-477.27.1.el8_8 @baseos
kernel-core.x86_64 4.18.0-513.el8 @baseos
kernel-core.x86_64 4.18.0-514.el8 @baseos
kernel-headers.x86_64 4.18.0-513.24.1.el8_9 @baseos
kernel-modules.x86_64 4.18.0-477.27.1.el8_8 @baseos
kernel-modules.x86_64 4.18.0-513.el8 @baseos
kernel-modules.x86_64 4.18.0-514.el8 @baseos
kernel-tools.x86_64 4.18.0-513.24.1.el8_9 @baseos
kernel-tools-libs.x86_64 4.18.0-513.24.1.el8_9 @baseos
Grubby output:-
index=0
kernel="/boot/vmlinuz-4.18.0-514.el8.x86_64"
args="ro crashkernel=auto resume=/dev/mapper/cs_XX-swap rd.lvm.lv=cs_XX/root rd.lvm.lv=cs_XX/swap rhgb quiet $tuned_params"
root="/dev/mapper/cs_XX-root"
initrd="/boot/initramfs-4.18.0-514.el8.x86_64.img $tuned_initrd"
title="CentOS Stream (4.18.0-514.el8.x86_64) 8"
id="4253bcbb1baa4619be76de1567336617-4.18.0-514.el8.x86_64"
index=1
kernel="/boot/vmlinuz-4.18.0-513.el8.x86_64"
args="ro crashkernel=auto resume=/dev/mapper/cs_XX-swap rd.lvm.lv=cs_XX/root rd.lvm.lv=cs_XX/swap rhgb quiet $tuned_params"
root="/dev/mapper/cs_XX-root"
initrd="/boot/initramfs-4.18.0-513.el8.x86_64.img $tuned_initrd"
title="CentOS Stream (4.18.0-513.el8.x86_64) 8"
id="4253bcbb1baa4619be76de1567336617-4.18.0-513.el8.x86_64"
index=2
kernel="/boot/vmlinuz-4.18.0-477.27.1.el8_8.x86_64"
args="ro crashkernel=auto resume=/dev/mapper/cs_XX-swap rd.lvm.lv=cs_XX/root rd.lvm.lv=cs_XX/swap rhgb quiet $tuned_params"
root="/dev/mapper/cs_XX-root"
initrd="/boot/initramfs-4.18.0-477.27.1.el8_8.x86_64.img $tuned_initrd"
title="Rocky Linux (4.18.0-477.27.1.el8_8.x86_64) 8.8 (Green Obsidian)"
id="4253bcbb1baa4619be76de1567336617-4.18.0-477.27.1.el8_8.x86_64"
index=3
kernel="/boot/vmlinuz-0-rescue-4253bcbb1baa4619be76de1567336617"
args="ro crashkernel=auto resume=/dev/mapper/cs_XX-swap rd.lvm.lv=cs_XX/root rd.lvm.lv=cs_XX/swap rhgb quiet"
root="/dev/mapper/cs_XX-root"
initrd="/boot/initramfs-0-rescue-4253bcbb1baa4619be76de1567336617.img"
title="CentOS (0-rescue-4253bcbb1baa4619be76de1567336617) 8"
id="4253bcbb1baa4619be76de1567336617-0-rescue"
Could the old CentOS install be stopping the install of the latest RL kernel and should I be doing something to remove the CentOS kernals ( rpm -e ?).
Any help is much appreciated.
Paul.