Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161959 - IPv6 route configuration broken in baselayout-1.12.8-r5
Summary: IPv6 route configuration broken in baselayout-1.12.8-r5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-13 22:08 UTC by Florian E.J. Fruth
Modified: 2007-01-17 13:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix routes in ifconfig.sh (ifconfig.sh.patch,1.32 KB, patch)
2007-01-14 09:52 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian E.J. Fruth 2007-01-13 22:08:00 UTC
The baselayout network configuration script ipv6-support is broken. My configuration from /etc/conf.d/net:
-------------------------------------------
modules=( "ifconfig" )
config_eth0=(
        "192.168.1.26 netmask 255.255.255.0 broadcast 192.168.1.255"
        "2001:6f8:13e3::26/48"
)
routes_eth0=(
        "default via 192.168.1.1"
        "2000::/3 via 2001:6f8:13e3::1"
)
-------------------------------------------

The error message:
-------------------------------------------
 * Starting eth0
 *   Bringing up eth0
 *     192.168.1.26                   [ ok ]
 *     2001:6f8:13e3::26/48           [ ok ]
 *   Adding routes
 *     default via 192.168.1.1 ...    [ ok ]
 *     2000::/3 via 2001:6f8:13e3::1 ...
getaddrinfo: #host: -2
#host: Unknown host                   [ !! ]
-------------------------------------------

I can't exactly say if this bug already occured with previous releases - but it should not be older then 2 months. I also found no occurrences of '#host' in my /etc directory - so i don't know where the net.eth0-script gets this...
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-01-14 09:36:01 UTC
Do you have iproute2 installed?
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-01-14 09:52:18 UTC
Created attachment 106912 [details, diff]
Fix routes in ifconfig.sh

Please test this patch for /lib/rcscripts/net/ifconfig.sh
Comment 3 Florian E.J. Fruth 2007-01-14 18:31:27 UTC
works, thanks
fejf
Comment 4 Roy Marples (RETIRED) gentoo-dev 2007-01-17 13:18:44 UTC
Fixed in 1.12.9 - thanks