2021-07-20 14:18:22 |
Lukas Märdian |
bug |
|
|
added bug |
2021-07-20 15:03:25 |
Lukas Märdian |
tags |
|
rls-ii-incoming |
|
2021-07-22 17:45:46 |
Brian Murray |
tags |
rls-ii-incoming |
fr-1522 rls-ii-incoming |
|
2021-07-22 17:46:06 |
Brian Murray |
nominated for series |
|
Ubuntu Impish |
|
2021-07-22 17:46:06 |
Brian Murray |
bug task added |
|
dbus (Ubuntu Impish) |
|
2021-07-22 17:46:22 |
Brian Murray |
dbus (Ubuntu Impish): milestone |
|
ubuntu-21.10 |
|
2021-07-22 17:59:55 |
Brian Murray |
tags |
fr-1522 rls-ii-incoming |
fr-1522 |
|
2021-09-07 03:37:43 |
Launchpad Janitor |
dbus (Ubuntu): status |
New |
Confirmed |
|
2021-09-09 13:13:37 |
Lukas Märdian |
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@ |
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@
It leads to deadlock situations like this:
09:23:59.276245 systemd[1]: basic.target: starting held back, waiting for: sockets.target
09:23:59.276438 systemd[1]: dbus.socket: starting held back, waiting for: basic.target
09:23:59.304393 systemd[1]: dbus.service: starting held back, waiting for: dbus.socket |
|
2021-09-12 14:28:42 |
Launchpad Janitor |
dbus (Ubuntu Impish): status |
Confirmed |
Fix Released |
|
2023-06-09 12:16:38 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ogayot/ubuntu/+source/dbus/+git/dbus/+merge/444492 |
|
2023-07-18 09:14:36 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ogayot/ubuntu/+source/dbus/+git/dbus/+merge/447077 |
|
2023-07-18 09:15:14 |
Olivier Gayot |
merge proposal unlinked |
https://code.launchpad.net/~ogayot/ubuntu/+source/dbus/+git/dbus/+merge/447077 |
|
|
2023-07-20 10:58:51 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ogayot/ubuntu/+source/dbus/+git/dbus/+merge/447077 |
|
2023-09-15 11:02:35 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ogayot/ubuntu/+source/dbus/+git/dbus/+merge/451440 |
|
2023-09-15 11:03:36 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ogayot/ubuntu/+source/dbus/+git/dbus/+merge/451441 |
|
2023-09-15 11:05:25 |
Olivier Gayot |
merge proposal unlinked |
https://code.launchpad.net/~ogayot/ubuntu/+source/dbus/+git/dbus/+merge/451440 |
|
|
2023-12-05 15:54:49 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ogayot/ubuntu/+source/dbus/+git/dbus/+merge/456880 |
|
2023-12-05 15:56:00 |
Olivier Gayot |
merge proposal unlinked |
https://code.launchpad.net/~ogayot/ubuntu/+source/dbus/+git/dbus/+merge/456880 |
|
|
2024-01-02 13:40:15 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ogayot/ubuntu/+source/dbus/+git/dbus/+merge/456880 |
|
2024-01-02 13:48:10 |
Olivier Gayot |
merge proposal unlinked |
https://code.launchpad.net/~ogayot/ubuntu/+source/dbus/+git/dbus/+merge/456880 |
|
|