chiark / gitweb /
Support system_bus_socket to be found in /var/run/dbus as well as /run/dbus.
authorChristoph Willing <chris.willing@linux.com>
Wed, 26 Sep 2018 13:14:02 +0000 (23:14 +1000)
committerSven Eden <yamakuzure@gmx.net>
Wed, 26 Sep 2018 16:25:46 +0000 (18:25 +0200)
commit358e81a42faed7ee7192ce54e4230232f93ddb21
tree4dab9cc8087b06ac13b687d48de3393683a1d81c
parent2e0ffb64e2542f85991afdc9d35d4299e9813fed
Support system_bus_socket to be found in /var/run/dbus as well as /run/dbus.

Currently the path to system_bus_socket is hardcoded to
  /run/dbus/system_bus_socket
which works everywhere for systemd.

However, distributions which do no symlink /var/run on /run will have
it only accessible via
  /run/dbus/system_bus_socket
which should be supported by elogind, too.

Closes #77

Signed-off-by: Christoph Willing <chris.willing@linux.com>
Sigend-off-by: Sven Eden <sven.eden@prydeworx.com>
meson.build
src/basic/def.h
src/libelogind/sd-bus/test-bus-vtable.c