needrestart 1.2-6

Posted on 2014-12-05 in Projects • 2 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 1.2-6

Several patches have been added to the needrestart 1.2 packages in the upcomming Debian jessie release. This release is based on needrestart 1.2 and contains all the patches being part of the needrestart package 1.2-6 in Debian:

  • 01-add-conf.d-directory: support conf.d directory (Closes: #764043)
  • 02-regression-commands-in-list-mode: fix a regression in list mode (Closes: #764042)
  • 03-fix-empty-kernel-version-string fix displaying the running kernel version (Closes: #764917)
  • 04-prefer-services-over-rc.d: prevent restarting services twice
  • 05-dont-blacklist-services: add support for the new override_rc option and does not automatic restart services (Closes: #763937)
  • 06-fix-version-number-string; fix the reported version number
  • 07-fix-warnings-without-tty: fix Perl warnings, if no TTY is available (Closes: #768124)
  • 08-fix-broken-debconf: fix a debconf hang up if no kernel image is available (Closes: #767370)
  • 09-add-some-overrides: prevent automatic restarts of gettys and mythtv-backend
  • 10-respect-override-auto: do not restart services with overrides in auto mode (Closes #770937)
  • 11-systemd-journald-workaround to add systemd-journald to override_rc as a workaround tue to #771122 (Closes: #771254)
  • 12-ignore-systemd-user-sessions: ignore user sessions (Closes: #771348)
  • 13-falsepos-aio-fix: skip POSIX async I/O mappings to prevent false positive restarts
  • 14-wpa_supplicant-override: ignore wpa_supplicant

See also