From owner-freebsd-ports@FreeBSD.ORG Wed Nov 16 14:34:36 2011 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7CA3106564A; Wed, 16 Nov 2011 14:34:36 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from sup.oook.cz (sup.oook.cz [94.23.0.135]) by mx1.freebsd.org (Postfix) with ESMTP id 3018B8FC08; Wed, 16 Nov 2011 14:34:35 +0000 (UTC) Received: from pav.hide.vol.cz ([212.24.129.198]) (authenticated bits=0) by sup.oook.cz (8.14.4/8.14.4) with ESMTP id pAGEYVMO002663 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 16 Nov 2011 15:34:33 +0100 (CET) (envelope-from pav@FreeBSD.org) Message-ID: <4EC3C9F2.2060606@FreeBSD.org> Date: Wed, 16 Nov 2011 15:34:26 +0100 From: Pav Lucistnik User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:7.0.1) Gecko/20111021 Thunderbird/7.0.1 MIME-Version: 1.0 To: olli hauer References: <20111114083713.29fbecda@scorpio> <20111115022430.GA19970@magic.hamla.org> <1321350319.84509.2.camel@hood.oook.cz> <2859B9B3-0A75-40FD-B444-8885A6589A37@tandon.net> <4EC293FF.2000607@beardz.net> <1321376158.2315.1.camel@hood.oook.cz> <20111116015655.GB20552@magic.hamla.org> <4EC38223.1090400@FreeBSD.org> <4EC3B832.4020004@gmx.de> In-Reply-To: <4EC3B832.4020004@gmx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.68 on 94.23.0.135 X-Milter: Spamilter (Reciever: sup.oook.cz; Sender-ip: 212.24.129.198; Sender-helo: pav.hide.vol.cz; ) Cc: "eadler@FreeBSD.org" , "swills@FreeBSD.org" , Sahil Tandon , "gjb@FreeBSD.org" , Jase Thew , freebsd-ports@FreeBSD.org Subject: Re: "postfix-current" broken on amd64 platform 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: Wed, 16 Nov 2011 14:34:36 -0000 On 2011/11/16 14:18, olli hauer wrote: > On 2011-11-16 10:28, Pav Lucistnik wrote: >> On 2011/11/16 02:56, Sahil Tandon wrote: >>> On Tue, 2011-11-15 at 17:55:57 +0100, Pav Lucistnik wrote: >>> >>>> Jase Thew píše v út 15. 11. 2011 v 16:31 +0000: >>>> >>>>> What networking/DNS configuration is Pointyhat lacking (or have >>>>> sufficiently different to break the socket code inside of postconf)? >>>> >>>> It is a purposefully no-networking sandbox jail. What networking >>>> activity postconf wants to run? >>> >>> Wietse, in a post[1] on the Postfix mailing list, lends further credence >>> to a suspicion that this issue is particular to pointyhat: >>> >>> Postconf opens a socket to determine the mynetworks value (it >>> determines the local interfaces and their netmasks). >>> >>> I have heard about bizarre errors on FreeBSD (jail) systems where the >>> user-land library was out of sync with kernel-land, resulting in data >>> structure mis-matches and system calls returning nonsensical results. >>> >>> [1] http://archives.neohapsis.com/archives/postfix/2011-11/0385.html >> >> That's entirely possible. >> >> Is it a clever idea to hardcode local interfaces on build machine into a package that will then be redistributed to other machines? >> >> Sounds like postfix will have to do without official packages on FreeBSD from now on. > > > What about the attached diff until we found the exact issue. > > Unbreak the port, and use MANUAL_PACKAGE_BUILD instead. MANUAL_PACKAGE_BUILD is fine with me. -- Pav Lucistnik