emersion / basu

The sd-bus library, extracted from systemd
59 stars 8 forks source link

make dbus system bus default address configurable #31

Closed TimB87 closed 3 years ago

TimB87 commented 3 years ago

This tries to solve #30 with making the system bus default address configurable by the user, while defaulting to what has been hardcoded before.

Many thanks to @vilhalmer for helping out in that issue :-)

kennylevinsen commented 3 years ago

https://gitlab.freedesktop.org/dbus/dbus/-/blob/master/doc/dbus-specification.xml#L5666-5677.

I suppose it doesn't hurt to have it be configurable still, but it seems like the correct default is /var/run/dbus/system_bus_socket.

TimB87 commented 3 years ago

I decided to be unobtrusive, but I'm happy to change that to /var/run/dbus/system_bus_socket :-)

kennylevinsen commented 3 years ago

Thanks!