How do i check if the system needs rebooting after a yum update?
-
Note: The command is part of the yum-utils.
This is what you see before updating the machine.
$ sudo needs-restarting -r No core libraries or services have been updated. Reboot is probably not necessary.
After updating the system.
$ sudo needs-restarting -r Core libraries or services have been updated: glibc -> 2.17-260.el7_6.3 dbus -> 1:1.10.24-13.el7_6 openssl-libs -> 1:1.0.2k-16.el7_6.1 systemd -> 219-62.el7_6.5 linux-firmware -> 20180911-69.git85c5d90.el7 kernel -> 3.10.0-957.10.1.el7 Reboot is required to ensure that your system benefits from these updates. More information: https://access.redhat.com/solutions/27943
© Lightnetics 2024