[systemd-devel] DBus api of systemd user instance

Ragnar Thomsen rthomsen6 at gmail.com
Mon Mar 9 04:58:31 PDT 2015


Thanks for your replies. I managed to access the user bus by setting it up
according to the Arch guide.

Sincerely,
Ragnar



On Sun, Mar 8, 2015 at 11:14 PM, Lennart Poettering <lennart at poettering.net>
wrote:

> On Sat, 07.03.15 08:45, Mantas Mikulėnas (grawity at gmail.com) wrote:
>
> > On Fri, Mar 6, 2015 at 6:23 PM, Ragnar Thomsen <rthomsen6 at gmail.com>
> wrote:
> >
> > > Hey List,
> > >
> > > Does the user instance of systemd expose a dbus api?
> > >
> >
> > Yes, that's what `systemctl` uses.
> >
> >
> > > If yes, how does one access it?
> > >
> >
> > Much like the system instance – either over the DBus "user" bus, or over
> > the dedicated private socket ($XDG_RUNTIME_DIR/systemd/private).
>
> The latter is "private", as the name suggests. Do not access it from
> external programs, it is systemd's internal hack around ordering
> issues with dbus, and nobody but systemd's own tools should access
> it. It is going away when kdbus arrives, if you make use of it, then
> your application will break.
>
> Lennart
>
> --
> Lennart Poettering, Red Hat
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150309/37dfdd6f/attachment.html>


More information about the systemd-devel mailing list