needrestart 2.3

Posted on 2015-09-19 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. 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.3

  • [Bug] Add lightdm to override. (Debian Bug#791649 by Martin Steigerwald <martin@lichtvoll.de>)
  • [Bug] Do not try container detection in user mode. (Debian Bug#791665 by Ansgar Burchardt <ansgar@debian.org>)
  • [Bug] Remove unsupported HTML markups from notifications. (Debian Bug#791664 by Ansgar Burchardt <ansgar@debian.org>)
  • [Bug] Compare inodes of mapped files more reliable for chrooted processes. (github issue #11 by Markus Frosch <markus@lazyfrosch.de>)
  • [Kernel] Skip kernel detection within containers.
  • [UI] Add a quiet option to drop any progress messages. (Debian Bug#791708 by Rodrigo Campos <rodrigo@sdfg.com.ar>)
  • [Bug] Do not handle user services as system services. (Debian Bug#792032 by Ansgar Burchardt <ansgar@debian.org>)
  • [Bug] Fix cutting path names read from /proc/PID/maps at spaces resulting in false-positives.

See also