Replace dbus-daemon with dbus-broker

https://archlinux.org/news/making-dbus-broker-our-default-d-bus-daemon/
Do we have similar measures? I see that GDM still depends on dbus-daemon.

Your six years behind.

https://fedoraproject.org/wiki/Changes/DbusBrokerAsTheDefaultDbusImplementation

1 Like

But GDM still depends on dbus-daemon.

So what if gdm still requires dbus-daemon, the article you linked is about making dbus-broker the default systemd service.

$ systemctl status dbus-daemon.service 
â—‹ dbus-daemon.service - D-Bus System Message Bus
     Loaded: loaded (/usr/lib/systemd/system/dbus-daemon.service; disabled; preset: disabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: inactive (dead)
       Docs: man:dbus-daemon(1)
$ systemctl status dbus-broker.service 
â—Ź dbus-broker.service - D-Bus System Message Bus
     Loaded: loaded (/usr/lib/systemd/system/dbus-broker.service; enabled; preset: enabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Thu 2024-09-12 10:21:25 BST; 4 days ago
 Invocation: c3243195b37245aea27c7ac01d37eaed
TriggeredBy: â—Ź dbus.socket
       Docs: man:dbus-broker-launch(1)
   Main PID: 791 (dbus-broker-lau)
      Tasks: 2 (limit: 33394)
     Memory: 3.9M (peak: 9.5M swap: 2.5M swap peak: 3.7M)
        CPU: 5min 53.279s
     CGroup: /system.slice/dbus-broker.service
             ├─791 /usr/bin/dbus-broker-launch --scope system --audit
             └─794 dbus-broker --log 4 --controller 9 --machine-id a20d1ad2e480441eaa515dc0d9abdd4c --max-bytes 536870912 --max-fds 4096 --max-matches 131072 --audit

Sep 12 10:21:25 mpd-pc systemd[1]: Starting dbus-broker.service - D-Bus System Message Bus...
Sep 12 10:21:25 mpd-pc systemd[1]: Started dbus-broker.service - D-Bus System Message Bus.
Sep 12 10:21:25 mpd-pc dbus-broker-launch[791]: Ready

I’m still a bit confused. Since dbus-broker has replaced dbus-daemon, why does GDM still depends on dbus-daemon? Is it a problem with GDM?

1 Like

gdm depends on /usr/bin/dbus-run-session, which is provided by the dbus-daemon package Commit - rpms/gdm - bb7bcfdb36e64eaba91a6d5a8c47c4e1ef75d119 - src.fedoraproject.org

This is a technical limitation in GDM’s current design:

It doesn’t really seem like a big deal to me.

1 Like

Thank you for your reply. It seems that this is indeed the current limitation of GDM.