Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Dec 2014 20:59:16 +0100
From:      Matthias Andree <mandree@FreeBSD.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Florian Smeets <flo@FreeBSD.org>, ports-committers@freebsd.org
Subject:   Re: svn commit: r375649 - head/mail/mailman
Message-ID:  <549DBE14.6040803@FreeBSD.org>
In-Reply-To: <20141226191159.GC93067@ivaldir.etoilebsd.net>
References:  <201412261907.sBQJ7Mop068020@svn.freebsd.org> <20141226191159.GC93067@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?549DBE14.6040803>