X-Original-To: alpine-aports@lists.alpinelinux.org Received: from sender153-mail.zoho.com (sender153-mail.zoho.com [74.201.84.153]) by lists.alpinelinux.org (Postfix) with ESMTP id 7E0755C444C for ; Mon, 6 Jun 2016 00:05:53 +0000 (GMT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:subject:date:message-id:in-reply-to:references; b=WcXnqF021Ed8YHZEDQINYKTH55mnwvM8RaM6Tizly2mSEza/afcBDQ+Z5c26xS1lBSEr2eacPpKN 7t1UwKFMC66MLJdOdMot0gY/EyTZT+Gs7d77wmZNK3KFIObsanG7 Received: from localhost (89-74-38-183.dynamic.chello.pl [89.74.38.183]) by mx.zohomail.com with SMTPS id 1465171552139342.37300295201953; Sun, 5 Jun 2016 17:05:52 -0700 (PDT) From: Przemyslaw Pawelczyk To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH 04/15] main/dovecot: Properly set primary group in .pre-install. Date: Mon, 6 Jun 2016 02:05:04 +0200 Message-Id: <1465171515-6581-5-git-send-email-przemoc@zoho.com> X-Mailer: git-send-email 2.6.6 In-Reply-To: <1465171515-6581-1-git-send-email-przemoc@zoho.com> References: <1465171515-6581-1-git-send-email-przemoc@zoho.com> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: 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. --- main/dovecot/dovecot.pre-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/dovecot/dovecot.pre-install b/main/dovecot/dovecot.pre-install index e3ee636..213a6a6 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 -- 2.6.6 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---