diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-03-14 16:15:31 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-03-14 16:15:31 +0100 |
commit | 6f79c579ec9c188173dde41395bbfb86c547fdd3 (patch) | |
tree | 2fbb3d6b72ef0c1af0582b64624886c27d806b9a /src/dbus.c | |
parent | f41de9596627ef68fcb4c0dae4b9bd8033701230 (diff) |
main: remove AF_UNIX sockets before binding
Diffstat (limited to 'src/dbus.c')
-rw-r--r-- | src/dbus.c | 1 |
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; |