Bug#786584: needrestart: false positive avahi-daemon.service postfix.service rtkit-daemon.service

2015-06-23 Thread Paul Wise
I'm having this issue too, just with avahi-daemon. The fix from
upstream git fixed the issue for me, applied it to needrestart 2.1-1.

https://github.com/liske/needrestart/commit/c18299ba5f5bd298c478979f01f
df2b3001ba699.patch

-- 
bye,
pabs

https://wiki.debian.org/PaulWise



signature.asc
Description: This is a digitally signed message part


Bug#786584: needrestart: false positive avahi-daemon.service postfix.service rtkit-daemon.service

2015-05-23 Thread Thomas Liske
tags 786584 moreinfo, upstream
thanks

Hi François,

On 05/23/2015 07:58 AM, Francois Mescam wrote:
 Package: needrestart
 Version: 2.1-1
 Severity: minor
 
 Dear Maintainer,
 
 If I run needrestart after a reboot it ask me to restart avahi-daemon.service 
 postfix.service and
 rtkit-daemon.service.
 
 I put them in nrconf{blacklist_rc} to ignore them.

I'm unable to reproduce the problem. Could you please remove them
(temporary) from blacklist_rc and attach the output of ` needrestart -v
-r l`?


TIA,
Thomas

 With my best regards
 
 François
 
 -- Package-specific info:
 needrestart output:
 
 
 
 -- System Information:
 Debian Release: stretch/sid
   APT prefers unstable
   APT policy: (900, 'unstable'), (400, 'testing')
 Architecture: i386 (i686)
 
 Kernel: Linux 4.0.0-1-686-pae (SMP w/1 CPU core)
 Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (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.0
 ii  libmodule-find-perl0.12-1
 ii  libmodule-scandeps-perl1.16-1
 ii  libproc-processtable-perl  0.51-1
 ii  libsort-naturally-perl 1.03-1
 ii  libterm-readkey-perl   2.32-1+b1
 ii  perl   5.20.2-6
 
 needrestart recommends no packages.
 
 Versions of packages needrestart suggests:
 ii  libnotify-bin0.7.6-2
 ii  needrestart-session  0.3-2
 
 -- Configuration Files:
 /etc/needrestart/needrestart.conf changed:
 $nrconf{blacklist} = [
 # ignore sudo (not a daemon)
 q(^/usr/bin/sudo(\.dpkg-new)?$),
 # ignore DHCP clients
 q(^/sbin/(dhclient|dhcpcd5|pump|udhcpc)(\.dpkg-new)?$),
 # ignore apt-get (Debian Bug#784237)
 q(^/usr/bin/apt-get(\.dpkg-new)?$),
 ];
 $nrconf{blacklist_rc} = [
 q(^avahi-daemon) ,
 q(^postfix) ,
 q(^rtkit-daemon) ,
 ];
 $nrconf{override_rc} = {
 # DBus
 q(^dbus) = 0,
 # display managers
 q(^gdm) = 0,
 q(^kdm) = 0,
 q(^nodm) = 0,
 q(^wdm) = 0,
 q(^xdm) = 0,
 q(^lightdm) = 0,
 # networking stuff
 q(^network-manager) = 0,
 q(^NetworkManager) = 0,
 q(^wpa_supplicant) = 0,
 q(^openvpn) = 0,
 q(^quagga) = 0,
 q(^tinc) = 0,
 # gettys
 q(^getty@.+\.service) = 0,
 # misc
 q(^zfs-fuse) = 0,
 q(^mythtv-backend) = 0,
 # workaround for broken systemd-journald
 # (see also Debian Bug#771122  #771254)
 q(^systemd-journald) = 0,
 # more systemd stuff
 # (see also Debian Bug#784238  #784437)
 q(^emergency\.service$) = 0,
 q(^rescue\.service$) = 0,
 };
 if(-d q(/etc/needrestart/conf.d)) {
   foreach my $fn (sort /etc/needrestart/conf.d/*.conf) {
 print STDERR $LOGPREF eval $fn\n if($nrconf{verbose});
 eval do { local(@ARGV, $/) = $fn; };
 die Error parsing $fn: $@ if($@);
   }
 }
 
 /etc/needrestart/notify.d/600-mail changed:
 exit 0
 MAILX='/usr/bin/mail'
 test -x $MAILX || exit 1
 echo [$0] notify user $NR_USERNAME on $NR_SESSION via mail 12
 {
 echo Your session on host $(hostname -f) ($NR_SESSION) is running 
 obsolete binaries or libraries as listed below.
 echo
 echo Please consider to relogin or restart the affected processes!
 echo
 cat
 } | fold -s -w 72 | $MAILX -s Relogin or restarts on host $(hostname) 
 required! $NR_USERNAME
 
 
 -- no debconf information
 


-- 

::  WWW: http://fiasko-nw.net/~thomas/  ::
   :::  Jabber:   xmpp:tho...@jabber.fiasko-nw.net  :::
::  flickr:  http://www.flickr.com/photos/laugufe/  ::


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#786584: needrestart: false positive avahi-daemon.service postfix.service rtkit-daemon.service

2015-05-23 Thread Francois Mescam
Package: needrestart
Version: 2.1-1
Severity: minor

Dear Maintainer,

If I run needrestart after a reboot it ask me to restart avahi-daemon.service 
postfix.service and
rtkit-daemon.service.

I put them in nrconf{blacklist_rc} to ignore them.

With my best regards

François

-- Package-specific info:
needrestart output:



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (400, 'testing')
Architecture: i386 (i686)

Kernel: Linux 4.0.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (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.0
ii  libmodule-find-perl0.12-1
ii  libmodule-scandeps-perl1.16-1
ii  libproc-processtable-perl  0.51-1
ii  libsort-naturally-perl 1.03-1
ii  libterm-readkey-perl   2.32-1+b1
ii  perl   5.20.2-6

needrestart recommends no packages.

Versions of packages needrestart suggests:
ii  libnotify-bin0.7.6-2
ii  needrestart-session  0.3-2

-- Configuration Files:
/etc/needrestart/needrestart.conf changed:
$nrconf{blacklist} = [
# ignore sudo (not a daemon)
q(^/usr/bin/sudo(\.dpkg-new)?$),
# ignore DHCP clients
q(^/sbin/(dhclient|dhcpcd5|pump|udhcpc)(\.dpkg-new)?$),
# ignore apt-get (Debian Bug#784237)
q(^/usr/bin/apt-get(\.dpkg-new)?$),
];
$nrconf{blacklist_rc} = [
q(^avahi-daemon) ,
q(^postfix) ,
q(^rtkit-daemon) ,
];
$nrconf{override_rc} = {
# DBus
q(^dbus) = 0,
# display managers
q(^gdm) = 0,
q(^kdm) = 0,
q(^nodm) = 0,
q(^wdm) = 0,
q(^xdm) = 0,
q(^lightdm) = 0,
# networking stuff
q(^network-manager) = 0,
q(^NetworkManager) = 0,
q(^wpa_supplicant) = 0,
q(^openvpn) = 0,
q(^quagga) = 0,
q(^tinc) = 0,
# gettys
q(^getty@.+\.service) = 0,
# misc
q(^zfs-fuse) = 0,
q(^mythtv-backend) = 0,
# workaround for broken systemd-journald
# (see also Debian Bug#771122  #771254)
q(^systemd-journald) = 0,
# more systemd stuff
# (see also Debian Bug#784238  #784437)
q(^emergency\.service$) = 0,
q(^rescue\.service$) = 0,
};
if(-d q(/etc/needrestart/conf.d)) {
  foreach my $fn (sort /etc/needrestart/conf.d/*.conf) {
  print STDERR $LOGPREF eval $fn\n if($nrconf{verbose});
  eval do { local(@ARGV, $/) = $fn; };
  die Error parsing $fn: $@ if($@);
  }
}

/etc/needrestart/notify.d/600-mail changed:
exit 0
MAILX='/usr/bin/mail'
test -x $MAILX || exit 1
echo [$0] notify user $NR_USERNAME on $NR_SESSION via mail 12
{
echo Your session on host $(hostname -f) ($NR_SESSION) is running obsolete 
binaries or libraries as listed below.
echo
echo Please consider to relogin or restart the affected processes!
echo
cat
} | fold -s -w 72 | $MAILX -s Relogin or restarts on host $(hostname) 
required! $NR_USERNAME


-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#786584: needrestart: false positive avahi-daemon.service postfix.service rtkit-daemon.service

2015-05-23 Thread Francois Mescam



On 23/05/2015 09:48, Thomas Liske wrote:

I'm unable to reproduce the problem. Could you please remove them
(temporary) from blacklist_rc and attach the output of ` needrestart -v
-r l`?



# needrestart -v -r l
[main] eval /etc/needrestart/needrestart.conf
[main] running in root-mode
[Core] Using UI 'NeedRestart::UI::stdio'...
[main] detected systemd
[Core] #1135 is a NeedRestart::Interp::Python
[Core] #1687 is a NeedRestart::Interp::Python
[Core] #1700 is a NeedRestart::Interp::Python
[Core] #1701 is a NeedRestart::Interp::Python
[main] #2111 uses non-existing /usr/lib/rtkit/rtkit-daemon
[main] #2111 is not a child
[main] #2112 uses non-existing /usr/sbin/avahi-daemon
[main] #2112 is not a child
[main] #6311 uses non-existing 
/lib/i386-linux-gnu/i686/cmov/libnss_files-2.19.so

[main] #6311 is a child of #2253
[main] #2111 exe = /usr/lib/rtkit/rtkit-daemon
[main] #2111 is rtkit-daemon.service
[main] #2112 exe = /usr/sbin/avahi-daemon
[main] #2112 is avahi-daemon.service
[main] #2253 exe = /usr/lib/postfix/master
[main] #2253 is postfix.service
[Kernel] Linux: kernel release 4.0.0-1-686-pae, kernel version #1 SMP 
Debian 4.0.2-1 (2015-05-11)
[Kernel/Linux] /boot/vmlinuz-4.0.0-1-686-pae = 4.0.0-1-686-pae 
(debian-ker...@lists.debian.org) #1 SMP Debian 4.0.2-1 (2015-05-11) 
[4.0.0-1-686-pae]*
[Kernel/Linux] /boot/vmlinuz-3.16.0-4-686-pae = 3.16.0-4-686-pae 
(debian-ker...@lists.debian.org) #1 SMP Debian 3.16.7-ckt9-3 
(2015-04-23) [3.16.0-4-686-pae]
[Kernel/Linux] /boot/vmlinuz-3.16-3-686-pae = 3.16-3-686-pae 
(debian-ker...@lists.debian.org) #1 SMP Debian 3.16.5-1 (2014-10-10) 
[3.16-3-686-pae]
[Kernel/Linux] /boot/vmlinuz-3.16-2-686-pae = 3.16-2-686-pae 
(debian-ker...@lists.debian.org) #1 SMP Debian 3.16.3-2 (2014-09-20) 
[3.16-2-686-pae]
[Kernel/Linux] /boot/vmlinuz-3.16-1-686-pae = 3.16-1-686-pae 
(debian-ker...@lists.debian.org) #1 SMP Debian 3.16.2-3 (2014-09-13) 
[3.16-1-686-pae]
[Kernel/Linux] /boot/vmlinuz-3.14-2-686-pae = 3.14-2-686-pae 
(debian-ker...@lists.debian.org) #1 SMP Debian 3.14.15-2 (2014-08-09) 
[3.14-2-686-pae]
[Kernel/Linux] /boot/vmlinuz-3.14-1-686-pae = 3.14-1-686-pae 
(debian-ker...@lists.debian.org) #1 SMP Debian 3.14.9-1 (2014-06-30) 
[3.14-1-686-pae]
[Kernel/Linux] /boot/vmlinuz-3.13-1-686-pae = 3.13-1-686-pae 
(debian-ker...@lists.debian.org) #1 SMP Debian 3.13.10-1 (2014-04-15) 
[3.13-1-686-pae]
[Kernel/Linux] /boot/vmlinuz-3.12-1-686-pae = 3.12-1-686-pae 
(debian-ker...@lists.debian.org) #1 SMP Debian 3.12.9-1 (2014-02-01) 
[3.12-1-686-pae]
[Kernel/Linux] /boot/vmlinuz-3.11-2-686-pae = 3.11-2-686-pae 
(debian-ker...@lists.debian.org) #1 SMP Debian 3.11.10-1 (2013-12-04) 
[3.11-2-686-pae]
[Kernel/Linux] /boot/vmlinuz-3.11-1-686-pae = 3.11-1-686-pae 
(debian-ker...@lists.debian.org) #1 SMP Debian 3.11.6-2 (2013-11-01) 
[3.11-1-686-pae]
[Kernel/Linux] /boot/vmlinuz-3.10-3-686-pae = 3.10-3-686-pae 
(debian-ker...@lists.debian.org) #1 SMP Debian 3.10.11-1 (2013-09-10) 
[3.10-3-686-pae]
[Kernel/Linux] /boot/vmlinuz-3.10-2-686-pae = 3.10-2-686-pae 
(debian-ker...@lists.debian.org) #1 SMP Debian 3.10.7-1 (2013-08-17) 
[3.10-2-686-pae]
[Kernel/Linux] /boot/vmlinuz-3.9-1-686-pae = 3.9-1-686-pae 
(debian-ker...@lists.debian.org) #1 SMP Debian 3.9.6-1 [3.9-1-686-pae]
[Kernel/Linux] /boot/vmlinuz-3.2.0-4-686-pae = 3.2.0-4-686-pae 
(debian-ker...@lists.debian.org) #1 SMP Debian 3.2.46-1 [3.2.0-4-686-pae]
[Kernel/Linux] /boot/vmlinuz-3.2.0-3-686-pae = 3.2.0-3-686-pae 
(unknown@Debian) #1 SMP Mon Jul 23 03:50:34 UTC 2012 [3.2.0-3-686-pae]

[Kernel/Linux] Expected linux version: 4.0.0-1-686-pae
Running kernel seems to be up-to-date.
Services to be restarted:
systemctl restart avahi-daemon.service postfix.service rtkit-daemon.service
No containers need to be restarted.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org