openrc doesn't like having a bridge device with the name 'bridge'. As with bug #277464, it's a problem with 'brctl'. In this case, openrc's bridge.sh script is reading the output, grep'ing for "^${IFACE}[[:space:]]". In my case, the output is: $ brctl show bridge name bridge id STP enabled interfaces bridge 8000.001d722ae770 no wired Unfortunately, the header line matches when ${IFACE} is 'bridge', causing bridge.sh to think the bridge named 'bridge' is up when it isn't.
Created attachment 197608 [details, diff] sys-apps/openrc-0.4.3-r3 patch for bridge named 'bridge' This patches the net/bridge.sh script to avoid the bug. I'm not 100% sure 'tail -n +2' is portable, but my sed-fu is nowhere near my perl-fu so I didn't alter the sed commands, and perl seemed like overkill.
Hmmm, we need to fix the sed as tail is in /usr ...
Created attachment 217389 [details, diff] Path for OpenRC to use Bridges named 'bridge' using sed instead of tail I did not include changes to the ebuild because it seems that given Roy is on this bug the patch is meant for upstream. I patched this off of commit ecf9ef49a724f6b95039bd760893f51a920f017b. The patch works with OpenRC 0.6.0 as well. Tested with both above commit and OpenRC 0.6.0, using net-misc/bridge-utils-1.4. Thanks.
http://roy.marples.name/projects/openrc/changeset/c0f5f2122c28aa16a45fada0f95743d795be5d53
This is fixed upstream, and will be included in the next release of gentoo (current release is 0.6.0-r1).