From owner-svn-ports-all@FreeBSD.ORG Fri Dec 26 19:59:22 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mandree.no-ip.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D6466A6; Fri, 26 Dec 2014 19:59:22 +0000 (UTC) Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id B32B323CEED; Fri, 26 Dec 2014 20:59:20 +0100 (CET) Message-ID: <549DBE14.6040803@FreeBSD.org> Date: Fri, 26 Dec 2014 20:59:16 +0100 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Baptiste Daroussin Subject: Re: svn commit: r375649 - head/mail/mailman References: <201412261907.sBQJ7Mop068020@svn.freebsd.org> <20141226191159.GC93067@ivaldir.etoilebsd.net> In-Reply-To: <20141226191159.GC93067@ivaldir.etoilebsd.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rXJVfTAxwcnCow8vT42J4NfIQjANLRowI" Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Florian Smeets , ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 19:59:22 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rXJVfTAxwcnCow8vT42J4NfIQjANLRowI Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Am 26.12.2014 um 20:11 schrieb Baptiste Daroussin: > On Fri, Dec 26, 2014 at 07:07:22PM +0000, Matthias Andree wrote: >> Author: mandree >> Date: Fri Dec 26 19:07:21 2014 >> New Revision: 375649 >> URL: https://svnweb.freebsd.org/changeset/ports/375649 >> QAT: https://qat.redports.org/buildarchive/r375649/ >> >> Log: >> Back out bapt's "cleanup" commit r371953. >> =20 >> This causes directory permissions to change, and if installation hap= pens >> without scripts, installing the new package causes mailman to become= >> defunct until bin/check_perms is run manually. >> =20 >> Most directories need to have group mailman (or whatever is configur= ed) >> and mode 02775, with exception of the archive/private. >> =20 >> More cleanups to follow later. >> =20 >> Submitted by: flo@ >=20 > Sorry about breaking that in the first place, but what about a proper f= ix? >=20 > Regards, > Bapt >=20 Interim version and truss log of pkg 1.4.1 running "pkg add" uploaded to http://people.freebsd.org/~mandree/mailman.shar.xz http://people.freebsd.org/~mandree/pkg-add-mailman.log.xz I can't get pkg to extract directories with proper permissions (most dirs need 02775), no matter where I put the @dir lines. The trouble is that pkg creates the directories implicitly (with the wrong permissions) before extracting the relevant files. Even the late mkdir attempts do not set the setgid flag (see the last mkdir()... trace line, it shows 0775 not 02775). As a consequence, the mailman port MUST NOT be installed defeating scripts. WARNING: Using pkg add/install/upgrade with -I, --no-script, or --no-install-scripts breaks the mailman installation! --rXJVfTAxwcnCow8vT42J4NfIQjANLRowI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlSdvhQACgkQvmGDOQUufZWz3gCfc/NexSAk38Mko7cZ6Dl29VZO qQsAnjMyBs4SPcZSZwpo3bUPORWJKRre =O8PT -----END PGP SIGNATURE----- --rXJVfTAxwcnCow8vT42J4NfIQjANLRowI--