[systemd-devel] Systemd --user and the role of DBUS API

Ian Geiser igeiser at devonit.com
Wed Aug 19 08:54:11 PDT 2015



On 08/19/2015 11:32 AM, Mantas Mikulėnas wrote:
> On Wed, Aug 19, 2015 at 4:47 PM, Ian Geiser <igeiser at devonit.com
> <mailto:igeiser at devonit.com>> wrote:

...snip...

>
> Not quite; …/systemd/private is not even a bus – it's a direct
> peer-to-peer connection to systemd, providing just that one service. (It
> is therefore independent of which dbus-daemon version you're running.)
>
> So you need to connect to it in a slightly different way
> (e.g. "g_dbus_connection_new_for_address()").
>
> Also keep in mind that this socket is for internal systemd use only
> (hence its name), and can be removed from systemd /at any time /in some
> future release. For your own projects it's better to set up the actual
> user bus.
>
Oh okay, yeah that makes sense now. So I will leave that alone then and

>
>
> Yes, that would work. (Though e.g. if you use polkit it should be the
> very latest version as well.)
>
Okay, I am looking at that now. Thanks a TON!

> [Also that's some /weird/ quoting style of yours]
I have no clue what outlook "tried" to do. it's a bit "speshul" :D  back 
to a sensible mail client now...


More information about the systemd-devel mailing list