Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143820 - baselayout-1.12.4 dhclient support completely broken
Summary: baselayout-1.12.4 dhclient support completely broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 130670
Blocks:
  Show dependency tree
 
Reported: 2006-08-13 14:54 UTC by Timothy Stotts
Modified: 2006-08-13 23:51 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 Timothy Stotts 2006-08-13 14:54:21 UTC
The dhclient module works correctly in baselayout-1.11.15-r3 .  It is seriously broken in baselayout-1.12.4-r2 . Version 1.12.1 as the portage digests are broken for it, even after emerge --sync.

Problems:
    (1) The interface is not specified by the rc scripts when calling dhclient.  (See bug 130670 ). For example, eth0 will come up when starting eth1.

    (2) The setup script is no longer passed to dhclient (and is no longer present in ebuild), originally:
    -sf /lib/rcscripts/net.modules.d/helpers.d/dhclient-ifconfig
So, dhclient has no default way to initialize the interface, routes, and resolv.conf .

Why is this stable?!!
Comment 1 Timothy Stotts 2006-08-13 14:58:00 UTC
Above, meant to say that "I don't know if version 1.12.1 has dhclient support broken as the portage digests are broken for it, even after emerge --sync".

From /etc/conf.d/net :

modules=( "dhclient" )
config_eth0=( "dhcp" )
dhclient_eth0=("-cf /etc/dhcp/dhclient.conf")
config_eth1=( "dhcp" )
dhclient_eth1=("-cf /etc/dhcp/dhclient.conf")
config_eth2=( "dhcp" )
dhclient_eth2=("-cf /etc/dhcp/dhclient.conf")
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-08-13 23:51:08 UTC
baselayout-1.12.4-r3 has fixed dhclient support for > 1 interface 130670.

However, we require dhcp-3.0.3-r9 which has dhclient's own script patched up to fully configure your interface, thus removing lots of cruft from baselayout.

dhcp-3.0.3-r9 is stable on all arches.

Reopen if you disagree