[systemd-devel] DBus api of systemd user instance
lennart at poettering.net
Sun Mar 8 15:14:21 PDT 2015
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 Poettering, Red Hat
More information about the systemd-devel