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 503285C447C for ; Mon, 6 Jun 2016 00:05:59 +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=qKgNwOuFHZ8I2JXmu0lwhedyR/mq0l97hI9nXn4iv309myIUvaGdRRHunzslW2DSi6q2JvGpegH2 TImWy4jdyM8flKNLkuuCX6H9FR2wUQ4oibBKK3qwwP161Y6qCP2f Received: from localhost (89-74-38-183.dynamic.chello.pl [89.74.38.183]) by mx.zohomail.com with SMTPS id 1465171558779461.13154844446876; Sun, 5 Jun 2016 17:05:58 -0700 (PDT) From: Przemyslaw Pawelczyk To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH 05/15] main/{npre,postgrey}: Properly set primary group in .pre-install. Date: Mon, 6 Jun 2016 02:05:05 +0200 Message-Id: <1465171515-6581-6-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: Fixes the 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. --- main/nrpe/nrpe.pre-install | 2 +- main/postgrey/postgrey.pre-install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/nrpe/nrpe.pre-install b/main/nrpe/nrpe.pre-install index 875a9fa..0b519f5 100644 --- a/main/nrpe/nrpe.pre-install +++ b/main/nrpe/nrpe.pre-install @@ -1,6 +1,6 @@ #!/bin/sh -adduser -S -D -H -h /dev/null -s /sbin/nologin -g nagios nagios 2>/dev/null addgroup -S nagios 2>/dev/null +adduser -S -D -H -h /dev/null -s /sbin/nologin -G nagios -g nagios nagios 2>/dev/null exit 0 diff --git a/main/postgrey/postgrey.pre-install b/main/postgrey/postgrey.pre-install index 5f1d560..bb42696 100644 --- a/main/postgrey/postgrey.pre-install +++ b/main/postgrey/postgrey.pre-install @@ -1,6 +1,6 @@ #!/bin/sh addgroup -S postgrey 2>/dev/null -adduser -S -D -H -h /dev/null -s /sbin/nologin -g postgrey postgrey 2>/dev/null +adduser -S -D -H -h /dev/null -s /sbin/nologin -G postgrey -g postgrey postgrey 2>/dev/null exit 0 -- 2.6.6 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---