Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package needrestart It fixes a RC bug by blacklisting for oneshot services, while it is closing one important and one serious bug. It also adds a patch (already in jessie-bpo) to fix a Perl warning, which only affects Perl 5.20.x, it makes backports easier. diff -Naur '--exclude=.svn' 2.11-2/debian/changelog 2.11-3/debian/changelog --- 2.11-2/debian/changelog 2017-01-24 10:56:05.028489330 +0100 +++ 2.11-3/debian/changelog 2017-05-26 15:59:51.615213743 +0200 @@ -1,3 +1,23 @@ +needrestart (2.11-3) unstable; urgency=high + + * Add patch 03-perl-warning to fix a warning from Perl triggered in version + 5.20. + * Merge 2.11-2~bpo8+1 changelog. + * Add patch 04-ignore-systemd-services to ignore apt-daily.service, + apt-daily-upgrade.service, unattended-upgrades.service and + rc-local.service. + Closes: #862840, #852864 + + -- Patrick Matthäi <pmatth...@debian.org> Fri, 26 May 2017 15:45:04 +0200 + +needrestart (2.11-2~bpo8+1) jessie-backports; urgency=medium + + * Rebuild for jessie-backports. + * Add patch 03-perl-warning to fix a warning from Perl triggered in version + 5.20. + + -- Patrick Matthäi <pmatth...@debian.org> Mon, 06 Feb 2017 10:42:32 +0100 + needrestart (2.11-2) unstable; urgency=high * Add patch 02-install-restart-d to fix installation of restart.d/ script diff -Naur '--exclude=.svn' 2.11-2/debian/patches/03-perl-warning.diff 2.11-3/debian/patches/03-perl-warning.diff --- 2.11-2/debian/patches/03-perl-warning.diff 1970-01-01 01:00:00.000000000 +0100 +++ 2.11-3/debian/patches/03-perl-warning.diff 2017-05-26 15:59:51.615213743 +0200 @@ -0,0 +1,14 @@ +# Fix warning in Perl 5.20.x. Not triggered in 5.24.x. + +diff -Naur needrestart-2.11.orig/ex/needrestart.conf needrestart-2.11/ex/needrestart.conf +--- needrestart-2.11.orig/ex/needrestart.conf 2017-01-17 16:00:20.000000000 +0100 ++++ needrestart-2.11/ex/needrestart.conf 2017-02-06 10:40:29.008100902 +0100 +@@ -150,7 +150,7 @@ + qr(^/\[aio\]), + + # Oil Runtime Compiler's JIT files +- qr(/orcexec\.[\w\d]+( \(deleted\))?$), ++ qr#/orcexec\.[\w\d]+( \(deleted\))?$#, + ]; + + # Verify mapped files in fileystem: diff -Naur '--exclude=.svn' 2.11-2/debian/patches/04-ignore-systemd-services.diff 2.11-3/debian/patches/04-ignore-systemd-services.diff --- 2.11-2/debian/patches/04-ignore-systemd-services.diff 1970-01-01 01:00:00.000000000 +0100 +++ 2.11-3/debian/patches/04-ignore-systemd-services.diff 2017-05-26 15:59:51.607213783 +0200 @@ -0,0 +1,24 @@ +# Ignore / Blacklist apt-daily.service, apt-daily-upgrade.service, +# unattended-upgrades.service and rc-local.service. +# Closes: #852864 +# Closes: #862840 + +diff -Naur needrestart-2.11.orig/ex/needrestart.conf needrestart-2.11/ex/needrestart.conf +--- needrestart-2.11.orig/ex/needrestart.conf 2017-05-26 15:46:38.987005457 +0200 ++++ needrestart-2.11/ex/needrestart.conf 2017-05-26 15:49:06.062305440 +0200 +@@ -121,6 +121,15 @@ + qr(^emergency\.service$) => 0, + qr(^rescue\.service$) => 0, + ++ # Do not restart oneshot service apt-daily, unattended-upgrades.service ++ # and apt-daily-upgrade.service,see #862840 ++ qr(^apt-daily\.service$) => 0, ++ qr(^apt-daily-upgrade\.service$) => 0, ++ qr(^unattended-upgrades\.service$) => 0, ++ ++ # Ignore rc-local.service, see #852864 ++ qr(^rc-local\.service$) => 0, ++ + # don't restart systemd-logind, see #798097 + qr(^systemd-logind) => 0, + }; diff -Naur '--exclude=.svn' 2.11-2/debian/patches/series 2.11-3/debian/patches/series --- 2.11-2/debian/patches/series 2017-01-24 10:56:05.020489378 +0100 +++ 2.11-3/debian/patches/series 2017-05-26 15:59:51.607213783 +0200 @@ -1,2 +1,4 @@ 01-use-invoke-rc-d.diff 02-install-restart-d.diff +03-perl-warning.diff +04-ignore-systemd-services.diff unblock needrestart/2.11-3 -- System Information: Debian Release: 8.8 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)