DevHeads.net

Request for testing: dbus-broker as system and user bus

Hi,

dbus-broker is a new DBus message bus implementation. We are proposing
it as the default in Fedora as of F29 [0], and as such we would be
grateful for as much testing as possible before the switch is made.

For instructions on how to test, see [1].

Cheers,

Tom and David

[0]: <https://fedoraproject.org/wiki/Changes/DbusBrokerAsTheDefaultDbusImplementation>
[1]: <https://fedoraproject.org/wiki/Changes/DbusBrokerAsTheDefaultDbusImplementation#How_To_Test>

Comments

Re: Request for testing: dbus-broker as system and user bus

By Kevin Fenzi at 03/22/2018 - 19:59

On 03/13/2018 07:04 AM, Tom Gundersen wrote:
So everything seems to be working fine for me with it, but I did notice
that the logs are... quite a bit more terse.

Here's the 4 messages I have so far:

Mar 22 16:46:20 taim.scrye.com systemd[1]: Starting D-Bus System Message
Bus...
Mar 22 16:46:20 taim.scrye.com systemd[1]: Started D-Bus System Message Bus.
Mar 22 16:46:26 taim.scrye.com dbus-broker[1284]: :1.27 failed to send
message, due to policy.
Mar 22 16:46:26 taim.scrye.com dbus-broker[1284]: :1.27 failed to send
message, due to policy.

For contrast, my last boot with dbus had 11673.
It appears dbus logs every connection:

Mar 21 13:32:43 taim.scrye.com systemd[1]: Started D-Bus System Message Bus.
Mar 21 13:32:43 taim.scrye.com dbus-daemon[1311]: [system] Successfully
activated service 'org.freedesktop.systemd1'
Mar 21 13:32:43 taim.scrye.com dbus-daemon[1311]: [system] Activating
via systemd: service name='org.freedesktop.hostname1'
unit='dbus-org.freedesktop.hostname1.service' requested by ':1.3' (uid=0
pid=1319 comm="/usr/libexec/bluetooth/bluetoothd "
label="system_u:system_r:bluetooth_t:s0")

I don't know if we need to log every success by default, but perhaps we
could find a middle ground? at least the failed sends might have more
information so we could see what was doing that?

Thanks.

kevin

Re: Request for testing: dbus-broker as system and user bus

By Tom Gundersen at 03/23/2018 - 07:24

Hi Kevin,

Thanks for testing!

[...]

I don't know if we need to log every success by default, but perhaps we
We attempted to keep the logging to a minimum, in particular we try to only
log in case of a potential problem.

The main log message is terse, but we include a lot of metadata (and we are
open to adding more). Query the journal with `-o verbose` to see more
information.

Cheers,

Tom

Re: Request for testing: dbus-broker as system and user bus

By Kevin Fenzi at 03/23/2018 - 14:10

On 03/23/2018 04:24 AM, Tom Gundersen wrote:
Ah ha. Yep. That gives the sort of info I was looking for.

Might mention that in the man pages or README or change page.

Thanks!

kevin

Re: Request for testing: dbus-broker as system and user bus

By Tom Gundersen at 03/25/2018 - 10:09

Indeed, will do!

Cheers,

Tom

Re: Request for testing: dbus-broker as system and user bus

By =?ISO-8859-1?Q?... at 03/19/2018 - 06:42

I would like to test it, but as long as it keeps the original dbus on my
system, I won't install it. I don't want two dbus implementations on my
system.

Vít

Dne 13.3.2018 v 15:04 Tom Gundersen napsal(a):

Re: Request for testing: dbus-broker as system and user bus

By Zbigniew =?utf-... at 03/19/2018 - 12:13

On Mon, Mar 19, 2018 at 11:42:57AM +0100, Vít Ondruch wrote:
Zbyszek