pcp
[Top] [All Lists]

Re: [pcp] Build/install status for 3.7.0

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] Build/install status for 3.7.0
From: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed, 06 Mar 2013 15:55:16 -0500
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <5137A296.90705@xxxxxxxxxx>
References: <1745058060.15558832.1362561319979.JavaMail.root@xxxxxxxxxx> <5137A049.1070102@xxxxxxxxxxxxxxxx> <5137A296.90705@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3
On 03/06/2013 03:09 PM, Dave Brolley wrote:
Actually, this is very helpful. The system has no IPv6 configuration. This leads me to what I believe is the offending code. In auxserver.c:OpenRequestPorts, when the listening address is "INADDR_ANY", it tries to open an inet (IPv4) socket and an IPv6 socket. The latter would then fail, however the success flag is only set based on the results of opening this last socket. So, even though an inet socket was opened, the overall result is "can't open any request ports, exiting".

If at least one of the two sockets was opened, then the overall result should be success. Failure to open one of them would probably warrant a warning to the log.

I'll work up a patch for this.

And detailed diags are not helping (hint, hint, ...)
Noted. I'll see what I can add.
Attached is a patch to address this (suspected) problem. Can you try it out?

Dave

Attachment: OpenRequestPorts.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>