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 401B85C44D6 for ; Fri, 17 Jun 2016 01:48:12 +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=jy+lgKc0XDHk4EvK9CNzFxuaFyrklDv+cKiAIjSTtc3cySGcUP68yvtEY3jH9IlISVHGt+ggzyR1 zbGVPMaBfF4v7adB3Y0fYQ4Cb0Dryd8LdJnVNT4gpTtxug9Bq2tX Received: from localhost (89-76-69-26.dynamic.chello.pl [89.76.69.26]) by mx.zohomail.com with SMTPS id 1466128090370941.1826694660667; Thu, 16 Jun 2016 18:48:10 -0700 (PDT) From: Przemyslaw Pawelczyk To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH 1/5] testing/[various]: Add group and use it as primary in .pre-* scripts. Date: Fri, 17 Jun 2016 03:47:29 +0200 Message-Id: <1466128053-20256-2-git-send-email-przemoc@zoho.com> X-Mailer: git-send-email 2.6.6 In-Reply-To: <1466128053-20256-1-git-send-email-przemoc@zoho.com> References: <1466128053-20256-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. Brings status quo regarding primary groups of users created in packages: - testing/buildbot - testing/buildbot-slave - testing/clapf It should have been part of commit a835b6916533, but was overlooked. --- testing/buildbot-slave/buildbot-slave.pre-install | 3 ++- testing/buildbot/buildbot.pre-install | 3 ++- testing/clapf/clapf.pre-install | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/testing/buildbot-slave/buildbot-slave.pre-install b/testing/buildbot-slave/buildbot-slave.pre-install index 695f71607bc4..7a1deeded1d6 100644 --- a/testing/buildbot-slave/buildbot-slave.pre-install +++ b/testing/buildbot-slave/buildbot-slave.pre-install @@ -1,5 +1,6 @@ #!/bin/sh -adduser -S -D -H -h /home/buildbot -s /sbin/nologin -g buildbot buildbot 2>/dev/null +addgroup -S buildbot 2>/dev/null +adduser -S -D -H -h /home/buildbot -s /sbin/nologin -G buildbot -g buildbot buildbot 2>/dev/null exit 0 diff --git a/testing/buildbot/buildbot.pre-install b/testing/buildbot/buildbot.pre-install index 695f71607bc4..7a1deeded1d6 100644 --- a/testing/buildbot/buildbot.pre-install +++ b/testing/buildbot/buildbot.pre-install @@ -1,5 +1,6 @@ #!/bin/sh -adduser -S -D -H -h /home/buildbot -s /sbin/nologin -g buildbot buildbot 2>/dev/null +addgroup -S buildbot 2>/dev/null +adduser -S -D -H -h /home/buildbot -s /sbin/nologin -G buildbot -g buildbot buildbot 2>/dev/null exit 0 diff --git a/testing/clapf/clapf.pre-install b/testing/clapf/clapf.pre-install index 01c4585c926a..7cbfaad04b90 100644 --- a/testing/clapf/clapf.pre-install +++ b/testing/clapf/clapf.pre-install @@ -1,5 +1,6 @@ #!/bin/sh -adduser -S -D -H -s /bin/false -g clamav clamav 2>/dev/null +addgroup -S clamav 2>/dev/null +adduser -S -D -H -s /bin/false -G clamav -g clamav clamav 2>/dev/null exit 0 -- 2.6.6 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---