]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
dbus: Fixes Bug#13094 - Check for existing user before `useradd`
authorJon Murphy <jon.murphy@ipfire.org>
Wed, 26 Apr 2023 20:37:13 +0000 (15:37 -0500)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 3 May 2023 07:42:32 +0000 (07:42 +0000)
commit3df5187dfc42e0da2578a80057af57ddb37b435b
treeedf3d338951feab0ce8d07914823c57ec24d0c13
parent7101e472a0901963ecf4556734633b72473ea09b
dbus: Fixes Bug#13094 - Check for existing user before `useradd`

- The dbus install.sh script useradd command causes an error:
   "failed adding user 'messagebus', exit code: 9"
- This patch adds a check to only do the useradd if the user does not exist.
- See the bump PAK_VER for dbus that Adolf publised.  See this patch:
https://lists.ipfire.org/pipermail/development/2023-April/015816.html

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/paks/dbus/install.sh