diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-02-25 21:26:31 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-02-25 21:26:42 -0500 |
commit | 1ae383a8a3ae4824453e297352fda603d2d3fd5e (patch) | |
tree | 51184d0e273b3361956aa0ed3ce55c2640e8ed80 /src | |
parent | 47bc23c18cbc87471dc832534c8565625e4a9d16 (diff) |
Use /var/run/dbus/system_bus_socket for the D-Bus socket
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd/sd-bus/PORTING-DBUS1 | 2 | ||||
-rw-r--r-- | src/shared/def.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd/sd-bus/PORTING-DBUS1 b/src/libsystemd/sd-bus/PORTING-DBUS1 index 90d184b786..0253a42137 100644 --- a/src/libsystemd/sd-bus/PORTING-DBUS1 +++ b/src/libsystemd/sd-bus/PORTING-DBUS1 @@ -536,7 +536,7 @@ parameter. Client libraries should use the following connection string when connecting to the system bus: - kernel:path=/dev/kdbus/0-system/bus;unix:path=/run/dbus/system_bus_socket + kernel:path=/dev/kdbus/0-system/bus;unix:path=/var/run/dbus/system_bus_socket This will ensure that kdbus is preferred over the legacy AF_UNIX socket, but compatibility is kept. For the user bus use: diff --git a/src/shared/def.h b/src/shared/def.h index 7777756aad..aa489d80d0 100644 --- a/src/shared/def.h +++ b/src/shared/def.h @@ -61,7 +61,7 @@ "/usr/lib/kbd/keymaps/\0" #endif -#define UNIX_SYSTEM_BUS_PATH "unix:path=/run/dbus/system_bus_socket" +#define UNIX_SYSTEM_BUS_PATH "unix:path=/var/run/dbus/system_bus_socket" #define KERNEL_SYSTEM_BUS_PATH "kernel:path=/dev/kdbus/0-system/bus" #ifdef ENABLE_KDBUS |