diff options
author | Maxim Mikityanskiy <maxtram95@gmail.com> | 2015-01-19 18:14:03 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-13 01:47:58 +0200 |
commit | 6921f45d0a919c3c3635db74d5323a52d9542c75 (patch) | |
tree | 6e1b0f88c2ea5551d4f6a28a33be66af8089de68 /docs/manual | |
parent | b5fcf958276fdc92bd041bc07438d6e4a7d2c59a (diff) | |
download | buildroot-6921f45d0a919c3c3635db74d5323a52d9542c75.tar.gz buildroot-6921f45d0a919c3c3635db74d5323a52d9542c75.zip |
package/dbus: fix machine-id when using systemd
When systemd is used, /var/lib/dbus becomes dangling symlink, because
nobody does mkdir /tmp/dbus, so /var/lib/dbus/machine-id could not be
written. On SysVinit systems there is init script that creates
/tmp/dbus.
This patch preserves old behavior for SysVinit systems, and introduces
new one for systemd-booted systems: /var/lib/dbus is a persistent
directory, it holds symlink /var/lib/dbus/machine-id -> /etc/machine-id
as machine-id(5) suggests, and /etc/machine-id is managed by systemd.
Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs/manual')
0 files changed, 0 insertions, 0 deletions