NeedRestart
https://github.com/liske/needrestart
NeedRestart checks which daemons need to be restarted after library upgrades.
It is inspired by CheckRestart from the debian-goodies package.
Features:
- Supports (but does not require) systemd
- Binary blacklisting (i.e. Display Managers)
- Tries to detect required restarts of interpreter based daemons (supports Java, Perl, Python, Ruby)
- Tries to detect required restarts of containers (Docker, LXC)
- Tries to detect pending kernel upgrades
- Tries to detect pending microcode upgrades for Intel CPUs
- Could be used as Nagios check_command
- Fully integrated into APT/DPKG using hooks
-
1
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout Base:System/needrestart && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_service | 0000000230 230 Bytes | |
_service:download_url:v3.6.tar.gz | 0000071159 69.5 KB | |
debconf__needrestart.templates | 0000006334 6.19 KB | |
needrestart-3.6.tar.gz | 0000071159 69.5 KB | |
needrestart.spec | 0000003519 3.44 KB | |
restart.d__auditd.service | 0000000015 15 Bytes |
Revision 1 (latest revision is 6)
Hello, I, hereby, am submitting a 'system' package to the official SUSE repos as it is a program fairly well known and used in other Linux distributions such as Debian, Ubuntu, Fedora and Arch . . . It is a "better" more detailed companion/alternative to `needs-restarting` program integrated in Zypper. Please consider adding it because it is a handy program for checking anything system up-to-date related. I tested the installed package on SUSE Leap 15.5 and it seems to be working fine without any hassles - not extensively though . . . But the outputs are clear & clean: `root@Nvisen-MU02--SUSE-LEAP-SERVER ~# needrestart Scanning processes... Scanning processor microcode... Scanning linux images... Pending kernel upgrade! Running kernel version: 6.5.5-lp154.3.g6cf5261-default Diagnostics: The currently running kernel version is not the expected kernel version 6.6.0-rc3-lp155.1.g15b4ad8-default. Restarting the system to load the new kernel will not be handled automatically, so you should consider rebooting. [Return] The processor microcode seems to be up-to-date. No services need to be restarted. No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host.` . Thanks for taking it into consideration, Martin from Liberec
Comments 0