How can I know if reboot is required after update?
checkrestart from the
It shows which processes using the old versions of the libs you updated.
If you are not able to remove all processes out of that list, you need a reboot :)
Additionally (as YuKYuK said), always reboot after a kernel update!
cat /var/run/reboot-required.pkgs to see
'service' waiting for a reload. Nothing needs a reboot, only kernel upgrade (and Windows :) ).
Or on Debian:
lsof | grep lib | grep DEL
Just to add to this, I had the same problem with my servers and I wrote an update script where I check /var/run/ like YuKYuK suggested:
test -f /var/run/reboot-required && echo rebooting && sudo reboot