[1/2] dbus-broker: Do not longer create user/group
Commit Message
The dbus user and group will be created by the dbus-common packge
which is a dependency of dbus-brocker. So no need for trying to doubble
create them.
---
dbus-broker/dbus-broker.nm | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
@@ -5,7 +5,7 @@
name = dbus-broker
version = 32
-release = 1
+release = 2
maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
groups = System/Daemons
@@ -58,16 +58,6 @@ packages
dbus-common
end
- prerequires += shadow-utils
-
- script prein
- getent group dbus >/dev/null || groupadd -r dbus
- getent passwd dbus >/dev/null || \
- useradd -r -g dbus -d / -s /sbin/nologin \
- -c "User for dbus service" dbus
- exit 0
- end
-
# Just search for new unit files that were just installed.
script postin
systemctl daemon-reload >/dev/null 2>&1 || :