Hi Sven,

On 09/21/2014 03:42 AM, Sven Hartge wrote:
> Package: needrestart
> Version: 1.1-1
> Severity: normal
> 
> Hi!
> 
> I noticed needrestart seems to do nothing with systemd as PID1.

needrestart should work with systemd... could you please provide the
(full) output of:

- needrestart -vr l
- systemctl status `pidof smokeping`

> -----------------------------------
> [main] RC: "* ddclient.service"                                               
>                       
> [main] RC: "* smokeping.service"
> -----------------------------------
> Very strange, where do those additional "* " come from?

If needrestart detects systemd it uses systemctl status to get the
service name to be used to restart a daemon. This might break if the
output of `systemctl status` would differ somewho.


Thanks,
Thomas


> Which then results into the following command:
> 
>   systemctl restart * ddclient.service * smokeping.service
> 
> While running this at the normal command prompt works (kind of, you get
> tons of errors because the shell expands the *) it does not work
> when executed by needrestart.
> 
> Grüße,
> Sven.
> 
> 
> -- System Information:
> Debian Release: jessie/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (500, 'testing'), (200, 'experimental')
> Architecture: i386 (x86_64)
> Foreign Architectures: amd64
> 
> Kernel: Linux 3.16-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages needrestart depends on:
> ii  dpkg                             1.17.13
> ii  libmodule-find-perl              0.12-1
> ii  libmodule-scandeps-perl          1.15-1
> ii  libproc-processtable-perl        0.50-2+b1
> ii  libsort-naturally-perl           1.03-1
> ii  libterm-progressbar-simple-perl  0.03-1
> ii  perl                             5.20.1-1
> 
> needrestart recommends no packages.
> 
> needrestart suggests no packages.
> 


-- 

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