Bug#750734: needrestart: Wrongly proposes to restart daemons which don't need restart on Jessie + systemd

2014-06-06 Thread Frederik Himpe
Package: needrestart Version: 0.9-1 Severity: important On two systems which run Debian Wheezy and systemd, needrestart wants to restart lots of services every time it is run. When I run needrestart and let is restart all proposed services, then these services are correctly restarted according to

Bug#750734: needrestart: Wrongly proposes to restart daemons which don't need restart on Jessie + systemd

2014-06-07 Thread Thomas Liske
Hi Frederik, On 06/06/2014 01:24 PM, Frederik Himpe wrote: On two systems which run Debian Wheezy and systemd, needrestart wants to restart lots of services every time it is run. When I run needrestart and let is restart all proposed services, then these services are correctly restarted accordin

Bug#750734: needrestart: Wrongly proposes to restart daemons which don't need restart on Jessie + systemd

2014-06-10 Thread Frederik Himpe
On Sat, 2014-06-07 at 12:29 +0200, Thomas Liske wrote: > Hi Frederik, > > On 06/06/2014 01:24 PM, Frederik Himpe wrote: > > On two systems which run Debian Wheezy and systemd, needrestart wants to > > restart lots of services every time it is run. When I run needrestart and > > let is restart all

Bug#750734: needrestart: Wrongly proposes to restart daemons which don't need restart on Jessie + systemd

2014-06-10 Thread Thomas Liske
Re, thanks for the verbose logs... but I'm still unable to understand how this bug is triggered. If tried to --reinstall systemd, sshd, libssl1.0.0 - none of them seems to trigger the bug on my testbed. On 06/10/2014 01:50 PM, Frederik Himpe wrote: When I look at my logs, I see services were

Bug#750734: needrestart: Wrongly proposes to restart daemons which don't need restart on Jessie + systemd

2014-06-10 Thread Frederik Himpe
On Tue, 2014-06-10 at 15:35 +0200, Thomas Liske wrote: > Could you please provide some additional details of one of the false > positive detected daemons (i.e. sshd): > > > [main] #17451 exe => /usr/sbin/sshd > > [main] #17451 is ssh.service root@artipc10:/home/frederik# PID=17451 root@artipc1

Bug#750734: needrestart: Wrongly proposes to restart daemons which don't need restart on Jessie + systemd

2014-06-10 Thread Thomas Liske
Hi Frederik, On 06/10/2014 03:39 PM, Frederik Himpe wrote: root@artipc10:/home/frederik# cat /proc/$PID/maps 7f159c9c9000-7f159c9d4000 r-xp 00:10 175249 /lib/x86_64-linux-gnu/libnss_files-2.19.so ^ This seems to be the

Bug#750734: needrestart: Wrongly proposes to restart daemons which don't need restart on Jessie + systemd

2014-06-11 Thread Frederik Himpe
On Tue, 2014-06-10 at 16:31 +0200, Thomas Liske wrote: > Hi Frederik, > > On 06/10/2014 03:39 PM, Frederik Himpe wrote: > > root@artipc10:/home/frederik# cat /proc/$PID/maps > > 7f159c9c9000-7f159c9d4000 r-xp 00:10 175249 > > /lib/x86_64-linux-gnu/libnss_files-2.19.so

Bug#750734: needrestart: Wrongly proposes to restart daemons which don't need restart on Jessie + systemd

2014-06-11 Thread Thomas Liske
Re, On 06/11/2014 08:56 AM, Frederik Himpe wrote: On Tue, 2014-06-10 at 16:31 +0200, Thomas Liske wrote: Hi Frederik, On 06/10/2014 03:39 PM, Frederik Himpe wrote: root@artipc10:/home/frederik# cat /proc/$PID/maps 7f159c9c9000-7f159c9d4000 r-xp 00:10 175249 /lib/

Bug#750734: needrestart: Wrongly proposes to restart daemons which don't need restart on Jessie + systemd

2014-06-11 Thread Frederik Himpe
On Wed, 2014-06-11 at 10:06 +0200, Thomas Liske wrote: > LVM should be major ID 0xfd. My home dirs are on a logical volume, too: > > > $ stat .profile > > File: ‘.profile’ > > Size: 675 Blocks: 8 IO Block: 4096 regular file > > Device: fd00h/64768dInode: 23068995

Bug#750734: needrestart: Wrongly proposes to restart daemons which don't need restart on Jessie + systemd

2014-06-12 Thread Thomas Liske
Re, On 06/11/2014 10:17 AM, Frederik Himpe wrote: I am thinking of another thing the two affected systems have in common: they use BTRFS and file systems are mounted noatime. BTRFS seems to be the trigger. I've create two vanilla KVM VMs using Jessie's netinst alpha CD-ROM image and virtio bl

Bug#750734: needrestart: Wrongly proposes to restart daemons which don't need restart on Jessie + systemd

2014-06-13 Thread Thomas Liske
tags 750734 upstream fixed-upstream thanks Hi Frederik, upstream now contains a workaround which should ignore the broken device ID field in /proc//maps on btrfs filesystems. The patch will be part of the next needrestart release. Thanks for your support in finding the root of this bug. C