Package: ruby Version: 4.5 Severity: important Tags: ipv6 The lookup-order-hack must be either set to UNSPEC, or the code implementing it rewritten so it won't do 'break' after a successful gai() call, so all address families will be processed.
Has just tested this with ruby1.8=1.8.7.334-2~experimental.1, it works: irb(main):001:0> require 'socket' => true irb(main):002:0> Socket::getaddrinfo('ip6.me', 1, Socket::AF_UNSPEC) => [["AF_INET6", 1, "www.whatismyv6.com", "2001:4810::110", 10, 1, 6], ["AF_INET6", 1, "www.whatismyv6.com", "2001:4810::110", 10, 2, 17], ["AF_INET6", 1, "www.whatismyv6.com", "2001:4810::110", 10, 3, 0], ["AF_INET", 1, "www.whatismyv6.com", "66.117.47.214", 2, 1, 6], ["AF_INET", 1, "www.whatismyv6.com", "66.117.47.214", 2, 2, 17], ["AF_INET", 1, "www.whatismyv6.com", "66.117.47.214", 2, 3, 0]] Previously, it reported: => [["AF_INET", 1, "www.whatismyv6.com", "66.117.47.214", 2, 1, 6], ["AF_INET", 1, "www.whatismyv6.com", "66.117.47.214", 2, 2, 17], ["AF_INET", 1, "www.whatismyv6.com", "66.117.47.214", 2, 3, 0]] which is just wrong. Also, this fixes Bug#612896 in apt-listbugs. -- System Information: Debian Release: 6.0 APT prefers sid APT policy: (500, 'sid'), (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.36-trunk-686 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages ruby depends on: ii ruby1.8 1.8.7.302-2 Interpreter of object-oriented scr ruby recommends no packages. Versions of packages ruby suggests: pn ri <none> (no description available) pn ruby-dev <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org