I just upgraded to version 3.9.2-50 from 3.9.1 and I was getting a note:
“You are running an unsupported kernel(4.10.6-1.el7.elrepo.x86_64). Some features may not work properly. Please reboot and the system will automatically boot using the supported kernel(4.12.4-1.el7.elrepo.x86_64)”
I see 4.12.4-* kernel in /boot but seems that grub was not updated …
I have to run grub2-mkconfig -o /boot/grub2/grub.cfg to add 4.12.* kernel and then edit /etc/default/grub to change the value in GRUB_DEFAULT=## with the numeric entry value from running grep '^menuentry' /boot/grub2/grub.cfg
@alexmesfin Hello again. Glad you got your Stable subscription sorted.
Re the new kernel not being auto selected. Yes we have had reports of this happening but it’s rare. Mostly this just works but sometimes, for some reason, it just doesn’t get done.
Thanks for sharing your work around by the way. I think, from vague memory here though, that there was a simpler workaround. I’ve just had a quick forum search to find other instances of this where I seem to remember a member sharing their work around when this happened but can’t seem to find it currently. I’ve not seen this myself (yet) however.
If anyone else finds other workarounds for this please link to/in this post as, given it’s fresh, it should be easier to find and then it should help others looking for the same and collect our workarounds.
@alexmesfin Thanks again for you input on this one. We will soon be done with managing our own kernel updates and have this rightly in the hands of our upstream distro.
For context we do have the following bit of related code: