Your message dated Thu, 18 Feb 2016 10:23:59 +0000
with message-id <e1awlkd-0006kl...@franck.debian.org>
and subject line Bug#810970: fixed in needrestart 2.6-1
has caused the Debian Bug report #810970,
regarding needrestarts suggests only dbus, but ignores other services
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
810970: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810970
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: needrestart
Version: 2.5-1
Severity: important

Dear Maintainer,

lately I found that needrestart apparently does not find a lot of services that
should be restarted, while versions prior to needrestart 2.3-1 ( I'm not sure
of the exact version number since the last working version isn't available in
the repository any more) worked.

Have a look at this transcript:

*****
root@debian:/home/pc# dpkg -l | grep needrestart
ii  needrestart                                  2.5-1
all          check which daemons need to be restarted after library upgrades
ii  needrestart-session                          0.3-2
all          check for processes need to be restarted in user sessions
root@debian:/home/pc# TERM= needrestart
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Scanning processes...
Scanning candidates...
Pending kernel upgrade
----------------------

Newer kernel available

The currently running kernel version is 4.2.0-1-amd64 which is not the expected
kernel version 4.3.0-1-amd64.

Restarting the system to load the new kernel will not be handled automatically,
so you should consider rebooting.

Daemons using outdated libraries
--------------------------------


  1. dbus.service

(Enter the items you want to select, separated by spaces.)

Which services should be restarted?


No containers need to be restarted.
User sessions:
pc on session services is running obsolete systemd[2012]
root@debian:/home/pc# checkrestart
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
Found 23 processes using old versions of upgraded files
(21 distinct programs)
(18 distinct packages)

Of these, 16 seem to contain systemd service definitions or init scripts which
can be used to restart them.
The following packages seem to have definitions that could be used
to restart their services:
dnscrypt-proxy:
        800     /usr/sbin/dnscrypt-proxy
packagekit:
        21320   /usr/lib/packagekit/packagekitd
openssh-server:
        799     /usr/sbin/sshd
ntp:
        910     /usr/sbin/ntpd
dbus:
        723     /usr/bin/dbus-daemon
libvirt-daemon:
        18628   /usr/sbin/virtlogd
        18701   /usr/sbin/libvirtd
fetchmail:
        1741    /usr/bin/fetchmail
udisks2:
        2227    /usr/lib/udisks2/udisksd
wpasupplicant:
        14650   /sbin/wpa_supplicant
cron:
        753     /usr/sbin/cron
tor:
        1285    /usr/bin/tor
accountsservice:
        742     /usr/lib/accountsservice/accounts-daemon
policykit-1:
        1215    /usr/lib/policykit-1/polkitd
at:
        738     /usr/sbin/atd
upower:
        2499    /usr/lib/upower/upowerd
avahi-daemon:
        881     /usr/sbin/avahi-daemon
        734     /usr/sbin/avahi-daemon

These are the systemd services:
systemctl restart packagekit.service
systemctl restart packagekit-offline-update.service
systemctl restart udisks2.service
systemctl restart wpa_supplicant.service
systemctl restart accounts-daemon.service
systemctl restart polkitd.service
systemctl restart upower.service

These are the initd scripts:
service dnscrypt-proxy restart
service ssh restart
service ntp restart
service dbus restart
service virtlogd restart
service libvirtd restart
service fetchmail restart
service cron restart
service tor restart
service atd restart
service avahi-daemon restart

These processes (2) do not seem to have an associated init script to restart
them:
system-tools-backends:
        3545    /usr/sbin/system-tools-backends
        3662    /usr/share/system-tools-
backends-2.0/scripts/SystemToolsBackends.pl
iceweasel:
        20942   /usr/lib/iceweasel/iceweasel
root@debian:/home/pc#
*****

dbus is the one package I would not expect in the needrestart-list, since
restarting it will kill the running user session. But it is only listed as
restartable service, not restarted automatically, so I guess listing it is OK.
On the other hand, services like ssh, ntp, fetchmail, cron etc. are harmless to
the running user session and should be found by needrestart. The way it is, I'm
fairing better with this oneliner that restarts every service found by
checkrestart except dbus and the desktopmanager:

*****
root@debian:/home/pc# checkrestart | egrep "^(systemctl|service).*restart" |
egrep -v "(dbus|.*dm)" | while read i; do $i; done
*****

Would it be possible to let needrestart find the other services again?

Best regards

Andreas



-- Package-specific info:
needrestart output:
Your outdated processes:
my-weather-indi[2245]

checkrestart output:


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 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-4
ii  xz-utils                   5.1.1alpha+20120614-2.1

needrestart recommends no packages.

Versions of packages needrestart suggests:
ii  libnotify-bin        0.7.6-2
ii  needrestart-session  0.3-2

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: needrestart
Source-Version: 2.6-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 810...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Patrick Matthäi <pmatth...@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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Thu, 18 Feb 2016 09:53:35 +0100
Source: needrestart
Binary: needrestart
Architecture: source all
Version: 2.6-1
Distribution: unstable
Urgency: high
Maintainer: Patrick Matthäi <pmatth...@debian.org>
Changed-By: Patrick Matthäi <pmatth...@debian.org>
Description:
 needrestart - check which daemons need to be restarted after library upgrades
Closes: 803249 810970 812399
Changes:
 needrestart (2.6-1) unstable; urgency=high
 .
   * New upstream release.
     - Don't notify system users via email.
       Closes: #812399
     - Don't restart services in interactive restart mode while debconf's
       noninteractive frontend is used.
       Closes: #803249
     - Fix broken detection of old mappings due to regression introduced in 2.3.
       Closes: #810970
   * Bump Standards-Version to 3.9.7 (no changes required).
Checksums-Sha1:
 ad21a7d1a495e5d37f64f1ff143968397cee69cd 1744 needrestart_2.6-1.dsc
 d4ebc8603bc8393d58f4a0e9b410013ec8ab9df4 39476 needrestart_2.6.orig.tar.gz
 e9f7c0b26a7eaf16bf878122c45b388e5f9e4de9 5688 needrestart_2.6-1.debian.tar.xz
 c64a472840a4857945da74c514180dd045036f20 32764 needrestart_2.6-1_all.deb
Checksums-Sha256:
 f548adbf6296d75c63745611f3c6d1ca8270180798fd67a21e0bc44a62b709b2 1744 
needrestart_2.6-1.dsc
 c97be4ffce10cdaac6fae29b94eace41be35967caaa346c0da1deca7a8c797a8 39476 
needrestart_2.6.orig.tar.gz
 1cba5e864f54b5fb4af35d3ef4467d76a8707b7e7307da4e28981122bf5372e6 5688 
needrestart_2.6-1.debian.tar.xz
 459f31ccd532bd085b3ddc0d75dcd84488049524dbd6d79e0309893049272f57 32764 
needrestart_2.6-1_all.deb
Files:
 39b52f8626aa0337a785ff4a4c190ef0 1744 admin optional needrestart_2.6-1.dsc
 3b279c8cbaef15a87c3609f1abc2d5b0 39476 admin optional 
needrestart_2.6.orig.tar.gz
 5848a31d4ac99c57e361f355f415bfc7 5688 admin optional 
needrestart_2.6-1.debian.tar.xz
 7a6a881d31f0edbdd5eb1017bb5e562e 32764 admin optional needrestart_2.6-1_all.deb

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

iQIcBAEBCAAGBQJWxYdiAAoJEBLZsEqQy9jkk2UQAITz/ZdTqawBZS4ZBw0VRORj
tEjkZW+CvB25399UoGvJkRJJYO2bKr43eJvX+Wb+KWyyytbnzb4I8sgB5Mw3iKEt
gl7hd2xu4f7SskACsvUNrFbXG6ONmC0a+My05VBpVOt4UnGn3v1njoL2x2ai5xkj
uCSFQFVmh6gSBYraMZ/YRT12BzNmjEvHABuwnOb6ezA+h7gfS68SXss2gNN5Qw6k
/mlVwqRes1xJszT/HFg9fbIPRXgdhofqSefhZ0zj+D3JXxIBN4KcaR669YNf7DXy
fVBbBaOSW7kiyQiJZ9arGFmnMfNfi2dAW+lCJaLICb5w7nM5mRv81PGmXxuEpkZ6
kL9Uau2bxsdGPvaquobuQxrxwh/i1tMTyjOrbGhLez5+FYx6dZMSF1ol45S2YT2U
CX39MYNY9Sqa4MWNTVEDPtzfwT2EMumbCXa3s11CEvBC7pvmakAWH2o6Pi328O2u
c5RqmJWd00+kaAZyDvUvPPfzjB87dWgnRJwXYN+TRIBmlC8k6yYp2vjMVlBWUnxE
kRVwXmHsMzLVw5WrohCDdzqBumhly5Ifa0PshsGCW9vvh/K1XgtaNufS5qe8q1Mh
P4JLbRHngHALXGKTMBx22KCpWSCvgn9KVM8pVwqV+fcLDwtxvo9l7SW2JCrgiZVQ
e4QmgQ6/tk1dKjyiWhEa
=oDjR
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to