Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package needrestart It fixes an upstream bug which leads to a false positive, see #928225 diff -Naur '--exclude=.svn' 3.4-3/debian/changelog 3.4-4/debian/changelog --- 3.4-3/debian/changelog 2019-04-18 11:17:08.756032831 +0200 +++ 3.4-4/debian/changelog 2019-05-09 11:26:38.505949290 +0200 @@ -1,3 +1,18 @@ +needrestart (3.4-4) unstable; urgency=medium + + * Add upstream patch 05-strip-leading-zeroes to remove leading zero before + testing in map_files. + Closes: #928225 + * Merge 3.4-3~bpo9+1 changelog. + + -- Patrick Matthäi <pmatth...@debian.org> Thu, 09 May 2019 11:18:46 +0200 + +needrestart (3.4-3~bpo9+1) stretch-backports; urgency=medium + + * Rebuild for stretch-backports. + + -- Patrick Matthäi <pmatth...@debian.org> Wed, 24 Apr 2019 10:04:02 +0200 + needrestart (3.4-3) unstable; urgency=medium * Add upstream patch 04-restore-cwd to restore the cwd when skipping diff -Naur '--exclude=.svn' 3.4-3/debian/patches/05-strip-leading-zeroes.diff 3.4-4/debian/patches/05-strip-leading-zeroes.diff --- 3.4-3/debian/patches/05-strip-leading-zeroes.diff 1970-01-01 01:00:00.000000000 +0100 +++ 3.4-4/debian/patches/05-strip-leading-zeroes.diff 2019-05-09 11:26:38.541949067 +0200 @@ -0,0 +1,23 @@ +From 017c9a11d9a3961477ed79200b2bce8963483575 Mon Sep 17 00:00:00 2001 +From: Thomas Liske <tho...@fiasko-nw.net> +Date: Fri, 3 May 2019 22:28:21 +0200 +Subject: [PATCH] [Core] Remove leading zero before testing in map_files + (Debian Bug#928225 by Alexander Galanin <a...@galanin.nnov.ru>). + +--- + needrestart | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/needrestart b/needrestart +index 2fc3379..ed18920 100755 +--- a/needrestart ++++ b/needrestart +@@ -504,6 +504,8 @@ if(defined($opt_l)) { + + # check for outdated lib mappings + unless($nrconf{skip_mapfiles} == 1) { ++ $maddr =~ s/^0+([^-])/$1/; ++ $maddr =~ s/-0+(.)/-$1/; + my @paths = ("/proc/$pid/map_files/$maddr", "/proc/$pid/root/$path"); + my ($testp) = grep { -e $_; } @paths; + unless($testp) { diff -Naur '--exclude=.svn' 3.4-3/debian/patches/series 3.4-4/debian/patches/series --- 3.4-3/debian/patches/series 2019-04-18 11:17:08.756032831 +0200 +++ 3.4-4/debian/patches/series 2019-05-09 11:26:38.517949215 +0200 @@ -2,3 +2,4 @@ 02-ignore-networking.diff 03-typo-env-var.diff 04-restore-cwd.diff +05-strip-leading-zeroes.diff unblock needrestart/3.4-4 -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled