summarylogtreecommitdiffstats
path: root/dbus.install
diff options
context:
space:
mode:
Diffstat (limited to 'dbus.install')
-rw-r--r--dbus.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/dbus.install b/dbus.install
new file mode 100644
index 00000000000..f381070479d
--- /dev/null
+++ b/dbus.install
@@ -0,0 +1,18 @@
+pre_install() {
+
+ groupadd -r -g 81 dbus
+ useradd -M -N -r -u 81 -g 81 -d / -s /sbin/nologin -c "system message bus" dbus
+}
+
+post_install() {
+
+ ## Set permissions on dbus-daemon-launch-helper
+
+ chown root:dbus /usr/lib/dbus-1.0/dbus-daemon-launch-helper
+ chmod 4750 /usr/lib/dbus-1.0/dbus-daemon-launch-helper
+}
+
+post_upgrade() {
+
+ post_install
+}