I am using webmin (which uses yum) to install updates on my server, and it somestimes updates kernel as well including kernel-firmware and kernel-headers. Do I need to restart the server after a kernel update?
I am using webmin (which uses yum) to install updates on my server, and it somestimes updates kernel as well including kernel-firmware and kernel-headers. Do I need to restart the server after a kernel update?
There are at least two reasons for rebooting:
To actually use the new kernel you will have to reboot.
No way around that.
Do you have to reboot immediately after installing the update ?
In general NOT, you can schedule the reboot for a more convenient moment.
But it is NOT a good idea to install more updates before you reboot.
Some updates have different versions depending on which kernel you are running.
And anyway: After rebooting with a new kernel always check for updates. Some of your existing packages may need a new version after the kernel update.
It depends.
Ksplice takes care of all security updates but it depends on the updates and it's not free. You can check here for details for yum as well.
You also have the option of using kexec which will require a reboot but will skip the hardware part of the boot.
With Linux 4.0 and later, they say you don't have to reboot for the Kernel anymore.
https://www.linuxjournal.com/content/no-reboot-kernel-patching-and-why-you-should-care