Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2011 14:18:42 +0100
From:      olli hauer <ohauer@gmx.de>
To:        freebsd-ports@FreeBSD.org
Cc:        "eadler@FreeBSD.org" <eadler@FreeBSD.org>, "swills@FreeBSD.org" <swills@FreeBSD.org>, Sahil Tandon <sahil+freebsd-ports@tandon.net>, "gjb@FreeBSD.org" <gjb@FreeBSD.org>, Jase Thew <freebsd@beardz.net>, Pav Lucistnik <pav@FreeBSD.org>
Subject:   Re: "postfix-current" broken on amd64 platform
Message-ID:  <4EC3B832.4020004@gmx.de>
In-Reply-To: <4EC38223.1090400@FreeBSD.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------050404040604040501090605
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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.

Additional bump to latest postfix-current.

Since postfix-current should be current and not months behind I see no issue if we
do not provide packages which are not updated regularly enough to reflect current.

--
Regards,
olli

--------------050404040604040501090605
Content-Type: text/plain;
 name="postfix-current.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="postfix-current.diff"

SW5kZXg6IE1ha2VmaWxlDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1MgZmlsZTogL2hvbWUvcGN2cy9w
b3J0cy9tYWlsL3Bvc3RmaXgtY3VycmVudC9NYWtlZmlsZSx2DQpyZXRyaWV2aW5nIHJldmlz
aW9uIDEuMjYzDQpkaWZmIC11IC1yMS4yNjMgTWFrZWZpbGUNCi0tLSBNYWtlZmlsZQkyNiBP
Y3QgMjAxMSAyMjo0NDo1MCAtMDAwMAkxLjI2Mw0KKysrIE1ha2VmaWxlCTE2IE5vdiAyMDEx
IDEzOjExOjAzIC0wMDAwDQpAQCAtNiw3ICs2LDcgQEANCiAjDQogDQogUE9SVE5BTUU9CXBv
c3RmaXgNCi1ESVNUVkVSU0lPTj0JMi45LTIwMTExMDEyDQorRElTVFZFUlNJT049CTIuOS0y
MDExMTExMw0KIFBPUlRFUE9DSD0JNA0KIENBVEVHT1JJRVM9CW1haWwgaXB2Ng0KIE1BU1RF
Ul9TSVRFUz0JZnRwOi8vZnRwLnBvcmN1cGluZS5vcmcvbWlycm9ycy9wb3N0Zml4LXJlbGVh
c2UvZXhwZXJpbWVudGFsLyBcDQpAQCAtMjUsNiArMjUsNyBAQA0KIAkJcG9zdGZpeC1jdXJy
ZW50LTIuWzAtOF0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yICsxLDIgQEANCi1TSEEyNTYgKHBvc3RmaXgvcG9zdGZpeC0yLjktMjAxMTEwMTIu
dGFyLmd6KSA9IGZiM2Q1NWM4YTE2YzY4N2JjZWU3ZTdhMjZhODRjNjllODc2NWNjMTliYTdh
YjQ3NjIwZTdhYzZiMTllZmQzYmUNCi1TSVpFIChwb3N0Zml4L3Bvc3RmaXgtMi45LTIwMTEx
MDEyLnRhci5neikgPSAzNjczNTk2DQorU0hBMjU2IChwb3N0Zml4L3Bvc3RmaXgtMi45LTIw
MTExMTEzLnRhci5neikgPSBjOGY0OTNiOTIwNmI0YWM1MmZkZmRhZTcyZmVlMjE0ZDIyZDI5
MjA2ZDM1M2E2MTEwMTg4MzA1MDE5ZDkwNmUzDQorU0laRSAocG9zdGZpeC9wb3N0Zml4LTIu
OS0yMDExMTExMy50YXIuZ3opID0gMzY4NTQ1MA0K
--------------050404040604040501090605--



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