From owner-freebsd-ports@FreeBSD.ORG Mon Aug 1 20:54:31 2011 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CE50106566C; Mon, 1 Aug 2011 20:54:31 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id CA5618FC08; Mon, 1 Aug 2011 20:54:30 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 995DD28432; Mon, 1 Aug 2011 22:54:29 +0200 (CEST) Received: from [192.168.1.2] (ip-86-49-61-235.net.upcbroadband.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 94A882842A; Mon, 1 Aug 2011 22:54:28 +0200 (CEST) Message-ID: <4E371284.5010806@quip.cz> Date: Mon, 01 Aug 2011 22:54:28 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: ohauer@FreeBSD.org References: <4E368625.7010805@quip.cz> <4E370ADA.9060902@FreeBSD.org> In-Reply-To: <4E370ADA.9060902@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org, sahil@FreeBSD.org Subject: Re: FreeBSD Port: postfix-2.8.4,1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2011 20:54:31 -0000 Olli Hauer wrote: > On 2011-08-01 12:55, Miroslav Lachman wrote: >> Hi, >> I upgraded postfix-2.8.3,1 to postfix-2.8.4,1 yesterday and today I >> realized, that postfix is nolonger in my manualy defined group >> (maildirs:*:3125:postfix). I use this setting for many years without >> problem. >> >> After the change to "use the ports framework to create USERS and >> GROUPS" it means broken installation after upgrade. >> >> 1] I don't think it is good to touch user's customizations in users >> or groups especially removing something silently >> >> 2] If something like this change happend, it should be mentioned in >> UPDATING >> >> Am I forced to do manual work (adding postfix to my group) after >> each upgrade? >> >> Miroslav Lachman > > > Hi Miroslav, > > what do you mean with "postfix is nolonger in my manualy defined group"? I have postfix in group maildirs on my servers: maildirs:*:3125:postfix This is my group created many years ago (the server start its life as FreeBSD 6.0, now it runs 8.2). I am using this group for mail directories on all of my mailservers. > In the postfix port there was no code to remove the postfix user from > any group or delete the postfix user. > If my speculation is correct and this was not a fresh install, then the > postfix user is now member of the groups *mail, postfix and maildirs*. 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