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

Bob Ham rah+debianbts at settrans.net
Fri Nov 29 10:13:07 UTC 2013


Package: perl-base
Version: 5.14.2-21+deb7u1
Severity: important
Tags: ipv6

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

$ perl -MIO::Socket::INET -e 'IO::Socket::INET->new("popcon.debian.org:80") or die "$@";'
IO::Socket::INET: Bad hostname 'popcon.debian.org:80' at -e line 1.

When commenting out "option inet6", it works fine:

$ perl -MIO::Socket::INET -e 'IO::Socket::INET->new("popcon.debian.org:80") or die "$@";'
$


-- System Information:
Debian Release: 7.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (80, 'testing'), (70, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10.7-linux-3.0-latest-61 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages perl-base depends on:
ii  dpkg   1.16.12
ii  libc6  2.13-38

perl-base recommends no packages.

Versions of packages perl-base suggests:
ii  perl  5.14.2-21+deb7u1

-- no debconf information




More information about the Perl-maintainers mailing list