On 7/9/22 15:54, David C. Rankin wrote:
On 7/5/22 07:06, Simon Lees wrote:
Hi All,
For Tumbleweed and ALP we plan to follow Red Hat / Fedora / Debian and move from dbus-daemon to dbus-broker as it has a number of advantages and is what upstream is now focusing on.
Simon,
When you say "is what upstream is now focusing on" -- who/what is upstream? dbus-broker and dbus are separate (e.g. https://github.com/bus1/dbus-broker), but can be used as a replacement. Seeing the upstream comment, I went and checked what Arch is doing (as they drop anything not maintained upstream), and Arch is using dbus-daemon. Or did you mean Tumbleweed and ALP as upstream??
While they are separate projects the developers who were contributing the most into the dbus-daemon upstream in the last few years are now focusing more on dbus-broker. At this stage the developers of dbus-daemon have stated that they don't plan to stop maintaining it (ie fixing security issues and bugs) but at the same time they don't plan to add any new features or do any significant development on it.
Also what are the advantages of making the change to dbus-broker? What are we gaining by doing this?
The largest one is performance, under certain use cases with high traffic volumes dbus-daemon is unable to keep up and starts dropping messages which isn't ideal. When the dbus spec was originally created there were a bunch of extra features that people thought they'd use but didn't ever use including things like remote connections and many other deprecated features. Due to the design of dbus-daemon some of the issues that lead to poor performance weren't easily fixable so by focusing on performance, the use cases that people most use and by allowing themselves to use Linux only api's the dbus-broker rewrite is able to address these issues while maintaining compatibility with the current version of the spec. You can read https://dvdhrm.github.io/rethinking-the-dbus-message-bus/ for a more detailed description. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B