Package: needrestart Version: 2.11-1 Severity: normal Hi!
Instead of doing "systemctl daemon-restart" needrestart tries to restart systemd-manager.service, which is of course unknown: Failed to restart systemd-manager.service: Unit systemd-manager.service not found. A log from "needrestart -v" showing the problem is attached. Grüße, Sven -- Package-specific info: needrestart output: Your outdated processes: alpine[355950], bash[355942, 355946, 356300, 355943, 355945, 355944], ccze[355976], dirmngr[355859], pkt-sudo[355953], syncthing[355857], syslogtail[355947], systemd[355854], tin[355949, 355981] checkrestart output: -- System Information: Debian Release: 9.0 APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (200, 'experimental'), (1, 'experimental-debug') Architecture: i386 (x86_64) Foreign Architectures: amd64 Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages needrestart depends on: ii dpkg 1.18.18 ii gettext-base 0.19.8.1-1 ii libintl-perl 1.26-2 ii libmodule-find-perl 0.13-1 ii libmodule-scandeps-perl 1.23-1 ii libproc-processtable-perl 0.53-2 ii libsort-naturally-perl 1.03-1 ii libterm-readkey-perl 2.37-1 ii perl 5.24.1-1 ii xz-utils 5.2.2-1.2 Versions of packages needrestart recommends: ii libpam-systemd 232-12 Versions of packages needrestart suggests: pn needrestart-session | libnotify-bin <none> -- Configuration Files: /etc/needrestart/notify.d/200-write changed [not included] /etc/needrestart/notify.d/600-mail changed [not included] -- debconf-show failed
[main] eval /etc/needrestart/needrestart.conf [main] needrestart v2.11 [main] running in root mode [Core] Using UI 'NeedRestart::UI::stdio'... [main] detected systemd [main] #1 uses deleted /lib/i386-linux-gnu/libgcc_s.so.1 [main] #1 is not a child [main] #1249 uses deleted /lib/i386-linux-gnu/libnss_files-2.24.so [main] #1249 is not a child [main] #355854 uses obsolete binary /lib/systemd/systemd [main] #355854 is not a child [main] #355855 uses obsolete binary /lib/systemd/systemd [main] #355855 is a child of #355854 [main] #355857 uses deleted /lib/i386-linux-gnu/libc-2.24.so [main] #355857 is a child of #355854 [main] #355858 uses obsolete binary /usr/bin/gpg-agent [main] #355858 is a child of #355854 [main] #355859 uses obsolete binary /usr/bin/dirmngr [main] #355859 is a child of #355854 [main] #355941 uses obsolete binary /usr/bin/screen [main] #355941 is not a child [main] #355942 uses deleted /lib/i386-linux-gnu/libnss_files-2.24.so [main] #355942 is a child of #355941 [main] #355943 uses deleted /lib/i386-linux-gnu/libnss_files-2.24.so [main] #355943 is a child of #355941 [main] #355944 uses deleted /lib/i386-linux-gnu/libnss_files-2.24.so [main] #355944 is a child of #355941 [main] #355945 uses deleted /lib/i386-linux-gnu/libnss_files-2.24.so [main] #355945 is a child of #355941 [main] #355946 uses deleted /lib/i386-linux-gnu/libnss_files-2.24.so [main] #355946 is a child of #355941 [main] #355947 uses deleted /lib/i386-linux-gnu/libc-2.24.so [main] #355947 is a child of #355941 [main] #355949 uses deleted /lib/i386-linux-gnu/libc-2.24.so [main] #355949 is a child of #355941 [main] #355950 uses deleted /lib/i386-linux-gnu/libgcc_s.so.1 [main] #355950 is a child of #355941 [main] #355953 uses deleted /lib/i386-linux-gnu/libc-2.24.so [main] #355953 is a child of #355941 [main] #355976 uses deleted /lib/i386-linux-gnu/libnss_files-2.24.so [main] #355976 is a child of #355947 [main] #355981 uses deleted /lib/i386-linux-gnu/libnss_files-2.24.so [main] #355981 is a child of #355949 [main] #356002 uses deleted /lib/x86_64-linux-gnu/libdl-2.24.so [main] #356002 is a child of #356001 [main] #356262 uses deleted /lib/i386-linux-gnu/libc-2.24.so [main] #356262 is a child of #356261 [main] #356300 uses deleted /lib/i386-linux-gnu/libnss_files-2.24.so [main] #356300 is a child of #355941 [main] #356557 uses deleted /lib/i386-linux-gnu/libnss_files-2.24.so [main] #356557 is a child of #356556 [main] #357646 uses deleted /lib/i386-linux-gnu/libc-2.24.so [main] #357646 is a child of #356557 [Core] #1517891 is a NeedRestart::Interp::Perl [Perl] #1517891: could not get a source file, skipping [Core] #1517984 is a NeedRestart::Interp::Perl [Perl] #1517984: source=/usr/sbin/munin-node [Core] #1518112 is a NeedRestart::Interp::Perl [Perl] #1518112: source=/usr/lib/news/bin/cnfsstat [main] #1979057 uses deleted /lib/x86_64-linux-gnu/libnss_dns-2.24.so [main] #1979057 is not a child [main] #3169120 uses deleted /lib/i386-linux-gnu/libgcc_s.so.1 [main] #3169120 is not a child [main] #3169136 uses deleted /lib/i386-linux-gnu/libgcc_s.so.1 [main] #3169136 is not a child [Core] #3417381 is a NeedRestart::Interp::Perl [Perl] #3417381: could not get a source file, skipping [Core] #3417383 is a NeedRestart::Interp::Perl [Perl] #3417383: source=/usr/lib/news/cancelwatch/cancelwatch [main] #3677365 uses deleted /lib/i386-linux-gnu/libgcc_s.so.1 [main] #3677365 is not a child [main] #3677441 uses deleted /lib/i386-linux-gnu/libgcc_s.so.1 [main] #3677441 is a child of #3677365 [Core] #3948619 is a NeedRestart::Interp::Python [Python] #3948619: source=/usr/bin/mini-dinstall [Core] #3948630 is a NeedRestart::Interp::Perl [Perl] #3948630: source=/usr/sbin/smokeping [Core] #3948790 is a NeedRestart::Interp::Python [Python] #3948790: source=/usr/lib/i386-linux-gnu/netdata/plugins.d/python.d.plugin [Core] #3949201 is a NeedRestart::Interp::Perl [Perl] #3949201: could not get a source file, skipping [Core] #3949240 is a NeedRestart::Interp::Python [Python] #3949240: source=/usr/bin/fail2ban-server [Core] #3949600 is a NeedRestart::Interp::Python [Python] #3949600: source=/usr/bin/reportbug [Core] #3949699 is a NeedRestart::Interp::Perl [Perl] #3949699: could not get a source file, skipping [Core] #3949700 is a NeedRestart::Interp::Perl [Perl] #3949700: could not get a source file, skipping [Core] #3949753 is a NeedRestart::Interp::Perl [Perl] #3949753: could not get a source file, skipping [Core] #3949754 is a NeedRestart::Interp::Perl [Perl] #3949754: could not get a source file, skipping [Core] #3949755 is a NeedRestart::Interp::Perl [Perl] #3949755: could not get a source file, skipping [Core] #3949917 is a NeedRestart::Interp::Perl [Perl] #3949917: source=/usr/share/smokeping/smokeping.cgi [main] #1 exe => /lib/systemd/systemd [main] #1 is systemd manager [main] #1249 exe => /usr/bin/dbus-daemon [main] #1249 is dbus.service [main] #355854 exe => /lib/systemd/systemd [main] #355854 part of user manager service: uid=1000 [main] #355941 exe => /usr/bin/screen [main] #355941 part of user session: uid=1000 sess=10102 [main] #355947 exe => /bin/dash [main] #355947 part of user session: uid=1000 sess=10102 [main] #355949 exe => /bin/dash [main] #355949 part of user session: uid=1000 sess=10102 [main] #356001 exe => /usr/bin/sudo [main] #356261 exe => /usr/bin/sudo [main] #356556 exe => /usr/bin/sudo [main] #356557 exe => /bin/bash [main] #356557 part of user session: uid=1000 sess=10102 [main] #1979057 exe => /usr/sbin/openvpn [main] #1979057 is openvpn@ds9.service [main] #3169120 exe => /lib/systemd/systemd-logind [main] #3169120 is systemd-logind.service [main] #3169136 exe => /lib/systemd/systemd-journald [main] #3169136 is systemd-journald.service [main] #3677365 exe => /usr/sbin/sshd [main] #3677365 part of user session: uid=1000 sess=17364 [Kernel] Linux: kernel release 4.8.0-2-amd64, kernel version #1 SMP Debian 4.8.15-2 (2017-01-04) Failed to load NeedRestart::Kernel::kFreeBSD: [Kernel/kFreeBSD] Not running on GNU/kFreeBSD! [Kernel/Linux] /boot/vmlinuz-4.8.0-2-amd64 => 4.8.0-2-amd64 (debian-ker...@lists.debian.org) #1 SMP Debian 4.8.15-2 (2017-01-04) [4.8.0-2-amd64]* [Kernel/Linux] Expected linux version: 4.8.0-2-amd64 Running kernel seems to be up-to-date. Restarting services... Services to be restarted: Restart «dbus.service»? [yNas?] Restart «openvpn@ds9.service»? [yNas?] Restart «systemd-journald.service»? [yNas?] Restart «systemd-logind.service»? [yNas?] Restart «systemd-manager»? [Ynas?] systemctl restart systemd-manager.service Failed to restart systemd-manager.service: Unit systemd-manager.service not found. Services being skipped: systemctl restart dbus.service systemctl restart openvpn@ds9.service systemctl restart systemd-journald.service systemctl restart systemd-logind.service No containers need to be restarted. User sessions running outdated binaries: oweh @ session #10102: bash[356557], screen[355941], syslogtail[355947], tin[355949] [main] run /etc/needrestart/notify.d/200-write oweh @ session #17364: sshd[3677365] [main] run /etc/needrestart/notify.d/200-write oweh @ user manager service: systemd[355854] [main] run /etc/needrestart/notify.d/200-write