]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
dbus-broker: Do not longer create user/group
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 11 Apr 2023 13:45:16 +0000 (15:45 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 11 Apr 2023 13:45:16 +0000 (15:45 +0200)
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.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
dbus-broker/dbus-broker.nm

index a65a1e0d651c71854672943f35bc2bd3cbb0af7a..5a33f4ad74488363837e1078148e23f31d6261ae 100644 (file)
@@ -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 || :