Summary: | sys-apps/iproute2 won't compile without ipv6 support on uclibc systems | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey Popov (RETIRED) <pinkbyte> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | modified patch for iprout2-2.6.31 from bug #162885 |
Description
Sergey Popov (RETIRED)
![]() Created attachment 237431 [details, diff] modified patch for iprout2-2.6.31 from bug #162885 now in the tree ... thanks ! This update completely broke my system. I get the following message when trying to start my network: net.eth2 | * default table webserver ... net.eth2 |Usage: inet_route [-vF] del {-host|-net} Target[/prefix] [gw Gw] [metric M] [[dev] If] net.eth2 | inet_route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M] net.eth2 | [netmask N] [mss Mss] [window W] [irtt I] net.eth2 | [mod] [dyn] [reinstate] [[dev] If] net.eth2 | inet_route [-vF] add {-host|-net} Target[/prefix] [metric M] reject net.eth2 | inet_route [-FC] flush NOT supported and now I cannot access my computer from any network card besides eth0. I'm going to try and downgrade and hope that works. -ENEEDINFO. did you build it with USE=-ipv6 ? what exactly is your net config ? > This update completely broke my system.
Do you have system based on uclibc? This patch is MUST BE APPLIED only on uClibc-based systems that builded with USE="-ipv6"
well, I think it's something else now, perhaps something that updated in between emerges? #genlop iproute2 Sat Aug 7 22:43:23 2010 >>> sys-apps/iproute2-2.6.35-r1 Mon Aug 23 11:30:45 2010 >>> sys-apps/iproute2-2.6.35-r1 Mon Aug 23 22:55:19 2010 >>> sys-apps/iproute2-2.6.35-r1 Mon Aug 23 22:59:23 2010 >>> sys-apps/iproute2-2.6.35-r1 Mon Aug 23 23:04:20 2010 >>> sys-apps/iproute2-2.6.34 Mon Aug 23 23:10:57 2010 >>> sys-apps/iproute2-2.6.35-r1 I tried downgrading, I tried emerging with and without ipv6 but nothing helped. The funny thing is, if I start net.eth0 I don't get the said error, but when I start eth2, I do. The /etc/init.d/net.eth* scripts are identical. Here is my /etc/conf.d/net, which I haven't touched since my eth1 stopped working about a year ago: modules=( "iproute2" ) config_eth0=( "192.168.123.125/24 brd 192.168.123.255" # "dhcp" ) config_eth1=( "dhcp" ) config_eth2=( "dhcp" ) routes_eth0=( "default via 192.168.123.254" ) routes_eth2=( "127.0.0.0/8 dev lo table webserver" "default via 68.51.72.1 table webserver" "default table webserver" ) dns_servers_eth2="8.8.8.8 8.8.4.4" dns_servers_eth0="8.8.8.8 8.8.4.4" if USE=ipv6 hits the same problem, then your issue is unrelated to this bug. file a new one. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45c658502c94a90c7290ad411ee808b648a18b07 commit 45c658502c94a90c7290ad411ee808b648a18b07 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-02-12 11:02:04 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-18 02:40:16 +0000 sys-apps/iproute2: Remove USE=ipv6 This package does intrusive patching to remove (some?) IPv6 support. Apparently this is a leftover from historical uclibc support. Bug: https://bugs.gentoo.org/326849 Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org> sys-apps/iproute2/iproute2-5.16.0.ebuild | 8 +------- sys-apps/iproute2/iproute2-9999.ebuild | 8 +------- 2 files changed, 2 insertions(+), 14 deletions(-) |