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 according to syslog. Then if I run needrestart again immediately
after te first run, needrestart proposes the same services to be restarted
once more. However, after needrestart has exited, the output on the console
reads: "No services should be restarted..."

This does not happen on my systems running Wheezy with sysvinit: when I run
needrestart a second time, it will immediately exit with the above message.

I'm unable to reproduce this behavior. Needrestart seems to working fine on my Jessie+systemd testbed. Could you please provide the output of needrestart -v of one of the affected systems?


Regards,
Thomas


PS: The affected systems are GNU/Linux? There is a known issue in needrestart 0.9 on GNU/kFreeBSD which results in trying to restart all services any time needrestart is run...

-- Package-specific info:
needrestart output:
Scanning processes
Scanning candidates
Pending kernel upgrade!

Running kernel version:
   3.12-1-amd64

Diagnostics:
   Running not the expected kernel version 3.14-1-amd64.

You should consider to reboot this machine to activate the pending kernel 
upgrade. You need to reboot MANUALLY! [Return]
No services required to be restarted.



-- System Information:
Debian Release: jessie/sid
   APT prefers testing
   APT policy: (300, 'testing'), (200, 'unstable'), (160, 'experimental'), 
(150, 'stable'), (140, 'proposed-updates'), (100, 'oldstable-updates'), (100, 
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages needrestart depends on:
ii  libmodule-find-perl        0.12-1
ii  libmodule-scandeps-perl    1.13-1
ii  libproc-processtable-perl  0.50-1
ii  libsort-naturally-perl     1.03-1
ii  perl                       5.18.2-4

needrestart recommends no packages.

needrestart suggests no packages.

-- 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

Reply via email to