Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331999 - net-misc/dhcp-4* needs to check for CONFIG_IPV6 if USE="ipv6"
Summary: net-misc/dhcp-4* needs to check for CONFIG_IPV6 if USE="ipv6"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-10 09:28 UTC by Rick Harris
Modified: 2011-03-05 23:31 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Harris 2010-08-10 09:28:10 UTC
dhclient will fail always with the following error if the 'ipv6' USE flag is enabled and CONFIG_IPV6 kernel support has not been enabled.

dhclient: Error opening '/proc/net/if_inet6' to list IPv6 interfaces; No such file or directory
dhclient: Can't get list of interfaces.
dhclient: exiting.

Recommend a check be inserted into the ebuild, something like:

+inherit eutils flag-o-matic autotools linux-mod

+pkg_setup() {
+        if use ipv6; then
+                CONFIG_CHECK="IPV6"
+        fi
+        linux-mod_pkg_setup
+}
Comment 1 SpanKY gentoo-dev 2011-03-05 23:31:10 UTC
i dont see any real value in this.  plenty of packages will fail like this.