Debian Bug report logs - #816630
needrestart: Systemd unit names containing dots parsed incorrectly

version graph

Package: needrestart; Maintainer for needrestart is Patrick Matthäi <pmatthaei@debian.org>; Source for needrestart is src:needrestart (PTS, buildd, popcon).

Reported by: Courtney Bane <debian-bugs-4450@cbane.org>

Date: Thu, 3 Mar 2016 15:27:02 UTC

Severity: normal

Tags: fixed-upstream, upstream

Found in version needrestart/2.6-1

Fixed in version needrestart/2.7-1

Done: Patrick Matthäi <pmatthaei@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Patrick Matthäi <pmatthaei@debian.org>:
Bug#816630; Package needrestart. (Thu, 03 Mar 2016 15:27:05 GMT) (full text, mbox, link).


Acknowledgement sent to Courtney Bane <debian-bugs-4450@cbane.org>:
New Bug report received and forwarded. Copy sent to Patrick Matthäi <pmatthaei@debian.org>. (Thu, 03 Mar 2016 15:27:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Courtney Bane <debian-bugs-4450@cbane.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: needrestart: Systemd unit names containing dots parsed incorrectly
Date: Thu, 3 Mar 2016 09:24:30 -0600
Package: needrestart
Version: 2.6-1
Severity: normal

Needrestart doesn't properly handle systemd unit names that contain dots
(e.g., "postgresql@9.5-main.service"). It strips the part of the unit
name that comes before any embedded dots (producing e.g.
"5-main.service"). This mangled unit name then can't be restarted.

This appears to have already been fixed upstream (see
https://github.com/liske/needrestart/pull/19).

-- Package-specific info:
needrestart output:
Your outdated processes:
emacs[2179], irssi[1775], tmux[1772], transmission-da[1074], zsh[1612, 1781, 5408, 1786, 1793, 1778, 14995]



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (700, 'unstable'), (500, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages needrestart depends on:
ii  dpkg                       1.18.4
ii  libmodule-find-perl        0.13-1
ii  libmodule-scandeps-perl    1.20-1
ii  libproc-processtable-perl  0.53-1+b1
ii  libsort-naturally-perl     1.03-1
ii  libterm-readkey-perl       2.33-1+b1
ii  perl                       5.22.1-7
ii  xz-utils                   5.1.1alpha+20120614-2.1

needrestart recommends no packages.

Versions of packages needrestart suggests:
pn  needrestart-session | libnotify-bin  <none>

-- no debconf information



Added tag(s) fixed-upstream and upstream. Request was from Thomas Liske <thomas@fiasko-nw.net> to control@bugs.debian.org. (Sun, 06 Mar 2016 13:36:04 GMT) (full text, mbox, link).


Reply sent to Patrick Matthäi <pmatthaei@debian.org>:
You have taken responsibility. (Thu, 10 Mar 2016 18:51:18 GMT) (full text, mbox, link).


Notification sent to Courtney Bane <debian-bugs-4450@cbane.org>:
Bug acknowledged by developer. (Thu, 10 Mar 2016 18:51:18 GMT) (full text, mbox, link).


Message #12 received at 816630-close@bugs.debian.org (full text, mbox, reply):

From: Patrick Matthäi <pmatthaei@debian.org>
To: 816630-close@bugs.debian.org
Subject: Bug#816630: fixed in needrestart 2.7-1
Date: Thu, 10 Mar 2016 18:49:21 +0000
Source: needrestart
Source-Version: 2.7-1

We believe that the bug you reported is fixed in the latest version of
needrestart, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 816630@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Patrick Matthäi <pmatthaei@debian.org> (supplier of updated needrestart package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 10 Mar 2016 19:36:03 +0100
Source: needrestart
Binary: needrestart
Architecture: source all
Version: 2.7-1
Distribution: unstable
Urgency: medium
Maintainer: Patrick Matthäi <pmatthaei@debian.org>
Changed-By: Patrick Matthäi <pmatthaei@debian.org>
Description:
 needrestart - check which daemons need to be restarted after library upgrades
Closes: 787297 815086 816061 816630
Changes:
 needrestart (2.7-1) unstable; urgency=medium
 .
   * New upstream release.
     - Add dependency on gettext-base and libintl-perl.
     - Install notify.conf file.
     - Install new locale mo files.
     - Add display-manager 'slim' to override.
       Closes: #816061
     - Allow systemd service names with dots in them.
       Closes: #816630
     - Add russian translation.
       Closes: #815086
     - Notification scripts can be disabled globaly (see notify.conf).
       Closes: #787297
Checksums-Sha1:
 7a7549c86aa71a348077e52cf5366352343e2cbb 1744 needrestart_2.7-1.dsc
 74b1d94dcfcf95f22d2acb238434fc88d655372b 43756 needrestart_2.7.orig.tar.gz
 90a9669da0025c6d0593ae29bb9287d3858b14c8 5844 needrestart_2.7-1.debian.tar.xz
 0aa849150334e6d80980b303f19c6184f4f89913 35626 needrestart_2.7-1_all.deb
Checksums-Sha256:
 18d746552009caa04b6916c4f52bbe25c411feabf43481f83425b379d4873e5c 1744 needrestart_2.7-1.dsc
 f13f5bfd7b7c5fd14ab42e9b626551f3bd1f3bd7a35f61b1a52e597fdad9a32e 43756 needrestart_2.7.orig.tar.gz
 43093c9647d8dfbf530eef8453e6e12c5c5c43400a50caef198a692557540c93 5844 needrestart_2.7-1.debian.tar.xz
 d8948212e4d4e061d6f5d957914751f8ee46c4f68b4d85b070627274b1e8c29b 35626 needrestart_2.7-1_all.deb
Files:
 94ee060a632eaa3658c910b11ef3515b 1744 admin optional needrestart_2.7-1.dsc
 76b34000db0ea5808bf7f928c68a430c 43756 admin optional needrestart_2.7.orig.tar.gz
 0a64fa8e528d40e8abd1b138e86646a9 5844 admin optional needrestart_2.7-1.debian.tar.xz
 91c73e22975c0420deae44dc743ac50d 35626 admin optional needrestart_2.7-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJW4b/dAAoJEBLZsEqQy9jkb7cP/iVimqtbhZv1prkdHdDBssft
2x2P+N7ZLSwMRrHonCIrOzOMhsgjDdk+rbuZfuGBbvASdw8kRP8bGznFEqL8D5n9
rPW+OJEaQMUM1p98UCmceeWp5Oi+s4NZn5ZoueCyW82LpjxY3i+fmomyeVNWfhtE
YEQl+WXIAKCVMWdHFGWIP1zofJmQFCGMMkliZ+sZATFmFmDsWxFc80zawg6NL1hS
WN7+FppYeGRz9dCKbEPgPJeizvVOy3xqg59aw6mQjxXIoLr1jf6xu1N1a0LABe5S
WVDi0CwLfgRvGIk+H07tU7Ne/jnSLDgK+dqrSelxEkU61/DCNG01UOqFPNVAPhau
EjlX8NwE4lho0xPRZa7C4JL+pDlOf3VburCFAY5yW2c9p9yxl7f5nuxmK8fO8rKE
X7EoYBn135CXpZRS4pPQhd0/hYr8e8t+cKTxJFnUXJuojE84skIrppRzvq2FSYHM
3u4oT/ceLZH5uBumpQPR6xjSE0USjwJLcQHERVf08XFhigpLQ4AQkZFQq2KTRl4n
LTFWOOQeyjCv6jX7oOStex0/FHm74kElkpC0E2N7y+pdvoW80c0hjRKP0JiShf9H
D+vlOAVR07PPIJyZfQxKxhFAkBnFYDCKawncLeNhzRo3NaXDGSCPSKPT6xx5EeZn
zmIBWZdx0ilxcQw0gwEz
=7nqN
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 13 Apr 2016 07:27:36 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 10 02:25:05 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.