[Pkg-ayatana-devel] Bug#1019458: DBusTestRunner reads the address from dbus-daemon incorrectly
Guido Berhoerster
guido at berhoerster.name
Fri Sep 9 13:44:12 BST 2022
Package: libqtdbustest
Version: 0.2+bzr42+repack1-11
After starting dbus-daemon DBusTestRunner attempts to read the address from
stdout and puts it into DBUS_SESSION_BUS_ADDRESS and
DBUS_SYSTEM_BUS_ADDRESS
environemnt variables. Unfortunately it sets the process channel mode
of the
QProcess to QProcess::MergedChannels which results in stdout and
stderr being
merged. Therefore any warnings dbus-daemon prints to stderr will end
up in
those environment variables instead of the actual address causing
non-obvious
problems later on.
Attached patch makes this more robust.
--
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: 2250 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ayatana-devel/attachments/20220909/54d3b73a/attachment-0001.bin>
More information about the Pkg-ayatana-devel
mailing list