Skip to content

Releases: liske/needrestart

2.9

04 Sep 19:48
Compare
Choose a tag to compare
2.9
  • Changes:
    • [l10n] Add RU translation for notify.d stuff.
      (github issue #29 by @Vladimir-csp)
      (github issue #31 by @Vladimir-csp)
    • [Conf] Add lxcfs to override_rc.
      (Debian Bug#832166 by Evgeni Golov <[email protected]>)
    • [Conf] Pass arguments of apt-pinvoke to needrestart.
      (Debian Bug#826220 by Wolfgang Karall-Ahlborn <[email protected]>)
    • [Core] Use $(MAKE) instead of make for parallel make.
      (github issue #34 by Craig Andrews @candrews)
    • [Core] Make nagios severities configurable.
      (github issue #32 by Christoph Anton Mitterer @calestyo)
  • Features:
    • [Core] Sys-V: use chkconfig tags if LSB tags are missing.
      (github issue #33 by Evgenii Terechkov @evgkrsk)
    • [Interp] Cache file lists of interpreter processes.
      (Debian Bug#826247 by Wolfgang Karall-Ahlborn <[email protected]>)
  • Fixes:
    • [UI] Add a workaround for bug in Term::ReadKey if STDOUT does not
      print on a TTY (see also Debian Bug#824564).
    • [Core] Fix orcexec regex to match on removed files, too.
      (Debian Bug#828103 by Paul Wise <[email protected]>)
    • [Core] Don't compare device numbers on anon fs (i.e. OpenVZ's simfs).
      (github issue #28 by Sven-Haegar Koch @haegar)
    • [Core] Fix odd perl warnings about LSB tags.
      (github issue #33 by Evgenii Terechkov @evgkrsk)
    • [Core] Make systemctl_combine config option working.
      (Debian Bug#826526 by Paul Wise <[email protected]>)
    • [Core] Handle newlines in kernel versions gracefully.
      (Debian Bug#827162 by Martin Steigerwald <[email protected]>)
    • [Core] Fix session counter in nagios plugin mode.

2.8

16 May 16:50
Compare
Choose a tag to compare
2.8
  • Changes:
    • [Core] Restart SysV init services on systemd using systemctl.
      (Debian Bug#818853 by Paul Wise <[email protected]>)
    • [Core] Print a combined systemctl restart command line for skipped
      services (config option).
      (Debian Bug#818853 by Paul Wise <[email protected]>)
    • [l10n] Make NeedRestart::UI::stdio localized and update German localization.
    • [notify] Disable mail notification by default (notify.conf).
  • Features:
    • [Core] Add a easy UI mode hiding technical details for non-technical users.
      (Debian Bug#819824 by Patrick Schleizer <[email protected]>))
    • [Cont] Detect systemd-machined containers.
  • Fixes:
    • [Conf] Add xendomains to override_rc.
      (Debian Bug#817807 by Samuel Thibault <[email protected]>)
    • [Core] Do not terminate debconf after restart service selection since it
      is still needed for container selection.
    • [Core] Fix regex handling in cgroup detection.
      (github pull request #25 by Courtney Bane @cbane)
    • [Core] Fix library probing inside filesystem namespaces (i.e. LXC
      containers).
      (github issue #23 by Lukas Pirl @lpirl)
    • [Interp] Fix incomplete skipping of scanning files in Interp/*.pm
      if cwd is unknown.
    • [Interp] Improve getopts parsing (Interp::*) to remove "Uknown option:"
      warnings.
      (Debian Bug#817927 by F. Petitjean <[email protected]>)
    • [notify.d] Fix bashisms in /etc/needrestart/notify.d/*.
      (Debian Bug#818001 by Cristian Ionescu-Idbohrn
      <[email protected]>)
      (github issue #21 by Sebastian Brandt @sbrandtb)
      (Debian Bug#824184 by Axel Beckert <[email protected]>)
    • [UI] stdio: do not skip service asked while choosing auto mode.

2.7

06 Mar 13:52
Compare
Choose a tag to compare
2.7

ChangeLog:

  • [Bug] Ignore init rc being symlinks to upstart-job.
    (github issue #16 by Jonas Genannt @hggh)
  • [Bug] Allow systemd service names with dots in them.
    (github issue #19 by Michael Fladischer <[email protected]>)
  • [Bug] Add display-manager 'slim' to override.
    (Debian Bug#816061 by Lars Kruse <[email protected]>)
  • [debconf] Add russian translation.
    (Debian Bug#815086 by Vladimir Kudrya <[email protected]>)
  • [notify] Add support for translation of notify scripts.
    (Debian Bug#815086 by Vladimir Kudrya <[email protected]>)
  • [Core] Add support for translation of core script.
    (Debian Bug#815086 by Vladimir Kudrya <[email protected]>)
  • [Bug] Fix missing translations in debconf template file.
    (Debian Bug#815086 by Vladimir Kudrya <[email protected]>)
  • [notify] Notification scripts can be disabled globaly (see notify.conf).
    (Debian Bug#787297 by Christoph Anton Mitterer <[email protected]>)
  • [Core] Improve output of restart commands.

2.6

17 Feb 21:16
Compare
Choose a tag to compare
2.6

ChangeLog:

  • [Bug] Do not notify system users via email.
    (Debian Bug#812399 by Marc Haber [email protected])
  • [Bug] Do no restart services in interactive restart mode while
    debconf's noninteractive frontend is used.
    (Debian Bug#803249 by Felix Geyer [email protected])
  • [Bug] Fix broken detection of old mappings due to regression
    introduced in v2.3 (commit acf6a07).
    (Debian Bug#810970 by Andreas Schmidt [email protected])

2.5

05 Jan 22:21
Compare
Choose a tag to compare
2.5

ChangeLog:

  • [Bug] Fix broken kernel detection due to syntax error.
    (Debian Bug#810031 by Martin Steigerwald <[email protected]>)

2.4

01 Jan 23:24
Compare
Choose a tag to compare
2.4

ChangeLog:

  • [Bug] Drop unused dependency on File::Slurp.
    (Debian Bug#799733 by Christoph Anton Mitterer <[email protected]>)
    (Debian Bug#799734 by Sven Hartge <[email protected]>)
  • [Bug] Add user@\d+.service to override_rc.
    (Debian Bug#788380 by Shirish Agarwal <[email protected]>)
  • [Bug] Add override for systemd-logind due to another systemd regression.
    (Debian Bug#800718 by Sven Hartge <[email protected]>)
  • [Bug] Fix grammar in hook scripts.
    (Debian Bug#805980 by Justin B Rye <[email protected]>)
  • [Bug] Fix kernel detection on non x86* arch.
    (Debian Bug#800720 by Sven Hartge <[email protected]>)
  • [Kernel] Extract kernel version on non-x86(_64) archs (allows ABI checks).

2.3

19 Sep 20:04
Compare
Choose a tag to compare
2.3

ChangeLog:

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

2.2

19 Sep 21:36
Compare
Choose a tag to compare
2.2

ChangeLog:

  • [regression] Processes using chroot were always detected as obsolete since missing binaries in /proc/PID/root/ (Debian Bug#786584 by François Mescam <[email protected]>).

2.1

19 Sep 20:07
Compare
Choose a tag to compare
2.1

ChangeLog:

  • [Bug] Ignore /usr/bin/apt-get (Debian Bug#784237 by Thijs Kinkhorst <[email protected]>).
  • [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 <[email protected]>).
  • [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 <[email protected]>).
  • [Interp] Skip scanning files with Interp/* if cwd is unknown (Debian Bug#779832 by wforumw <[email protected]>).
  • [Interp] Skip scanning files with Interp/* if cwd is unknown (Debian Bug#779832 by wforumw <[email protected]>).
  • [Kernel] Add kernel hints option not requiring an acknowledgement by the user (Debian Bug#769811 by Axel Beckert <[email protected]>).
  • [Kernel] Take version number comparing stuff from Dpkg::Version to compare kernel versions correctly (Debian Bug#781657 by Martin Steigerwald <[email protected]>).
  • [UI] Improve restart query in interactive mode (stdio) (Debian Bug#772859 by Axel Beckert <[email protected]>).

2.0

23 Jan 00:14
Compare
Choose a tag to compare
2.0

ChangeLog:

  • [regression] List commands in list mode.
    (Debian Bug#764042 by Paul Wise <[email protected]>)
  • Add a conf.d/ directory.
    (Debian Bug#764043 by Paul Wise <[email protected]&gt:)
  • [UI] Fix empty current/expected kernel version string used by
    debconf template.
    (Debian Bug#764917 by Laurent Bonnaud <[email protected]>)
  • Don't blacklist services by default but use a new override_rc option
    to don't restart some critical services by default.
    (Debian Bug#763937 by Christoph Anton Mitterer <[email protected]>)
  • Don't restart services greylisted in override_rc in auto mode.
    (Debian Bug#770937 by Axel Beckert <[email protected]>)
  • [UI] Disable progress bar while running non-interactive.
    (Debian Bug#768124 by Phillip Berndt <[email protected]>)
  • [UI] Fix warning on uninitialized values while reading from /dev/stdin.
    (Debian Bug#768124 by Phillip Berndt <[email protected]>)
  • [Interp] Add basic Java detection support.
  • Add PolicyKit action file to allow needrestart-session to run
    needrestart as root.
  • [UI] Add -f <fe> CLI parameter to allow to overwrite the
    DEBIAN_FRONTEND environment variable used by debconf(7).