From f5a3628cc7aa132bb0ee6be48f3cedc2d8838046 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 19 Jun 2010 16:56:26 +0200 Subject: [PATCH] initctl: talk to systemd via the abstract private bus --- src/initctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/initctl.c b/src/initctl.c index def621d2..b6bcaf9f 100644 --- a/src/initctl.c +++ b/src/initctl.c @@ -296,7 +296,7 @@ static int server_init(Server *s, unsigned n_sockets) { s->n_fifos ++; } - if (!(s->bus = dbus_bus_get(DBUS_BUS_SYSTEM, &error))) { + if (!(s->bus = dbus_connection_open("unix:abstract=/org/freedesktop/systemd1/private", &error))) { log_error("Failed to get D-Bus connection: %s", error.message); goto fail; } -- 2.39.5