mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-28 22:30:10 +01:00
We would like to start using ${runstatedir}/dbus/system_bus_socket,
so that distributors who make /var/run a symbolic link to /run will
usually get their dbus-daemon listening on /run/dbus/system_bus_socket,
which has some advantages in corner cases, such as when /var is mediated
by an automounter or is unmounted during system shutdown.
Unfortunately, the interoperable path in the D-Bus Specification is
/var/run/dbus/system_bus_socket for historical reasons (D-Bus is older
than /run), and older versions of Slackware are known to have had /run
and /var/run as distinct directories. Do a check during configuration
to catch systems configured like this and show a warning.
When cross-compiling, this assumes that the system where dbus is built
(the build system in Autotools/Meson, or the "host" in CMake terminology)
has its /var/run and /run set up in a way that is compatible with the
system where dbus will run (the host system in Autotools/Meson, or the
"target" in CMake terminology). This is not 100% correct, but seems good
enough for a warning that will hopefully only trigger for misguided OS
distributors.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
||
|---|---|---|
| .. | ||
| docker/windows | ||
| .gitignore | ||
| build-timestamp.py | ||
| check-runstatedir.sh | ||
| ci-build.sh | ||
| ci-install.sh | ||
| cmake-format | ||
| CMakeLists.txt | ||
| dbus-cleanup-sockets.c | ||
| dbus-echo.c | ||
| dbus-launch-win.c | ||
| dbus-launch-x11.c | ||
| dbus-launch.c | ||
| dbus-launch.h | ||
| dbus-monitor.c | ||
| dbus-print-message.c | ||
| dbus-print-message.h | ||
| dbus-run-session.c | ||
| dbus-send.c | ||
| dbus-spam.c | ||
| dbus-update-activation-environment.c | ||
| dbus-uuidgen.c | ||
| disable-uac.rc | ||
| GetAllMatchRules.py | ||
| Makefile.am | ||
| meson-compat-install-emptydirs.py | ||
| meson-compat-install-symlink.py | ||
| meson.build | ||
| run-with-tmp-session-bus.sh | ||
| test-tool.c | ||
| test-tool.h | ||
| tool-common.c | ||
| tool-common.h | ||
| user-path.reg.in | ||
| Win32.Manifest | ||