[Bug 1936948] Re: Dependency loop via sockets.target

Dimitri John Ledkov 1936948 at bugs.launchpad.net
Tue Jul 20 14:54:56 UTC 2021


i.e. basic.target is too much there.

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

Title:
  Dependency loop via sockets.target

Status in dbus package in Ubuntu:
  New

Bug description:
  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@

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




More information about the foundations-bugs mailing list