svn commit: r375649 - head/mail/mailman

Matthias Andree mandree at FreeBSD.org
Fri Dec 26 19:59:22 UTC 2014


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.
>>   
>>   This causes directory permissions to change, and if installation happens
>>   without scripts, installing the new package causes mailman to become
>>   defunct until bin/check_perms is run manually.
>>   
>>   Most directories need to have group mailman (or whatever is configured)
>>   and mode 02775, with exception of the archive/private.
>>   
>>   More cleanups to follow later.
>>   
>>   Submitted by:	flo@
> 
> Sorry about breaking that in the first place, but what about a proper fix?
> 
> Regards,
> Bapt
> 

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!


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20141226/eb2454ad/attachment.sig>


More information about the svn-ports-head mailing list