Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197788 - sys-apps/baselayout-2.0.0_rc6 fails to use fallback configuration
Summary: sys-apps/baselayout-2.0.0_rc6 fails to use fallback configuration
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-11-01 15:40 UTC by Gabriel Devenyi
Modified: 2007-11-01 18:16 UTC (History)
0 users

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


Attachments
fallback.patch (fallback.patch,327 bytes, patch)
2007-11-01 17:39 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Devenyi 2007-11-01 15:40:38 UTC
Configuration is as such:
config_eth0="dhcp"
dhcp_eth0="nontp"

fallback_eth0="arping"
gateways_eth0="130.113.54.5,,130.113.54.64"
config_130113054005="130.113.54.64 netmask 255.255.0.0"
routes_130113054005="default via 130.113.54.5"
dns_servers_130113054005="130.113.128.1 130.113.64.1"
dns_domain_130113054005="eng.mcmaster.ca"

The arping configuration works on its own ie using config_eth0="arping"
Starting a config using the above method results in:

 * Caching service dependencies ...                                                                                     [ ok ]
 * Bringing down interface eth0
 *   Loaded modules: ip6to4 dhcpcd udhcpc dhclient system iproute2 ifconfig ssidnet wpa_supplicant iwconfig netplugd ipppd ifplugd macnet macchanger ccwgroup tuntap br2684ctl arping
 * Bringing up interface eth0
 *   Loaded modules: arping tuntap ccwgroup macchanger macnet wpa_supplicant ssidnet iproute2 system dhcpcd ip6to4
 *   Configuring eth0 for MAC address 00:15:C5:67:29:48 ...                                                             [ ok ]
 *   dhcp ...
 *     Running dhcpcd ...
Error, eth0: timed out
Error, eth0: lease expired 786582 seconds ago                                                                           [ !! ]
 * ERROR: net.eth0 failed to start

baselayout does not attempt to use the fallback configuration
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-11-01 17:39:03 UTC
Created attachment 134926 [details, diff]
fallback.patch

This should fix it - let me know.
Comment 2 Gabriel Devenyi 2007-11-01 18:06:47 UTC
That fixed it, now dhcp fails and falls back to arping an address. Thanks.
Comment 3 Roy Marples (RETIRED) gentoo-dev 2007-11-01 18:16:33 UTC
Fixed in our svn repo.