← Back to team overview

ubuntu-phone team mailing list archive

Re: Landing team 03.06.14

 

Paul Larson [2014-06-03 22:15 -0500]:
> So I guess one question is whether or not ofono-phonesim-autostart really
> needs dbus-x11 installed.

Yes, it does, as the way it's currently built it calls dbus-launch.
However:

 - As of yesterday (1.6.18-0ubuntu8), the Xsession.d/ script in
   dbus-x11 does not spawn a new bus any more on session start if
   there already is a session bus.

 - As discussed with Antti, ofono-phonesim-autostart is destined to go
   away. Current ofono has a D-BUS API for enabling/disabling phonesim
   and the tests are supposed to run their own phonesim instances
   (with possibly different configs for each test case).

Any remaining effect of dbus-launch can merely mean that the process
that does e. g. a gdbus call does not have $DBUS_SESSION_BUS_ADDRESS.
I. e. without dbus-x11 it would fail to connect, with dbus-x11 it
would spawn a new bus. Either way, the bug would be that the process
doesn't have $DBUS_SESSION_BUS_ADDRESS in the first place, and it
would just behave "differently wrongly" in either case, but never
correct.

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


References