Package: needrestart Version: 2.11-3+deb9u1 Severity: normal Dear Maintainer,
please consider blacklisting networking.service in needrestart.conf similar to NetworkManager or other networking related services. After the upgrade to the stable point release 9.8 which included updates to libc, I noticed a lot of services failed on my network gateway which runs Debian. After the package upgrades needrestart issued a restart of the following services: Restarting services... /etc/needrestart/restart.d/systemd-manager systemctl restart arpwatch.service chrony.service cron.service haveged.service networking.service rsyslog.service serial-getty@ttyS0.service smartd.service ssh.service systemd-udevd.service unbound.service Quite a few of these services failed to restart however, since they rely on network interfaces which were down due to the restart of networking.service. SSHD, for example, logged this: sshd: error: Bind to port 22 on 172.16.2.1 failed: Cannot assign requested address. sshd: fatal: Cannot bind any address. Other networking related services such as unbound, dhcpcd and arpwatch failed at the same time. Therefore, I suggest to blacklist networking.service. Thanks! -- Package-specific info: needrestart output: -- System Information: Debian Release: 9.8 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (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.25 ii gettext-base 0.19.8.1-2 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-3+deb9u5 ii xz-utils 5.2.2-1.2+b1 Versions of packages needrestart recommends: ii libpam-systemd 232-25+deb9u9 Versions of packages needrestart suggests: pn needrestart-session | libnotify-bin <none>