Public bug reported:

basic.target waits for dbus.socket (via sockets.target) AND dbus.socket
waits for basic.target, too, delaying dbus-daemon startup. At some point
a timeout happens, dbus is started and all queued services try to start
registering to the bus at the same time.

All services registering at the same time, seems to be triggering bugs
like this more often:
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/1871538/

This happens since Hirsute (dbus 1.12.20-1ubuntu3), where the following
delta was added:

Index: dbus-1.12.20/bus/dbus.socket.in
===================================================================
--- dbus-1.12.20.orig/bus/dbus.socket.in
+++ dbus-1.12.20/bus/dbus.socket.in
@@ -1,5 +1,9 @@
 [Unit]
 Description=D-Bus System Message Bus Socket
+# Do not stop on shutdown
+DefaultDependencies=no
+Wants=sysinit.target
+After=sysinit.target basic.target

 [Socket]
 ListenStream=@DBUS_SYSTEM_SOCKET@

** Affects: dbus (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1936948

Title:
  Dependency loop via sockets.target

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/1936948/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to