Patches for aports can be sent to this list

[alpine-aports] [PATCH] main/dovecot: create dovecot system users

Pierre Jaury
Details
Message ID
<1461951049-14188-1-git-send-email-pierre@jaury.eu>
Sender timestamp
1461951049
DKIM signature
missing
Download raw message
Patch: +2 -0
Since a593d306c92f8bc15a1797c0a2ccfa784edbc4a0, the main group
for system users is specified explicitely but the system groups
were not created in the first place.
---
 main/dovecot/dovecot.pre-install | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/main/dovecot/dovecot.pre-install b/main/dovecot/dovecot.pre-install
index e19b113..e3ee636 100644
--- a/main/dovecot/dovecot.pre-install
+++ b/main/dovecot/dovecot.pre-install
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+addgroup -S dovecot 2>/dev/null
+addgroup -S dovenull 2>/dev/null
 adduser -S -u 90 -D -H -h /dev/null -s /sbin/nologin -g dovecot dovecot 2>/dev/null
 adduser -S -u 91 -D -H -h /dev/null -s /sbin/nologin -g dovenull dovenull 2>/dev/null
 
-- 
2.8.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---