Knowing if/when to reboot after updates ??

rfox

Active Member
May 28, 2021
94
7
28
59
I have a small cluster of mini PCs running latest PVE - every time new updates roll in, I test them on a non-important machine first to see if everything is fine . .

One thing that confuses me - when should I reboot after an update ?? On other Linux distributions, I see a message suggesting a reboot when a new kernel, udev or systemd is updated.

Yet with this batch of update - I see NO suggestion to reboot.

What is best practice for PVE ?? Any hints would be welcome . . . :)


1757584494833.png
 
Last edited:
you only need to reboot for very few packages for upgrades to become effective:
- kernel
- dbus
- running guests (in particular, VMs need to be migrated away or restarted to execute the new QEMU binary)

almost everything else will reload or restart automatically on upgrades
 
  • Like
Reactions: rfox
You could install needrestart with apt install needrestart. Then run needrestart after an update and you will get notified whether a reboot due to a new kernel is necessary
 
  • Like
Reactions: UdoB and rfox