Package: needrestart Version: 1.1-1 Severity: normal Hi!
I noticed needrestart seems to do nothing with systemd as PID1. I added some debugging code into the restard_cmd function: sub restart_cmd($) { my $rc = shift; if($rc =~ /.+\.service$/) { push(@systemd_restart, $rc); print STDERR "$LOGPREF RC: \"$rc\"\n"; (); } else { (qq(service), $rc, qq(restart)); } } and here is the output: ----------------------------------- [main] RC: "* ddclient.service" [main] RC: "* smokeping.service" ----------------------------------- Very strange, where do those additional "* " come from? 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. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org