On Sun, 21 Sep 2014 11:44:29 +0200 Thomas Liske <tho...@fiasko-nw.net>
wrote:
> On 09/21/2014 03:42 AM, Sven Hartge wrote:

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

See attachments. This time there are of course different services to be
restarted.

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

I guess this happened after the upgrade to systemd 215, but I am not sure.

Grüße,
Sven.
[Core] Using UI 'NeedRestart::UI::stdio'...
[main] detected systemd
[main] #7244 uses non-existing /lib/i386-linux-gnu/libkmod.so.2.2.8.dpkg-new
[main] #7244 is not a child
[main] #7245 uses non-existing /lib/i386-linux-gnu/libkmod.so.2.2.8.dpkg-new
[main] #7245 is a child of #7244
[main] #7286 uses non-existing /lib/i386-linux-gnu/libtinfo.so.5.9.dpkg-new
[main] #7286 is not a child
[main] #7287 uses non-existing /lib/i386-linux-gnu/libtinfo.so.5.9.dpkg-new
[main] #7287 is a child of #7286
[main] #7288 uses non-existing /lib/i386-linux-gnu/libtinfo.so.5.9.dpkg-new
[main] #7288 is a child of #7286
[main] #7289 uses non-existing /lib/i386-linux-gnu/libtinfo.so.5.9.dpkg-new
[main] #7289 is a child of #7286
[main] #7290 uses non-existing /lib/i386-linux-gnu/libtinfo.so.5.9.dpkg-new
[main] #7290 is a child of #7286
[main] #7291 uses non-existing /lib/i386-linux-gnu/libtinfo.so.5.9.dpkg-new
[main] #7291 is a child of #7286
[main] #7294 uses non-existing /lib/i386-linux-gnu/libgcc_s.so.1.dpkg-new
[main] #7294 is a child of #7286
[main] #7305 uses non-existing /lib/i386-linux-gnu/libtinfo.so.5.9.dpkg-new
[main] #7305 is a child of #7292
[main] #7385 uses non-existing /lib/i386-linux-gnu/libtinfo.so.5.9.dpkg-new
[main] #7385 is a child of #7384
[main] #7395 uses non-existing /lib/i386-linux-gnu/libtinfo.so.5.9.dpkg-new
[main] #7395 is a child of #7286
[main] #7413 uses non-existing /lib/i386-linux-gnu/libtinfo.so.5.9.dpkg-new
[main] #7413 is a child of #7412
[main] #7441 uses non-existing /lib/i386-linux-gnu/libtinfo.so.5.9.dpkg-new
[main] #7441 is a child of #7413
[Core] #8578 is a NeedRestart::Interp::Perl
# Use of runtime loader module Module::Implementation detected.  Results of 
static scanning may be incomplete.
# Use of runtime loader module Module::Runtime detected.  Results of static 
scanning may be incomplete.
[Core] #9200 is a NeedRestart::Interp::Perl
[Core] #11173 is a NeedRestart::Interp::Perl
[Perl] #11173: could not get a source file, skipping
[Core] #11302 is a NeedRestart::Interp::Perl
[Core] #11303 is a NeedRestart::Interp::Perl
[Perl] #11303: could not get a source file, skipping
[Core] #11304 is a NeedRestart::Interp::Perl
[Perl] #11304: could not get a source file, skipping
[Core] #11305 is a NeedRestart::Interp::Perl
[Perl] #11305: could not get a source file, skipping
[Core] #11367 is a NeedRestart::Interp::Perl
[Core] #12859 is a NeedRestart::Interp::Perl
[Perl] #12859: could not get a source file, skipping
[Core] #12860 is a NeedRestart::Interp::Perl
[Core] #19232 is a NeedRestart::Interp::Perl
[Perl] #19232: could not get a source file, skipping
[Core] #19233 is a NeedRestart::Interp::Perl
[Perl] #19233: could not get a source file, skipping
[Core] #19236 is a NeedRestart::Interp::Perl
[Perl] #19236: could not get a source file, skipping
[Core] #19237 is a NeedRestart::Interp::Perl
[Perl] #19237: could not get a source file, skipping
[Core] #19242 is a NeedRestart::Interp::Perl
[Perl] #19242: could not get a source file, skipping
[Core] #20141 is a NeedRestart::Interp::Python
[Core] #21975 is a NeedRestart::Interp::Python
[Core] #24168 is a NeedRestart::Interp::Perl
[Perl] #24168: could not get a source file, skipping
[Core] #24333 is a NeedRestart::Interp::Perl
[Perl] #24333: could not get a source file, skipping
[Core] #24334 is a NeedRestart::Interp::Perl
[Perl] #24334: could not get a source file, skipping
[main] #24373 uses obsolete binary /usr/bin/perl.dpkg-new
[main] #24373 is not a child
[main] #26014 uses non-existing /lib/i386-linux-gnu/libtinfo.so.5.9.dpkg-new
[main] #26014 is a child of #7286
[main] #26119 uses non-existing /lib/i386-linux-gnu/libtinfo.so.5.9.dpkg-new
[main] #26119 is a child of #26014
[main] #26122 uses non-existing /lib/i386-linux-gnu/libtinfo.so.5.9.dpkg-new
[main] #26122 is a child of #26121
[main] #7244 exe => /lib/systemd/systemd
[main] #7244 is * user@1000.service
[main] #7286 exe => /usr/bin/screen
[main] #7286 running /etc/needrestart/hook.d/10-dpkg
[main] #7286 package: screen
[main] #7286 rc.d script screen-cleanup should not start in the current 
run-level(5)
[main] #7286 running /etc/needrestart/hook.d/20-rpm
[main] #7286 running /etc/needrestart/hook.d/30-pacman
[main] #7286 running /etc/needrestart/hook.d/90-none
[main] #7292 exe => /bin/dash
[main] #7292 running /etc/needrestart/hook.d/10-dpkg
[main] #7292 package: dash
[main] #7292 running /etc/needrestart/hook.d/20-rpm
[main] #7292 running /etc/needrestart/hook.d/30-pacman
[main] #7292 running /etc/needrestart/hook.d/90-none
[main] #7384 exe => /usr/bin/sudo
[main] #7412 exe => /usr/bin/sudo
[main] #7413 exe => /bin/bash
[main] #7413 running /etc/needrestart/hook.d/10-dpkg
[main] #7413 package: bash
[main] #7413 running /etc/needrestart/hook.d/20-rpm
[main] #7413 running /etc/needrestart/hook.d/30-pacman
[main] #7413 running /etc/needrestart/hook.d/90-none
[main] #24373 exe => /usr/bin/perl.dpkg-new
[Core] #24373 is a NeedRestart::Interp::Perl
[Perl] #24373: could not get a source file, skipping
[Core] #24373 source is UNKNOWN
[main] #24373 is * ddclient.service
[main] #26014 exe => /bin/bash
[main] #26014 running /etc/needrestart/hook.d/10-dpkg
[main] #26014 package: bash
[main] #26014 running /etc/needrestart/hook.d/20-rpm
[main] #26014 running /etc/needrestart/hook.d/30-pacman
[main] #26014 running /etc/needrestart/hook.d/90-none
[main] #26121 exe => /usr/bin/sudo
Services to be restarted:
systemctl restart * ddclient.service * user@1000.service
● ddclient.service - LSB: Update dynamic domain name service entries
   Loaded: loaded (/etc/init.d/ddclient)
   Active: active (running) since Sun 2014-09-21 03:35:18 CEST; 10h ago
  Process: 11158 ExecStop=/etc/init.d/ddclient stop (code=exited, 
status=0/SUCCESS)
  Process: 11168 ExecStart=/etc/init.d/ddclient start (code=exited, 
status=0/SUCCESS)
   CGroup: /system.slice/ddclient.service
           ├─11173 ddclient - sleeping for 30 second
           └─24373 ddclient - sleeping for 300 second

Sep 21 03:35:18 ds9 ddclient[11168]: Starting Dynamic DNS service update 
utility: ddclient.
Sep 21 03:35:18 ds9 systemd[1]: Started LSB: Update dynamic domain name service 
entries.

● ddclient.service - LSB: Update dynamic domain name service entries
   Loaded: loaded (/etc/init.d/ddclient)
   Active: active (running) since Sun 2014-09-21 03:35:18 CEST; 10h ago
  Process: 11158 ExecStop=/etc/init.d/ddclient stop (code=exited, 
status=0/SUCCESS)
  Process: 11168 ExecStart=/etc/init.d/ddclient start (code=exited, 
status=0/SUCCESS)
   CGroup: /system.slice/ddclient.service
           ├─11173 ddclient - sleeping for 30 second
           └─24373 ddclient - sleeping for 300 second

Sep 21 03:35:18 ds9 ddclient[11168]: Starting Dynamic DNS service update 
utility: ddclient.
Sep 21 03:35:18 ds9 systemd[1]: Started LSB: Update dynamic domain name service 
entries.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to