[SOLVED] Does this update require a reboot?

afftub

Member
Jan 29, 2024
10
0
6
Code:
pve-firmware/stable 3.18-6 all [upgradable from: 3.18-5]
pve-qemu-kvm/stable 11.0.3-3 amd64 [upgradable from: 11.0.3-2]
qemu-server/stable 9.2.7 amd64 [upgradable from: 9.2.6]
zfs-initramfs/stable 2.4.4-pve1 all [upgradable from: 2.4.3-pve1]
zfs-zed/stable 2.4.4-pve1 amd64 [upgradable from: 2.4.3-pve1]
zfsutils-linux/stable 2.4.4-pve1 amd64 [upgradable from: 2.4.3-pve1]

I know that kernel updates require a reboot. Do QEMU-related packages or pve-firmware also require a reboot?Besides these packages, is there a way to check whether a reboot is required after updating?
 
No reboot is not required for these packages but for running VMs must be fully Stopped and Started to load the new QEMU version.

In general, I would only reboot host for kernel updates as you mentioned.
 
is there a way to check whether a reboot is required after updating?

You could try needrestart: needrestart man page

By default, it runs in interactive mode, i.e. if you update from the CLI (apt update && apt full-upgrade), it tells you whether a reboot is necessary, lists all services that need to be restarted, and offers to restart them via a TUI interface.

However, when in doubt, I simply reboot, because it's a homelab, and with my hardware, a reboot takes just a few minutes until all the VMs are up and running again. On actual server hardware that takes forever to check and initialize the hardware, though, that's obviously a different story. ;-)
 
Last edited:
With actual server hardware you are running it in a company and then you should have a cluster anyway if you need high-availability.
 
  • Like
Reactions: afftub