diff options
author | Przemyslaw Pawelczyk <przemoc@zoho.com> | 2016-06-06 02:05:04 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-06-07 07:20:09 +0000 |
commit | 40521bdafd3cc0eb623df4d48d6658f32bccfdf1 (patch) | |
tree | 6c57b8ab21f4cb62fd97c46463a89942418755f3 /main/dovecot | |
parent | d642117dfc15f53f9f21864d3cc33c20538844e0 (diff) | |
download | aports-40521bdafd3cc0eb623df4d48d6658f32bccfdf1.tar.bz2 aports-40521bdafd3cc0eb623df4d48d6658f32bccfdf1.tar.xz |
main/dovecot: Properly set primary group in .pre-install.
Commit fb87e4fd6222 tried to fix problem I unintentionally brought in
commit ccc056dbf9d3 - system user creation doesn't add same named group
and uses nogroup as primary group unless explicitly specified via -G.
Commit a593d306c92f has nothing to do with it, as it only sets GECOS.
I cannot blame anyone (beside myself, obviously, for all this mess) as
-g and -G can be easily misread without conuslting --help output.
Diffstat (limited to 'main/dovecot')
-rw-r--r-- | main/dovecot/dovecot.pre-install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/dovecot/dovecot.pre-install b/main/dovecot/dovecot.pre-install index e3ee636d68..213a6a6b3a 100644 --- a/main/dovecot/dovecot.pre-install +++ b/main/dovecot/dovecot.pre-install @@ -2,7 +2,7 @@ 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 +adduser -S -u 90 -D -H -h /dev/null -s /sbin/nologin -G dovecot -g dovecot dovecot 2>/dev/null +adduser -S -u 91 -D -H -h /dev/null -s /sbin/nologin -G dovenull -g dovenull dovenull 2>/dev/null exit 0 |