about using privileged (KAuth) helpers: system dbus daemon on OS X?

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Sep 23 13:38:01 UTC 2016


On 23/09/16 11:54, René J.V. Bertin wrote:
> The only issue here is using it from a privileged service that is
> launched with a minimal environment. The way the current init routines
> work the bus_connection_addresses entry for the session bus remains empty,
> which is considered an error before it is even known that that address is
> going to be used.

I have no idea why the launchd support works like this.

I would expect that it should work more like autolaunch:, with the
default DBUS_SESSION_BUS_CONNECT_ADDRESS perhaps being
"launchd:,autolaunch:" when compiled with launchd support, and
"autolaunch:" when compiled without, or something like that.

See also <https://bugs.freedesktop.org/show_bug.cgi?id=74029>, which as
far as I can see would be solved if launchd support behaved like a
normal transport.

See also <https://bugs.freedesktop.org/show_bug.cgi?id=58601>, which
asks for a specification for this transport.

-- 
Simon McVittie
Collabora Ltd. <http://www.collabora.com/>



More information about the dbus mailing list