Bug 134751 - net-misc/iputils-021109-r3 broke ipv6 support with kernel 2.6.1x
Bug#: 134751 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: madnark@hotmail.com
Component: Ebuilds
URL: 
Summary: net-misc/iputils-021109-r3 broke ipv6 support with kernel 2.6.1x
Keywords:  
Status Whiteboard: 
Opened: 2006-05-29 04:41 0000
Description:   Opened: 2006-05-29 04:41 0000
emerge --info:

Portage 2.0.54-r2 (hardened/x86/2.6, gcc-3.4.5, glibc-2.3.6-r3,
2.6.16-hardened-r6 i686)
=================================================================
System uname: 2.6.16-hardened-r6 i686 Pentium II (Klamath)
Gentoo Base System version 1.12.0
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://distfiles.gentoo.org"
LINGUAS="en"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="berkdb bzip2 crypt dlloader expat fam gdbm hardened ipv6 ncurses nls nptl
nptlonly pam pcre perl pic python readline ssl tcpd threads udev userlocales
x86 zlib linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS

===
>ping6 someIPv6
can't receive hop limit: Protocol not available
>tracepath6 someIPv6
can't receive hop limit: Protocol not available

------- Comment #1 From Mekong 2006-05-29 04:44:48 0000 -------
Created an attachment (id=87793) [details]
Patch on iputils to fix broke IPv6 support

------- Comment #2 From SpanKY 2006-06-08 03:48:47 0000 -------
that doesnt really explain anything

linux/in6.h from linux-headers should be properly defining those

------- Comment #3 From Martin Jansa 2006-08-19 07:08:09 0000 -------
(In reply to comment #2)
> that doesnt really explain anything
> 
> linux/in6.h from linux-headers should be properly defining those
> 

should but ie headers 2.6.16 define those as
#define IPV6_ADDRFORM           1
#define IPV6_2292PKTINFO        2
#define IPV6_2292HOPOPTS        3
#define IPV6_2292DSTOPTS        4
#define IPV6_2292RTHDR          5
#define IPV6_2292PKTOPTIONS     6
#define IPV6_CHECKSUM           7
#define IPV6_2292HOPLIMIT       8
#define IPV6_NEXTHOP            9
#define IPV6_AUTHHDR            10      /* obsolete */
#define IPV6_FLOWINFO           11

and then iputils fails

------- Comment #4 From SpanKY 2006-08-20 00:15:10 0000 -------
then the correct fix is to try and use the new defines and if those dont exist,
fall back to the older ones

------- Comment #5 From SpanKY 2006-08-20 00:26:24 0000 -------
should be fixed in cvs now