Package: systemd Version: 232-25+deb9u2 Severity: important Hello,
we see the following output in syslog after reboots: systemd-networkd[288]: Could not connect to bus: Permission denied systemd[1]: systemd-networkd.service: Main process exited, code=exited, status=1/FAILURE systemd[1]: Failed to start Network Service. systemd[1]: systemd-networkd.service: Unit entered failed state. systemd[1]: systemd-networkd.service: Failed with result 'exit-code'. systemd[1]: systemd-networkd.service: Service has no hold-off time, scheduling restart. systemd[1]: Stopped Network Service After we patched systemd with the following upstream patch, it is starting successful again: https://github.com/systemd/systemd/commit/701afcbf125ee41c82cd49091806f93d24df562a diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c index c28088d3a3c..45f9b3d359b 100644 --- a/src/network/networkd-manager.c +++ b/src/network/networkd-manager.c @@ -136,10 +136,9 @@ int manager_connect_bus(Manager *m) { assert(m); r = sd_bus_default_system(&m->bus); - if (r == -ENOENT) { + if (r < 0) { /* We failed to connect? Yuck, we must be in early - * boot. Let's try in 5s again. As soon as we have - * kdbus we can stop doing this... */ + * boot. Let's try in 5s again. */ log_debug_errno(r, "Failed to connect to bus, trying again in 5s: %m"); diff --git a/src/resolve/resolved-bus.c b/src/resolve/resolved-bus.c index 5aa23485761..bf822d3aaa5 100644 --- a/src/resolve/resolved-bus.c +++ b/src/resolve/resolved-bus.c @@ -1644,8 +1644,7 @@ int manager_connect_bus(Manager *m) { r = sd_bus_default_system(&m->bus); if (r < 0) { /* We failed to connect? Yuck, we must be in early - * boot. Let's try in 5s again. As soon as we have - * kdbus we can stop doing this... */ + * boot. Let's try in 5s again. */ log_debug_errno(r, "Failed to connect to bus, trying again in 5s: %m"); Mit freundlichen Grüßen / With kind regards Tobias Karnat Infrastructure Operations Systems Engineer REMONDIS IT Services GmbH & Co. KG Brunnenstr. 138 // 44536 Lünen // Deutschland T +49 2306 106-8869 // F +49 2306 106-399-8869 tobias.kar...@remondis.de // remondis-it.de REMONDIS IT Services GmbH & Co. KG // Brunnenstr. 138 // 44536 Lünen // Deutschland // Amtsgericht Dortmund, HRA 17891 // Persönlich haftende Gesellschafterin: REMONDIS IT Services Verwaltungs GmbH, 44536 Lünen, Amtsgericht Dortmund, HRB 26665 // Geschäftsführer: Josef Brösterhaus, Lars Karnowsky -- Package-specific info: -- System Information: Debian Release: 9.4 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-6-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages systemd depends on: ii adduser 3.115 ii libacl1 2.2.52-3+b1 ii libapparmor1 2.11.0-3+deb9u2 ii libaudit1 1:2.6.7-2 ii libblkid1 2.29.2-1+deb9u1 ii libc6 2.24-11+deb9u3 ii libcap2 1:2.25-1 ii libcryptsetup4 2:1.7.3-4 ii libgcrypt20 1.7.6-2+deb9u3 ii libgpg-error0 1.26-2 ii libidn11 1.33-1 ii libip4tc0 1.6.0+snapshot20161117-6 ii libkmod2 23-2 ii liblz4-1 0.0~r131-2+b1 ii liblzma5 5.2.2-1.2+b1 ii libmount1 2.29.2-1+deb9u1 ii libpam0g 1.1.8-3.6 ii libseccomp2 2.3.1-2.1 ii libselinux1 2.6-3+b3 ii libsystemd0 232-25+deb9u2 ii mount 2.29.2-1+deb9u1 ii procps 2:3.3.12-3+deb9u1 ii util-linux 2.29.2-1+deb9u1 Versions of packages systemd recommends: ii dbus 1.10.26-0+deb9u1 ii libpam-systemd 232-25+deb9u2 Versions of packages systemd suggests: ii policykit-1 0.105-18 pn systemd-container <none> pn systemd-ui <none> Versions of packages systemd is related to: pn dracut <none> ii initramfs-tools 0.130 ii udev 232-25+deb9u2 -- Configuration Files: /etc/systemd/resolved.conf changed [not included] /etc/systemd/timesyncd.conf changed [not included] -- no debconf information