Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150520 - Can't make a bridge device depend on a tap device being up first
Summary: Can't make a bridge device depend on a tap device being up first
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-08 15:37 UTC by Duncan Lockwood
Modified: 2006-11-06 12:53 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 Duncan Lockwood 2006-10-08 15:37:11 UTC
I'm trying to bring a bridge containing a tap interface bridged onto an ethernet interface up at boot time, and cannot work out how to make br0 depend on tap0 being up in /etc/conf.d/net

please see the following URL for my attempts

http://www.splurby.net/~dunc/conf.d_net.txt
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-10-31 05:43:29 UTC
Config A and B look good but need RC_NEED_br0="net.tap0 net.eth1"

To fix config B error, edit /lib/rcscripts/net/tuntap.sh and edit line 20 to read
before bridge interface macchanger
Please report back on this.

baselayout-1.13.0_alpha4 should fix the config A error, or at least I hope it does. As it's alpha, it probably has other nasty bugs so if you do try it, just report on this exact issue only.

Thanks
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-11-04 06:26:49 UTC
Fixed in baselayout-1.12.6
Comment 3 Duncan Lockwood 2006-11-06 12:45:46 UTC
Hi Roy,

Sorry I wasn't around to help test this, hopefully am around a bit more now.

This does indeed solve the problem of getting the devices added to the bridge OK, excellent stuff.

It doesn't set br0 as UP though, I was expecting config_br0=( "null") to do that too in the same manner as it does with eth1

Am I missing something?

Cheers,

Dunc
Comment 4 Roy Marples (RETIRED) gentoo-dev 2006-11-06 12:53:01 UTC
(In reply to comment #3)
> It doesn't set br0 as UP though, I was expecting config_br0=( "null") to do
> that too in the same manner as it does with eth1

No, it doesn't set it up in 1.12
It does in 1.13 though.