Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 396355

Summary: sys-libs/glibc-2.14.1-r1: ipv6 doesn't resolve
Product: Gentoo Linux Reporter: Stefan de Konink <stefan>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stefan de Konink 2011-12-28 20:56:07 UTC
IPv6 doesn't resolve anymore. Pinging to a numeric IPv6 address does.

ping6 openov.nl
unknown host


tracepath6 openov.nl
getaddrinfo: Resolver Error 0 (no error)


Reproducible: Always




paludis@1325105731: [WARNING paludis.deprecated] In thread ID '3286':
  ... In program paludis --info:
  ... paludis is deprecated. Use 'cave' instead.
paludis 0.58.2
Paludis build information:
    Compiler:
        CXX:                   x86_64-pc-linux-gnu-g++ 4.5.2
        CXXFLAGS:               -march=athlon64 -O2 -pipe -msse3 -pedantic
        LDFLAGS:               -Wl,-O1 -Wl,--as-needed
        DATE:                  2011-02-05T14:58:40+0100

    Libraries:
        C++ Library:           GNU libstdc++ 20101216

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib64
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc
        PYTHONINSTALLDIR:      
        RUBYINSTALLDIR:        /usr/lib64/ruby/site_ruby/1.8/x86_64-linux

System:
    Linux nemesis 3.1.0-gentoo #1 SMP PREEMPT Fri Nov 4 21:21:03 CET 2011 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ AuthenticAMD GNU/Linux

Reduced Privs:
    reduced_uid:               105
    reduced_uid->name:         paludisbuild
    reduced_uid->dir:          /dev/null
    reduced_gid:               1007
    reduced_gid->name:         paludisbuild

Environment:
    Format:                    paludis
    Config dir:                /etc/paludis
    Root:                      /
    System Root:               /
    World file:                /var/db/pkg/world

Repository installed-virtuals:
    format:                    installed_virtuals
    root:                      /

Repository virtuals:
    format:                    virtuals

Repository gentoo:
    format:                    e
    location:                  /usr/portage
    builddir:                  /mnt/dv/paludis
    cache:                     /usr/portage/metadata/cache
    distdir:                   /mnt/media/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass
    layout:                    traditional
    names_cache:               /usr/portage/.cache/names
    newsdir:                   /usr/portage/metadata/news
    profile_eapi_when_unspecified: 0
    profile_layout:            traditional
    profiles:                  /usr/portage/profiles/default/linux/amd64/10.0
    securitydir:               /usr/portage/metadata/glsa
    setsdir:                   /usr/portage/sets

    sync:                      rsync://rsync.nl.gentoo.org/gentoo-portage
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

    Package information:
        app-shells/bash:       4.2_p20
        dev-java/java-config:  1.3.7-r1 2.1.11
        dev-lang/python:       2.7.2-r3 3.2-r2
        dev-util/ccache:       3.1.5
        dev-util/cmake:        2.8.6-r3
        dev-util/pkgconfig:    0.26
        sys-apps/baselayout:   2.1
        sys-apps/openrc:       0.9.7
        sys-apps/sandbox:      2.5
        sys-devel/autoconf:    2.13 2.68
        sys-devel/automake:    1.10.3 1.11.1-r1 1.4_p6 1.5 1.6.3 1.7.9-r2 1.8.5-r3 1.9.6-r3
        sys-devel/binutils:    2.22-r1
        sys-devel/gcc:         3.4.6-r2 4.5.3-r2
        sys-devel/gcc-config:  1.5-r2
        sys-devel/libtool:     2.4.2
        sys-devel/make:        3.82-r3
        sys-freebsd/freebsd-lib: (none)
        sys-kernel/linux-headers: 3.1
        sys-libs/glibc:        2.14.1-r1
        sys-libs/uclibc:       (none)

Repository installed:
    format:                    vdb
    location:                  /var/db/pkg
    builddir:                  /var/tmp/paludis
    eapi_when_unknown:         0
    names_cache:               /var/db/pkg/.cache/names
    provides_cache:            /var/db/pkg/.cache/provides
    root:                      /

Repository localportage:
    format:                    e
    location:                  /usr/local/portage
    builddir:                  /mnt/dv/paludis
    cache:                     /var/empty
    distdir:                   /mnt/media/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass
    layout:                    traditional
    names_cache:               /usr/local/portage/.cache/names
    newsdir:                   /usr/local/portage/metadata/news
    profile_eapi_when_unspecified: 0
    profile_layout:            traditional
    profiles:                  /usr/portage/profiles/default/linux/amd64/10.0
    securitydir:               /usr/local/portage/metadata/glsa
    setsdir:                   /usr/local/portage/sets
    sync:                      
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata
Comment 1 SpanKY gentoo-dev 2011-12-31 08:39:46 UTC
i can't confirm this behavior

$ dig +short AAAA wh0rd.org
2001:41c8:1:4f39::10
$ strace ping6 wh0rd.org
...
connect(3, {sa_family=AF_INET6, sin6_port=htons(1025), inet_pton(AF_INET6, "2001:41c8:1:4f39::10", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable)
...

you'll need to do some network debugging on your side to narrow things down