Skip to content

Releases: liske/needrestart

2.10

04 Nov 16:15
Compare
Choose a tag to compare
  • Features:
    • [Interp] Allow ignoring of interpreted files.
      (github issue #39 by Wolfgang Karall @wolfgangkarall)
    • [Core] Make verification of mapped files in fileystem configurable as a
      workaround for broken grsecurity kernels.
      (github issue #46 by @jleroy @eigengrau)
    • [Core] Make ignore of mapped files configurable.
      (github issue #45 by @stbuehler)
  • Fixes:
    • [Core] Do not ignore processes if maps file could not be read.
    • [Perl] Silence warnings of Module::ScanDeps for dynamic loaded modules.
      (github issue #41 by @bxkx @r-lindner)
    • [UI] Do not use Text::Wrap while printing restart commands.
      (Debian Bug#838622 by Paul Wise pabs@debian.org)
    • [Core] Do really restart services in automatic mode.
      (Debian Bug#838355 by Georg georg@riseup.net)
    • [Kernel] Include /boot/*.img while looking for linux kernel images.
      Fixes kernel detection on Raspbian.
      (github issue #38 by @fenhl)

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 <evgeni@debian.org>)
    • [Conf] Pass arguments of apt-pinvoke to needrestart.
      (Debian Bug#826220 by Wolfgang Karall-Ahlborn <lists+debian-bugs@karall-edv.at>)
    • [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 <lists+debian-bugs@karall-edv.at>)
  • 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 <pabs@debian.org>)
    • [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 <pabs@debian.org>)
    • [Core] Handle newlines in kernel versions gracefully.
      (Debian Bug#827162 by Martin Steigerwald <martin@lichtvoll.de>)
    • [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 <pabs@debian.org>)
    • [Core] Print a combined systemctl restart command line for skipped
      services (config option).
      (Debian Bug#818853 by Paul Wise <pabs@debian.org>)
    • [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 <adrelanos@riseup.net>))
    • [Cont] Detect systemd-machined containers.
  • Fixes:
    • [Conf] Add xendomains to override_rc.
      (Debian Bug#817807 by Samuel Thibault <sthibault@debian.org>)
    • [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 <francois.petitjean@bureauveritas.com>)
    • [notify.d] Fix bashisms in /etc/needrestart/notify.d/*.
      (Debian Bug#818001 by Cristian Ionescu-Idbohrn
      <cristian.ionescu-idbohrn@axis.com>)
      (github issue #21 by Sebastian Brandt @sbrandtb)
      (Debian Bug#824184 by Axel Beckert <abe@debian.org>)
    • [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 <michael@fladi.at>)
  • [Bug] Add display-manager 'slim' to override.
    (Debian Bug#816061 by Lars Kruse <devel@sumpfralle.de>)
  • [debconf] Add russian translation.
    (Debian Bug#815086 by Vladimir Kudrya <pzs-fs@yandex.ru>)
  • [notify] Add support for translation of notify scripts.
    (Debian Bug#815086 by Vladimir Kudrya <pzs-fs@yandex.ru>)
  • [Core] Add support for translation of core script.
    (Debian Bug#815086 by Vladimir Kudrya <pzs-fs@yandex.ru>)
  • [Bug] Fix missing translations in debconf template file.
    (Debian Bug#815086 by Vladimir Kudrya <pzs-fs@yandex.ru>)
  • [notify] Notification scripts can be disabled globaly (see notify.conf).
    (Debian Bug#787297 by Christoph Anton Mitterer <calestyo@scientia.net>)
  • [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 mh+debian-packages@zugschlus.de)
  • [Bug] Do no restart services in interactive restart mode while
    debconf's noninteractive frontend is used.
    (Debian Bug#803249 by Felix Geyer fgeyer@debian.org)
  • [Bug] Fix broken detection of old mappings due to regression
    introduced in v2.3 (commit acf6a07).
    (Debian Bug#810970 by Andreas Schmidt pi-c@arcor.de)

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 <martin@lichtvoll.de>)

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 <calestyo@scientia.net>)
    (Debian Bug#799734 by Sven Hartge <sven@svenhartge.de>)
  • [Bug] Add user@\d+.service to override_rc.
    (Debian Bug#788380 by Shirish Agarwal <shirishag75@gmail.com>)
  • [Bug] Add override for systemd-logind due to another systemd regression.
    (Debian Bug#800718 by Sven Hartge <sven@svenhartge.de>)
  • [Bug] Fix grammar in hook scripts.
    (Debian Bug#805980 by Justin B Rye <justin.byam.rye@gmail.com>)
  • [Bug] Fix kernel detection on non x86* arch.
    (Debian Bug#800720 by Sven Hartge <sven@svenhartge.de>)
  • [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 <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.

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 <francois@mescam.org>).

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 <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>).