Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Aug 2011 12:00:39 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        ohauer@FreeBSD.org
Cc:        ports@FreeBSD.org, sahil@FreeBSD.org
Subject:   Re: FreeBSD Port: postfix-2.8.4,1
Message-ID:  <4E37CAC7.9090102@quip.cz>
In-Reply-To: <4E3722DE.6050206@gmx.de>
References:  <4E368625.7010805@quip.cz> <4E370ADA.9060902@FreeBSD.org>	<4E371284.5010806@quip.cz> <4E371B3B.7070806@FreeBSD.org> <4E3722DE.6050206@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
olli hauer wrote:
> On 2011-08-01 23:31, Olli Hauer wrote:
>> On 2011-08-01 22:54, Miroslav Lachman wrote:
>>> Olli Hauer wrote:
>>>> On 2011-08-01 12:55, Miroslav Lachman wrote:

[...]

>>> Today (after Postfix upgrade) I have this in daily report:
>>>
>>> Backup passwd and group files:
>>> elsa.codelab.cz group diffs:
>>> 34c34
>>> <  maildirs:*:3125:postfix
>>> ---
>>>>> maildirs:*:3125:
>>>
>>> So I looked in to /etc/group and found that postfix is no longer member of the group maildirs:
>>>
>>> maildirs:*:3125:
>>>
>>> I must re-add it to group maildirs, so now I have it right:
>>>
>>>> id postfix
>>> uid=125(postfix) gid=125(postfix) groups=125(postfix),6(mail),3125(maildirs)
>>>
>>> Miroslav Lachman
>>
>> Oh, indeed. You hit a limitation of /usr/sbin/pw.
>>
>> The groups are applied with "pw usermod -G $grouplist"
>>
>> from pw(8):
>>> -G grouplist  Set additional group memberships for an account.  grouplist
>>>                is a comma, space or tab-separated list of group names or
>>>                group numbers.  The user's name is added to the group lists
>>>                in /etc/group, *and removed from any groups not specified in
>>>                grouplist*.
>>
>>
>> I can think about a workaround for your case. Give me some time will do some tests.
>>
>
> No, you don't hit the limitation. It seems you really found a bug in the Framework!
>
>> From the Framework code in bsd.port.mk existing groups should honored.
>
> I will look into this.
>
> Thanks for your report.

Thank you for your time. I am so glad to see quick and helpful response 
like this.
I have a bunch of mail servers waiting for Postfix upgrade, so let me 
know about some patches I can test.

Miroslav Lachman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E37CAC7.9090102>