diff options
author | Simon McVittie <smcv@collabora.com> | 2017-06-20 15:03:37 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2017-06-28 19:09:53 +0100 |
commit | ae7568facee0b0d93d7bd1433a0d8840e98f6fb6 (patch) | |
tree | 4e560b6c4aece148a74f4fdccbd2d2ba3b513a1c /.gitignore | |
parent | 3974aa50629c59ad6c816fa16b34afc2c67c8342 (diff) | |
download | dbus-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 '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -37,6 +37,7 @@ config.h.in *.gcda *.gcno tags +/bus/tmpfiles.d/dbus.conf /dbus-1.*/ /dbus-1.*.tar.* /lcov.html/ |