Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58805 - Missing dependency in net.eth0 init script
Summary: Missing dependency in net.eth0 init script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-07-29 11:22 UTC by Erasmo
Modified: 2004-08-02 13:09 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 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