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

Bug 58805

Summary: Missing dependency in net.eth0 init script
Product: Gentoo Linux Reporter: Erasmo <ezubillaga>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: minor Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Erasmo 2004-07-29 11:22:50 UTC
The net.eth0 script must have a dependency to the "bridge" module, or else the bridged interfaces will not be up at the time when the init scripts is trying to configure the interfaces.

Reproducible: Always
Steps to Reproduce:
1. Compile the kernel with the networking bridge option
2. Emerge bridge-utils
3. Configure the bridge interface in /etc/conf.d/bridge
4. Configure the IP for the bridge interface in /etc/conf.d/net (ie. br0)
5. Symlink /etc/init.d/net.eth0 -> /etc/init.d/net.br0
5. rc-update add bridge default
6. rc-update add net.eth0 default
7. reboot

Actual Results:  
The IP address of the bridge interface is not configured because the bridge 
interface is not ready when the net.br0 script runs 


The solution is simpky as add the required dependency to the net.eth0 script: 
 
depend() { 
        use hotplug pcmcia bridge 
}
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-08-01 13:20:10 UTC
Thanks, will be in next baselayout release
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-08-02 13:09:19 UTC
baselayout-1.10.2 released