[Pkg-freeipa-devel] Bug#836119: oddjob: please use dbus-run-session, or dbus-daemon directly, in tests
Simon McVittie
smcv at debian.org
Tue Aug 30 17:00:30 UTC 2016
Source: oddjob
Version: 0.34.3-2
Severity: normal
Tags: upstream
User: dbus at packages.debian.org
Usertags: dbus-launch dbus-launch-for-tests
As described in <https://lists.debian.org/debian-devel/2016/08/msg00554.html>
I'm trying to reduce how much dbus-launch is used in Debian.
This package currently uses dbus-launch for its unit tests.
This Flatpak commit illustrates how (the equivalent of) eval `dbus-launch`
can be replaced by invoking dbus-daemon directly, avoiding the X11-specific
dbus-launch:
<https://github.com/flatpak/flatpak/commit/6cc8062cfb3f9410d54a27e7ccca77c103e441e8>.
Alternatively, the test executable could be run through
dbus-run-session(1), which is available since dbus 1.8, the upstream
"old stable" branch available since early 2014, and currently the
oldest branch with security support:
dbus-run-session -- ./test-oddjobd.sh
That would allow removal of all the special code to start and stop
the dbus-daemon.
Thanks,
S
More information about the Pkg-freeipa-devel
mailing list