[Pkg-ayatana-devel] Bug#1020848: Backwards-compatible behavior in starting dbus-daemon in DBusTestRunner

Guido Berhoerster guido at berhoerster.name
Tue Sep 27 14:50:41 BST 2022


Package: libqtdbustest
Version: 0.2+bzr42+repack1-12

Some consumers set the session or system configuration file argument
passed to the DBusTestRunner to 0, possibly with the intention to
avoid the unnecessary startup of either dbus-daemon instance.  This
worked before the patch from bug #1019458 by accident since it
resulted in an empty string passed to --config-file making
dbus-daemon quit with an error message which was erroneously
interpreted as the bus address.

The attached updated patch restores this behavior by checking
whether the configuration file passed in is empty and refraining
from starting dbus-daemon in that case.

In addition it fixes a copy & paste error in the address check of
system instances of dbus-daemon.

-- 
Guido Berhoerster
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1004_make-reading-address-from-dbus-daemon-more-robust.patch
Type: text/x-patch
Size: 4025 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ayatana-devel/attachments/20220927/fab5856b/attachment.bin>


More information about the Pkg-ayatana-devel mailing list