summaryrefslogtreecommitdiff
path: root/bus/sysusers.d
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-12-20 18:14:11 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2017-02-13 14:49:52 +0000
commite8617fbd27d8ec058511927cabb6a405ebcdca9e (patch)
tree2e304a7c32abef67aa27f4362a9d959600b004d2 /bus/sysusers.d
parentf097ac9f8a32d83c5606ed9303f40cc5761f9d05 (diff)
downloaddbus-e8617fbd27d8ec058511927cabb6a405ebcdca9e.tar.gz
systemd: add sysusers.d snippet for booting up with unpopulated /etc
This adds a "sysusers.d" snippet for creating the system user "dbus" at boot, if it is missing, in order to support stateless systems that boot up with an empty /etc and need static information for determining which system users to create. This is only installed on systemd-based systems. Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99162
Diffstat (limited to 'bus/sysusers.d')
-rw-r--r--bus/sysusers.d/dbus.conf.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/bus/sysusers.d/dbus.conf.in b/bus/sysusers.d/dbus.conf.in
new file mode 100644
index 00000000..fb35702d
--- /dev/null
+++ b/bus/sysusers.d/dbus.conf.in
@@ -0,0 +1,5 @@
+# sysusers.d snippet for creating the D-Bus system user automatically
+# at boot on systemd-based systems that ship with an unpopulated
+# /etc. See sysusers.d(5) for details.
+
+u @DBUS_USER@ - "System Message Bus"