summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-06-20 15:03:37 +0100
committerSimon McVittie <smcv@collabora.com>2017-06-28 19:09:53 +0100
commitae7568facee0b0d93d7bd1433a0d8840e98f6fb6 (patch)
tree4e560b6c4aece148a74f4fdccbd2d2ba3b513a1c /configure.ac
parent3974aa50629c59ad6c816fa16b34afc2c67c8342 (diff)
downloaddbus-ae7568facee0b0d93d7bd1433a0d8840e98f6fb6.tar.gz
Install a systemd tmpfiles.d snippet to create /var/lib/dbus/machine-id
On systemd systems, /etc/machine-id is guaranteed to exist and has the same format as the D-Bus machine ID. The major D-Bus implementations read /etc/machine-id if it exists, but some less up-to-date implementations still only read /var/lib/dbus/machine-id. We can be nice to those implementations by ensuring /var/lib/dbus/machine-id is a symlink; this way, the two files can never get out of sync. Signed-off-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Philip Withnall <withnall@endlessm.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101570
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1561c941..60e31f62 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1883,6 +1883,7 @@ bus/dbus.socket
bus/systemd-user/dbus.service
bus/systemd-user/dbus.socket
bus/sysusers.d/dbus.conf
+bus/tmpfiles.d/dbus.conf
Makefile
dbus/Makefile
bus/Makefile