busd 0.7 is out: a D-Bus bus (broker) implementation in Rust, based on zbus. Und...
zbus @zbus@toot.cat
busd 0.7 is out: a D-Bus bus (broker) implementation in Rust, based on zbus. Under systemd, it now restarts without dropping its clients, who notice nothing but a pause, and it enforces the policies of its configuration, a step towards serving as a system bus.
What's new:
• On a restart with socket activation and a file descriptor store, busd hands its clients over to its next instance, through zbus 6.3 and zoter.
• It listens on the socket of systemd's socket activation, and tells systemd once it's ready.
• It enforces the policies of its configuration as dbus-broker does, and reads them again on `ReloadConfig`.
• It sets quotas for each user, as dbus-broker does.
• Only privileged clients may become monitors.
• It serves the `org.freedesktop.DBus.Debug.Stats` interface.
Also in this release:
• Routing a message takes fewer locks and allocations.
• `build-pgo.sh` builds busd with profile-guided optimization, for distributions.
• A client that stalls has 10 s to take a message, rather than 100 ms, before busd disconnects it.
What breaks:
• TCP support is gone: busd listens on Unix sockets only.
• busd only lets the clients of its own user connect to a session bus, unless its configuration allows others.
Release notes: https://github.com/z-galaxy/busd/releases/tag/0.7.0
Crate: https://crates.io/crates/busd
zoter: https://crates.io/crates/zoter