FS#10616 - [initscripts] cannot create bridge with bonded interface using rc.conf (with fix)
Attached to Project:
Arch Linux
Opened by Jonathan Liu (net147) - Monday, 09 June 2008, 02:22 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 10 August 2009, 12:00 GMT
Opened by Jonathan Liu (net147) - Monday, 09 June 2008, 02:22 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 10 August 2009, 12:00 GMT
|
Details
Description:
There are problems creating a bridge with bonded interfaces using rc.conf. In the /etc/rc.d/network script, the bridge is created before the bonded interface. This results in an error and as a result, the bonded interface is not added to the bridge. I also noticed when the network is stopped, the interfaces added to the bonded interfaces are not removed. A patch is attached that corrects this issue. Additional info: * Package: initscripts-2008.05-1 Steps to reproduce: ---------- /etc/rc.conf MODULES=(bonding) eth0="eth0 0.0.0.0 promisc" eth1="eth1 0.0.0.0 promisc" bond_bond0="eth0 eth1" BOND_INTERFACES=(bond0) bond0="bond0 0.0.0.0 promisc" INTERFACES=(eth0 eth1 bond0 br0) br0="br0 192.168.0.1 netmask 255.255.255.0" bridge_br0=(bond0) BRIDGE_INTERFACES=(br0) reboot computer (which will run /etc/rc.d/network start) |
This task depends upon
Closed by Roman Kyrylych (Romashka)
Monday, 10 August 2009, 12:00 GMT
Reason for closing: Implemented
Monday, 10 August 2009, 12:00 GMT
Reason for closing: Implemented
http://projects.archlinux.org/?p=initscripts.git;a=commitdiff;h=0dd360f4d0c880a0e9b1a18354196740626ad123