Bug#730760: perl-base: IO::Socket::INET cannot cope with "option inet6" in /etc/resolv.conf

Bob Ham rah at settrans.net
Fri Jan 17 10:19:33 UTC 2014


On 2014-01-01 16:40, Dominic Hargreaves wrote:
> On Fri, Nov 29, 2013 at 10:13:07AM +0000, Bob Ham wrote:

>> When setting "option inet6" in /etc/resolv.conf, IO::Socket::INET
>> cannot connect properly, particularly to popcon.debian.org

> I agree that this is a problem, but I'm not sure whether it's a 
> reasonable
> expectation for ipv4-only software to work with this option being 
> set;
> the manpage for resolv.conf does mention that breakage is to be 
> expected.
>
> A more pragmatic solution might be to use IO::Socket::IP instead.

I see now that IO::Socket::INET is only intended for IPv4; I hadn't 
realised that.  This problem showed up because the 
/usr/share/popularity-contest/popcon-upload script in popularity-contest 
makes use of IO::Socket::INET.  Perhaps this bug could be reassigned to 
the popularity-contest package so that it can be changed to use 
IO::Socket::IP instead?

-- 
Bob Ham <rah at settrans.net>

for (;;) { ++pancakes; }




More information about the Perl-maintainers mailing list