Re: [perl #128289] localhost in IO::Socket::INET
Hi, Yes you can close it. Thanks, Marcel On May 29, 2016 10:32:16 PM "Sam S. via RT"wrote: Does this mean that the current IO::Socket::INET bahavior is fine and the ticket can be closed?
Re: [perl #128289] localhost in IO::Socket::INET
On 05/29/2016 07:47 PM, Brandon Allbery via RT wrote: getent hosts > getent hosts on faulty system 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 127.0.0.1 localhost localhost.localdomain localhost6 localhost6.localdomain6 On ok system. It differs only in the second line 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 127.0.0.1 localhost6 localhost6.localdomain6 I've removed the localhost localhost.localdomain part from the second line in /etc/hosts and after that the test went ok. So this was really a quick fix. Thanks, Marcel
Re: [perl #128289] localhost in IO::Socket::INET
On Sun, May 29, 2016 at 1:43 PM, mt1957wrote: > * On both systems localhost translates to 127.0.0.1 (checked with dig) Note that dig only tells you what DNS returns, not what a query through NSS returns; use "getent hosts" for that. In particular, it will not tell you how /etc/hosts affects things. (I would suspect that, on the failing system, localhost first resolves to ::1 and IPv6 is not configured.) -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net