Your message dated Sat, 06 Oct 2018 10:02:08 +0000
with message-id <[email protected]>
and subject line Bug#901834: fixed in systemd 232-25+deb9u5
has caused the Debian Bug report #901834,
regarding systemd-networkd fails to start the network service because of race 
condition to dbus
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
901834: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901834
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
[email protected] // 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

--- End Message ---
--- Begin Message ---
Source: systemd
Source-Version: 232-25+deb9u5

We believe that the bug you reported is fixed in the latest version of
systemd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Biebl <[email protected]> (supplier of updated systemd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 15 Sep 2018 21:40:38 +0200
Source: systemd
Binary: systemd systemd-sysv systemd-container systemd-journal-remote 
systemd-coredump libpam-systemd libnss-myhostname libnss-mymachines 
libnss-resolve libnss-systemd libsystemd0 libsystemd-dev udev libudev1 
libudev-dev udev-udeb libudev1-udeb
Architecture: source
Version: 232-25+deb9u5
Distribution: stretch
Urgency: medium
Maintainer: Debian systemd Maintainers 
<[email protected]>
Changed-By: Michael Biebl <[email protected]>
Description:
 libnss-myhostname - nss module providing fallback resolution for the current 
hostname
 libnss-mymachines - nss module to resolve hostnames for local container 
instances
 libnss-resolve - nss module to resolve names via systemd-resolved
 libnss-systemd - nss module providing dynamic user and group name resolution
 libpam-systemd - system and service manager - PAM module
 libsystemd-dev - systemd utility library - development files
 libsystemd0 - systemd utility library
 libudev-dev - libudev development files
 libudev1   - libudev shared library
 libudev1-udeb - libudev shared library (udeb)
 systemd    - system and service manager
 systemd-container - systemd container/nspawn tools
 systemd-coredump - tools for storing and retrieving coredumps
 systemd-journal-remote - tools for sending and receiving remote journal logs
 systemd-sysv - system and service manager - SysV links
 udev       - /dev/ and hotplug management daemon
 udev-udeb  - /dev/ and hotplug management daemon (udeb)
Closes: 901834
Changes:
 systemd (232-25+deb9u5) stretch; urgency=medium
 .
   * networkd: Do not fail manager_connect_bus() if dbus is not active yet
     (Closes: #901834)
Checksums-Sha1:
 76c34c0e26a24dcefb06a8459139754e3fa00712 4797 systemd_232-25+deb9u5.dsc
 f5a067591ea576b826d82422e8859b231499ee57 209908 
systemd_232-25+deb9u5.debian.tar.xz
 a008cbd93ca779a5df2fab7fa1ee7971b1959f17 8867 
systemd_232-25+deb9u5_source.buildinfo
Checksums-Sha256:
 b4a4ddc28b98670b5dd43564baec99dfdcd6154a821ad4b087d95deb0ff8b55d 4797 
systemd_232-25+deb9u5.dsc
 760aafadfd9f43bc28db4185c4aea1fe8bbb2c29a9059c670b4629d4539a05c2 209908 
systemd_232-25+deb9u5.debian.tar.xz
 452a115e49c891c39a440c18d35d8b1006df0c7c86af9dbca1de492173382744 8867 
systemd_232-25+deb9u5_source.buildinfo
Files:
 78a8e0b2061b8248c0fffcbd1c777c8d 4797 admin optional systemd_232-25+deb9u5.dsc
 2eb0c5bf8f2bbd8781121128ecd5c3af 209908 admin optional 
systemd_232-25+deb9u5.debian.tar.xz
 0dbd38a6942a83bb63fd0547de64c8fa 8867 admin optional 
systemd_232-25+deb9u5_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECbOsLssWnJBDRcxUauHfDWCPItwFAlu2bdMACgkQauHfDWCP
ItzUaA/9G3WnJxBEenWjqCCL7Xvrqmrq53xw3mY710nge4ebe63a72JXrqdlpJxU
IUFitqrTVtkmU09f/nODhIlSYT12lm16962PvDpKgE+Fo/qwQhfSs/Gb3LRF6+W9
BabLEgUOwiIL726nbpm/kA8XsFVyyKtp36MLKGkAvmfq4C5InMvmeaPqSCvOA22p
AzoJL6rpiXbjpN4w4EYcMJQSCRy7GOUrvuOcCl8OeVBf/OFHzSv6lzcOS+q6smJk
ROhiJV6Gi5c2Z/um6mi9dZ2fHniIAZ6XlUX1xdrH/xC/Lnyxw90NWgpEGxtawn+R
HwRYeB5I6eF/w+BOkz2SifxOHvghYqTzesIFJrYWb38nQn100Rh/4Ny2KU83JS/1
ifN5g07zcueyQrzfIecraK/UF7rS4g+oyleoErczer65r+wJziO7x9WphUYkpks9
3nRRdmi75Dvz90lM64rHa0rhJAfwrPC/eJpdMYPgItgLFE1Hb3Hok64xQksf6zWO
npyES6H7rNA1reMPE5SkAcMKP5Y2Ecd+nICimxsyd1TIxq9zZfD5cSZ/xgymABCZ
aHfClsbpR2plHrvlONa2p6tkmG1c1WlhPxU35BtyRsZTVYoHCPc6n2exH5gDHvfv
YpPnKNRq6wm5xdw2oxXq2BdsEwtcXImhnkjeF2bX7bbWKKSSX3Y=
=TLik
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-systemd-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to