Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 118366

Summary: [baselayout-1.12.0_pre13-r1] DHCP wrappers do not source /etc/conf.d/net.{interface}
Product: Gentoo Linux Reporter: Oldrich Jedlicka <oldium.pro>
Component: [OLD] baselayoutAssignee: Roy Marples (RETIRED) <uberlord>
Status: RESOLVED FIXED    
Severity: major Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Oldrich Jedlicka 2006-01-09 01:50:56 UTC
When DHCP (dhcpcd in my case) is started, wrapper in /lib/rcscripts/net.modules.d/helpers.d/ is used. This wrapper loads module-loader, which tries to source only `/etc/conf.d/net'. The problem is that the configuration can stay entirely in `/etc/conf.d/net.{interface}', so it should be sourced also. And this is currently my problem.

Order of sourcing should be - according to runscript.sh - `net.{interface}' first and then `net' (if I'm right). But this is questionable as the postup() functions do not have any specialization (like postup_{interface}() function).
Comment 1 Oldrich Jedlicka 2006-01-09 02:35:18 UTC
I created a separate bug #118368 for the postup_{interface}/order of sourcing thing.
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-01-09 08:44:15 UTC
Fixed in our svn repo - will be in baselayout-1.12.0_pre14
Comment 3 Roy Marples (RETIRED) gentoo-dev 2006-01-13 05:08:23 UTC
baselayout-1.12.0_pre14 is out