needrestart 0.9
Posted on 2014-05-11 in Projects • 1 min read
needrestart checks which daemons need to be restarted after library upgrades. It is inspired by checkrestart from the debian-goodies package.
needrestart supports but does not require systemd. If systemd is not available or does not return a service name needrestart uses hooks to identify the corresponding System V init script. The shipped hooks support the following package managers:
- dpkg
- rpm
- pacman
The service command is used to run the tradiditional System V init script.
Changes in 0.9
- Drop external dependency on strings command from binutils.
- Fix “uninitialized value” by apparent kernel threads. (Debian Bug#746363 by Axel Beckert <abe@debian.org>)
- Read kernel version from x86 kernel boot header and handle uncompressed kernel images. (Debian Bug#746550 by Axel Beckert <abe@debian.org>)
- Several small bugfixes:
- [Interp] initial source file detection broken due using getopt instead of getopts (Debian Bug#746363 by Axel Beckert <abe@debian.org>)
- [UI] fix newlines in Debconf template
- [UI] fix “No such file or directory” triggered by stdio (Debian Bug#746550 by Axel Beckert <abe@debian.org>)
- [Interp] Use source file instead of
/proc/<pid>/exe
to find package.