Multiple returns from dbus-daemon?

Simon McVittie smcv at collabora.com
Mon Nov 22 16:09:08 UTC 2021


On Sun, 21 Nov 2021 at 21:42:41 -0500, Robert Middleton wrote:
> I was just doing some updates to my dbus library, and I noticed that
> when I try to remove a match rule that doesn't exist, I get back two
> responses from the dbus-daemon: one 'method reply' message and one
> 'error reply' message.  Both of these messages have the same reply
> serial.  Is this to be expected?

No, that seems like a bug. Most D-Bus client libraries will use whichever
one they receive first, and ignore the other one because they are no
longer expecting a reply for that serial number.

https://gitlab.freedesktop.org/dbus/dbus/-/issues/351

    smcv


More information about the dbus mailing list