Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62191 - Missing "bridge" dependency in net.eth0 script
Summary: Missing "bridge" dependency in net.eth0 script
Status: VERIFIED DUPLICATE of bug 65153
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 66472
  Show dependency tree
 
Reported: 2004-08-30 00:58 UTC by Kent B. Hansen
Modified: 2005-07-29 06:01 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 Kent B. Hansen 2004-08-30 00:58:06 UTC
The /etc/init.d/net.eth0 should use/depend on the 'bridge' script as well.

Problem:
If you use the /etc/conf.d/bridge script from the bridge-utils package to setup a bridge, and want to give this bridge an IP-adress (by linking net.br0 (or whatever it's named) to net.eth0 and adding this to the runlevel), this 'bridge' script MUST be run prior to the 'net.br0' script.

Solution:
Change net.eth0 from:
depend() {
        use hotplug pcmcia
}

to:
depend() {
        use hotplug pcmcia bridge
}


Reproducible: Always
Steps to Reproduce:
1. Setup a bridge named "br0"
2. Give it an IP-adresse by linking net.br0 to net.eth0
Actual Results:  
The net.br0 fails since the br0 device doesn't exists until the bridge-script is
run.

Expected Results:  
Run the bridge script before the net-script is run.
Comment 1 Roy Marples (RETIRED) gentoo-dev 2004-11-05 09:05:43 UTC

*** This bug has been marked as a duplicate of 65153 ***
Comment 2 Kent B. Hansen 2005-07-29 06:01:06 UTC
Bug closed