Bug#836295: ring: please use dbus-run-session, or dbus-daemon directly, in tests

Simon McVittie smcv at debian.org
Thu Sep 1 11:56:51 UTC 2016


Source: ring
Version: 20160818.1.eb4fbc8~dfsg1-2
Severity: minor
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 has build scripts that use dbus-launch for
automated testing.

This is really an upstream issue, and I'm not sure whether these tests are
even run in Debian.

This Flatpak commit illustrates how (the equivalent of) eval `dbus-launch`
can be replaced by invoking dbus-daemon directly, avoiding the X11-specific
and semi-deprecated dbus-launch executable:
<https://github.com/flatpak/flatpak/commit/6cc8062cfb3f9410d54a27e7ccca77c103e441e8>.

Alternatively, either the whole test executable or a subset of tests
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 -- some-test

That would allow removal of all the special code to start and stop
the dbus-daemon.

Thanks,
    S



More information about the Pkg-voip-maintainers mailing list