Skip to content

Releases: liske/needrestart

3.1

3.1

Choose a tag to compare

@liske liske released this 29 Mar 21:37

ChangeLog

  • Changes:

    • [uCode] Handle microcode upgrades in early boot initrd images,
      required at least on Arch Linux.
      (github issue #106 by @Wuestengecko)
  • Fixes:

    • [uCode] Fix uninitialized value in batch mode.
      (Debian Bug#891923 by Bob Proulx <bob@proulx.com>)
      (github issue #105 by Evgenii Terechkov @evgkrsk)
    • [uCode] Fix completely broken microcode update detection.
      (github issue #108 by @Wuestengecko)
    • [UI] Fix microcode revision placeholders in NeedRestart::UI::stdio.

3.0

3.0

Choose a tag to compare

@liske liske released this 23 Feb 12:41

Changes:

  • Features:
    • [Core] Possible to suspend needrestart in apt-get hook using
      the NEEDRESTART_SUSPEND environment variable.
      (github issue #71 by Ludovic Gasc @GMLudo et. al.)
    • [Core] Possible to override the configured restart mode using
      the NEEDRESTART_MODE environment variable.
      (Debian Bug#866105 by Marc Haber mh+debian-bugs@zugschlus.de)
    • [uCode] Check for pending Intel microcode updates.
      (Debian Bug#886445 by Paul Wise pabs@debian.org)
  • Changes:
    • [Core] Do not try to restart service units with RefuseManualStop=yes.
      (github issue #75 by Marc Dequènes @duck-rh)
    • [Kernel] Try to adopt RPM's version sorting to get most recent kernel.
      (github issue #73 by Maximilian Gaß @mxey)
    • [Core] Tune blacklist_mappings default setting to match on deleted maps.
    • [UI] Respect verbosity in UI::stdio, just like UI::Debconf.
      (github pull request #88 by @guillaume-uH57J9)
    • [Core] Improve output formating.
      (github issue #84 by Stavros Ntentos @stdedos)
    • [Core] Improve container detection to skip kernel and microcode checks.
  • Fixes:
    • [Core] Makefile: Fix installation of restart.d/ scripts.
      (Debian Bug#851866 by Sven Hartge sven@svenhartge.de)
    • [Core] Fix warning in Perl 5.20.x, not triggered in 5.24.x
      in needrestart.conf (Oil Runtime Compiler's JIT files).
      (patch by Patrick Matthäi (Debian))
    • [Core] Do not restart oneshot services.
      (Debian Bug#862840 by Alan Jenkins alan.christopher.jenkins@gmail.com)
    • [Core] Ignore rc-local.service.
      (Debian Bug#852864 by Paul Wise pabs@debian.org)
    • [Core] Do not restart libvirt by default.
      (github issue #69 by Craig Andrews @candrews)
    • [Interp/Perl] Add missing cwd restore before a return.
      (github issues #55 and #70 Craig Andrews @candrews and Stefan Bühler @stbuehler)
    • [Core] README.md: Fix spelling.
      (github issue #74 by Edward Betts @EdwardBetts)
    • [Core] Add bird to override.
      (github issue #78 by Björn Lässig @Farom)
    • [Interp/(Perl|Python)] Use absolute paths used to search the package
      of a script file.
      (github issue #79 by Christopher Odenbach @odenbach)
    • [Hook] Use rpm -q --filesbypkg rather than rpmquery.
      (github issue #81 by Sven Hartge @shartge)
    • [CONT] Detect docker container ns running not on systemd.
    • [CONT] Ignore processes running inside docker containers.
      (github issue #80 by Christopher Odenbach @odenbach)
    • [Core] Ignore special filename mappings used by recent versions of
      KDE plasmashell.
      (github issue #65 by @GoTeamAnt)
      (Debian Bug#879091 by Paul Wise pabs@debian.org)
    • [Core] Fix handling of library mappings if target does not exist.
      (github issue #58 by @pigen)
      (Debian Bug#878700 by Richard Hector richard@walnut.gen.nz)
    • [Hook] Fix handling of multiarch packages.
      (github issue #56 by @mayasd)
    • [Interp] Ignore interpreter processes with unreachable root fs (i.e.
      in different mnt ns).
      (github issue #72 by Stefan Bühler @stbuehler)
    • [Core] Add missing unnamed device major numbers (fix for OpenVZ).
      (Debian Bug#876452 by Piotr Pańczyk piotr.panczyk@assecobs.pl)
    • [UI] Do not call GetTerminalSize() if STDOUT is not a TTY.
      (Debian Bug#859387 by by Paul Wise pabs@debian.org)
      (github issues #85 and #86 by @guillaume-uH57J9)
    • [UI] Fix switch from interactive to list mode if debconf is run
      noninteractive.
      (Debian Bug#876459 by Piotr Pańczyk piotr.panczyk@assecobs.pl)
    • [man] Add documentation on restart mode if run non-interactive.
      (Debian Bug#842512 by Antoine Beaupré anarcat@debian.org)
    • [Core] Ignore some Java false positives (JNA, JFFI).
      (github pull request #89 by Maximilian Gaß @mxey)
      (github issue #60 by @Ge-Fa)
    • [Core] Output NRPE message "root needed" on stdout.
      (github pull request #91 by @nirgal)
    • [Core] Use override_cont when querying containers.
      (github pull request #94 by Nigel Kukard @nkukard)
    • [Core] Do not restart docker by default.
    • [Core] Fix typo in man page.
      (Debian Bug#885448 by Paul Wise pabs@debian.org)
    • [Interp] Fix perl warning if cwd is unreachable.
      (github issue #99 by @glitsj16)
    • [Hook] Replace remaining calls of rpmquery by rpm.
      (github issue #100 by Matthias Hörmann @taladar)
    • [Core] Fix additional unit detection in dbus restart handler.
      (github issue #104 by Alexander Barton @alexbarton)

2.11

Choose a tag to compare

@liske liske released this 29 Oct 15:13
  • Features:
    • [Core] Allow special treatment to restart services (i.e. dbus).
      (github issue #44 by @Vladimir-csp)
    • [Cont] Support restarting LXD-based LXC containers.
      (github issue #26 by James Johnston @JohnstonJ)
    • [Core] New config option to enforce legacy session detection if systemd
      is used without PAM integration.
      (github issue #52 by @micw and Eric S. @Korni22)
  • Fixes:
    • [Core] Fix default config type for override_* settings.
      (github issue #47 by @mphilipps)
    • [Kernel] Ignore initrd filenames while looking for kernel image files.
      (github issue #49 by Evgenii Terechkov @evgkrsk)
    • [Kernel] Strip .img from version string when deducting the kernel
      version from filename.
      (github issue #49 by Evgenii Terechkov @evgkrsk)
    • [Core] Fix wrong regex quotation in default configuration file.
      (Debian Bug#844283 by Paul Wise pabs@debian.org)
    • [Core] Add display-manager 'lxdm' to override.
      (Debian Bug#845996 by Rodrigo Campos rodrigo@sdfg.com.ar)
    • [Interp] Make paths when searching source files relative to the root
      path of the process.
      (github issue #54 by Tomasz Kontusz @ktosiek)

2.10

Choose a tag to compare

@liske liske released this 04 Nov 16:15
  • 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

2.9

Choose a tag to compare

@liske liske released this 04 Sep 19:48
  • 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

2.8

Choose a tag to compare

@liske liske released this 16 May 16:50
  • 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

2.7

Choose a tag to compare

@liske liske released this 06 Mar 13:52

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

2.6

Choose a tag to compare

@liske liske released this 17 Feb 21:16

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

2.5

Choose a tag to compare

@liske liske released this 05 Jan 22:21

ChangeLog:

  • [Bug] Fix broken kernel detection due to syntax error.
    (Debian Bug#810031 by Martin Steigerwald <martin@lichtvoll.de>)

2.4

2.4

Choose a tag to compare

@liske liske released this 01 Jan 23:24

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