needrestart 2.1

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. If a process inside a container (LXC, docker) it suggests to restart the entire container. needrestart contains a heuristic for different interpreter languages: it tries to detect if outdated script code/modules are in use (Java, Perl, Python, Ruby).

Changes in 2.1

  • [Bug] Ignore /usr/bin/apt-get. (Debian Bug#784237 by Thijs Kinkhorst <thijs@debian.org>)
  • [Bug] Add override for systemd’s emergency.service and rescue.service. (Debian Bug#784437)
  • [Bug] Ignore Oil Runtime Compiler’s JIT files. (Debian Bug#786374 by Francois Mescam <francois@mescam.org>)
  • [Bug] Fix 2c037bc did broke the progressbar. (Related to Debian Bug#768124)
  • [Cont] Detect and suggest to restart containers:
  • [Core] Add nagios plugin mode (-p). (github issue #5 by Ludovic Gasc [@GMLudo])
  • [Core] Use /proc/$PID/root to scan for files fixing false positives on containers (i.e. LXC) using bind mounts. (Debian Bug#783181 by Brian Minton <brian@minton.name>)
  • [Interp] Skip scanning files with Interp/* if cwd is unknown. (Debian Bug#779832 by wforumw <wforumw@gmail.com>)
  • [Interp] Skip scanning files with Interp/* if cwd is unknown. (Debian Bug#779832 by wforumw <wforumw@gmail.com>)
  • [Kernel] Add kernel hints option not requiring an acknowledgement by the user. (Debian Bug#769811 by Axel Beckert <abe@debian.org>)
  • [Kernel] Take version number comparing stuff from Dpkg::Version to compare kernel versions correctly. (Debian Bug#781657 by Martin Steigerwald <Martin@Lichtvoll.de>)
  • [UI] Improve restart query in interactive mode (stdio). (Debian Bug#772859 by Axel Beckert <abe@debian.org>)

See also


Comments !