summaryrefslogtreecommitdiff
path: root/src/dbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus.c')
-rw-r--r--src/dbus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dbus.c b/src/dbus.c
index 31e776fc30..7afb0fb5e1 100644
--- a/src/dbus.c
+++ b/src/dbus.c
@@ -955,6 +955,7 @@ static int bus_init_private(Manager *m) {
if (getpid() != 1)
return 0;
+ unlink("/dev/.run/systemd/private");
if (!(m->private_bus = dbus_server_listen("unix:path=/dev/.run/systemd/private", &error))) {
log_error("Failed to create private D-Bus server: %s", error.message);
r = -EIO;