Avoiding Full Reboots on CentOS After dnf Updates with needs-restarting
After a dnf update on CentOS, old processes can keep using deleted libraries. needs-restarting from dnf-utils finds which processes and systemd units need a restart, and flags when a reboot is warranted, helping avoid unnecessary full reboots.