[ANNOUNCE] D-Bus Broker Project

WaLyong Cho walyong.cho at samsung.com
Thu Aug 24 05:23:10 UTC 2017


On 2017년 08월 23일 22:06, David Herrmann wrote:
> This is the first public release of dbus-broker.
> 
>     Git Tag: v3
>     Archive: https://github.com/bus1/dbus-broker/archive/v3/dbus-broker-v3.tar.gz
> 
> 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. Details are discussed in its introductory blog post:
> 
>     https://dvdhrm.github.io/rethinking-the-dbus-message-bus/
> 
> The project is still experimental and not meant for production use,
> yet. Packages are available for Fedora and Arch Linux. Other
> distributions will follow.
> 
> DETAILS:
>         https://github.com/bus1/dbus-broker/wiki
> 
> BUG REPORTS:
>         https://github.com/bus1/dbus-broker/issues
> 
> GIT:
>         git at github.com:bus1/dbus-broker.git
>         https://github.com/bus1/dbus-broker.git
> 
> PACKAGES:
>         https://copr.fedorainfracloud.org/coprs/g/bus1/dbus/package/dbus-broker/
>         https://aur.archlinux.org/packages/dbus-broker
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dbus
> 

Hello,

When I tried dbus-broker on my nspawn container, I can not boot up with
blow erros.

Aug 24 14:11:25 fedora-26 systemd[1]: Started D-Bus System Message Bus.
Aug 24 14:11:25 fedora-26 dbus-broker-launch[19]: Listening on inherited
socket
Aug 24 14:11:25 fedora-26 dbus-broker-launch[19]: Loading service
'/usr/share/dbus-1/system-services/org.freedesktop.locale1.service'
Aug 24 14:11:25 fedora-26 dbus-broker-launch[19]: ERROR
manager_run_child @ ../src/launch/main.c +302: No such file or directory
Aug 24 14:11:25 fedora-26 dbus-broker-launch[19]: ERROR
manager_load_service @ ../src/launch/main.c +653: Connection reset by peer
Aug 24 14:11:25 fedora-26 dbus-broker-launch[19]:
manager_load_services @ ../src/launch/main.c +714
Aug 24 14:11:25 fedora-26 dbus-broker-launch[19]:       manager_run @
../src/launch/main.c +856
Aug 24 14:11:25 fedora-26 dbus-broker-launch[19]:       run @
../src/launch/main.c +1021
Aug 24 14:11:25 fedora-26 dbus-broker-launch[19]:       main @
../src/launch/main.c +1054
Aug 24 14:11:25 fedora-26 dbus-broker-launch[19]: Exiting due to fatal
error: -104
Aug 24 14:11:50 fedora-26 systemd[1]: Failed to subscribe to
NameOwnerChanged signal for 'org.freedesktop.login1': Connection timed out
Aug 24 14:11:50 fedora-26 systemd[1]: Failed to subscribe to activation
signal: Connection timed out
Aug 24 14:11:50 fedora-26 systemd[1]: Failed to register name:
Connection timed out
Aug 24 14:11:50 fedora-26 systemd[1]: Failed to set up API bus:
Connection timed out
Aug 24 14:11:50 fedora-26 systemd[1]: Starting Login Service...
Aug 24 14:11:50 fedora-26 systemd[1]: Started Permit User Sessions.
Aug 24 14:11:50 fedora-26 systemd[1]: dbus-broker.service: Main process
exited, code=exited, status=1/FAILURE
Aug 24 14:11:50 fedora-26 systemd[1]: dbus-broker.service: Unit entered
failed state.
Aug 24 14:11:50 fedora-26 systemd[1]: dbus-broker.service: Failed with
result 'exit-code'.


> ERROR manager_run_child @ ../src/launch/main.c +302: No such file or
directory

This error can be resolved with below change.

diff --git a/src/launch/main.c b/src/launch/main.c
index 5f13e55..5de9f9f 100644
--- a/src/launch/main.c
+++ b/src/launch/main.c
@@ -269,7 +269,7 @@ static int manager_listen_path(Manager *manager,
const char *path) {
 static noreturn void manager_run_child(Manager *manager, int
fd_controller) {
         char str_controller[C_DECIMAL_MAX(int) + 1];
         const char * const argv[] = {
-                "dbus-broker",
+                "/usr/local/bin/dbus-broker",
                 "-v",
                 "--controller",
                 str_controller,

But I could not resolve connection reset problem.

Could you help me?


More information about the dbus mailing list