mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-20 13:36:39 +07:00
initctl: talk to systemd via the abstract private bus
This commit is contained in:
parent
4cd1fbcc06
commit
f5a3628cc7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user