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 C579F5C40B8 for ; Thu, 2 Jun 2016 11:01:30 +0000 (GMT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:subject:date:message-id; b=Lt0FDl9jvel8KTyAgUnCqoAokR1BRjUsFbr+oEiWcLP3CtaPM8B8E4Z2fHt7vEDa178A5FLBt03A W8H2+aoVXmmZeFgv1Wr2OY2BxeVSNXDdwDmja3YStE9vBVOC1yB4 Received: from localhost (89-74-38-183.dynamic.chello.pl [89.74.38.183]) by mx.zohomail.com with SMTPS id 1464865286756577.0703469162788; Thu, 2 Jun 2016 04:01:26 -0700 (PDT) From: Przemyslaw Pawelczyk To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH] main/lighttpd: Fix lighttpd user's primary group. Date: Thu, 2 Jun 2016 13:01:17 +0200 Message-Id: <1464865277-8535-1-git-send-email-przemoc@zoho.com> X-Mailer: git-send-email 2.6.6 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: During mass .pre-install/upgrade init scripts changes there was a change not preserving status quo regarding group creation and user creation for 57 packages that weren't using -S option with adduser calls earlier. It led to not creating the group named like the user and changing primary user group from the same named to nogroup. It has been noticed thanks to lighttpd issue (refs #5666) and it has been partially fixed for lighttpd alone already. This patch completes the fix and is also an announcement for some mass changes coming later. --- main/lighttpd/APKBUILD | 2 +- main/lighttpd/lighttpd.pre-install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/lighttpd/APKBUILD b/main/lighttpd/APKBUILD index 3faca25..494b2ea 100644 --- a/main/lighttpd/APKBUILD +++ b/main/lighttpd/APKBUILD @@ -3,7 +3,7 @@ pkgname=lighttpd pkgver=1.4.39 _streamver=2.2.0 -pkgrel=2 +pkgrel=3 pkgdesc="a secure, fast, compliant and very flexible web-server" url="http://www.lighttpd.net/" arch="all" diff --git a/main/lighttpd/lighttpd.pre-install b/main/lighttpd/lighttpd.pre-install index d50d170..81ccda1 100644 --- a/main/lighttpd/lighttpd.pre-install +++ b/main/lighttpd/lighttpd.pre-install @@ -2,7 +2,7 @@ addgroup -S -g 82 www-data 2>/dev/null addgroup -S lighttpd 2>/dev/null -adduser -S -D -H -h /var/www/localhost/htdocs -s /sbin/nologin -g lighttpd lighttpd 2>/dev/null +adduser -S -D -H -h /var/www/localhost/htdocs -s /sbin/nologin -G lighttpd -g lighttpd lighttpd 2>/dev/null addgroup lighttpd www-data 2>/dev/null exit 0 -- 2.6.6 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---