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

Thiago Macieira thiago at kde.org
Sat Sep 24 18:17:22 UTC 2016

On sexta-feira, 23 de setembro de 2016 16:24:17 PDT René J.V. Bertin wrote:
> If that is indeed the case, then a similar mechanism could be designed for
> DBUS_LAUNCHD_SYSTEM_BUS_SOCKET, knowing that in that case the system socket
> will always be at a different address. That's going to make it difficult to
> read the variable for all processes that don't run as the dbus user
> (messagebus), at least if we want to be able to do it via `launchtl getenv`
> instead of via a regular getenv().

Just do what Simon suggested: start dbus-daemon at boot and have it use a fixed 
Unix socket path that is known at compile time.

If you're going to treat macOS as a regular Unix, might as well implement the 
regular Unix solution.

Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

More information about the dbus mailing list