Enable dbus-broker
Summary
Enable dbus-broker.service to use dbus-broker as system and session message bus backend.
Owner
- Name: David Herrmann
- Email: dh.herrmann@gmail.com
- Name: Tom Gundersen
- Email: teg@jklm.no
- Release notes owner:
Current status
- Targeted release: Fedora 29
- Last updated: 2018-01-10
- Tracker bug:
Detailed Description
The dbus-broker project is an implementation of a message bus as defined by the D-Bus specification. Its aim is to provide high performance and reliability, while keeping compatibility to the D-Bus reference implementation. It is exclusively written for linux systems, and makes use of many modern features provided by recent linux kernel releases.
Benefit to Fedora
D-Bus is a core part of Fedora, both used by system services, and in the user sessions. It will only become more critical as more things get containerized. This change provides a more scalable and more reliable implementation in place of the reference implementation. The reference implementation suffers from long-standing issues including potential dead-locks and susceptibility to denial of service attacks, which the replacement implementation does not.
Scope
- Proposal owners:
- Fix regressions.
- Other developers:
- Watch for regressions
- Enable
dbus-broker.service
in system and user-global context of systemd (via systemd presets). - Pull in
dbus-broker
package fromdbus
package.
- Release engineering: #1234567890
- List of deliverables: N/A (not a System Wide Change)
- Policies and guidelines: No changes needed.
- Trademark approval: No changes needed.
Upgrade/compatibility impact
It is safe to switch back and forth between dbus-daemon and dbus-broker as backend for the system and session buses. There is no data migration needed. The configuration and data formats are equivalent for both implementations.
All known compatibility issues are listed and discussed on the project wiki.
How To Test
Install the dbus-broker
package and enable it via:
systemctl enable dbus-broker.service systemctl --global enable dbus-broker.service
After a reboot dbus-broker will be used as system and session message bus. This can be easily reverted by running the corresponding systemctl disable
commands.
User Experience
No visible changes in behavior are expected, except for different log messages. Any visibly different behavior to dbus-daemon should be reported as a regression. Ideally, this change should only improve the performance and security of the message bus.
Dependencies
N/A
Contingency Plan
- Contingency mechanism: Revert to dbus-daemon.
- Contingency deadline: Any
- Blocks release? No
- Blocks product? None
Documentation
Release Notes
WIP