thanks for posting your patches along the way. Regarding your third version (in comment #24), is it just the net-device-up for the bridge which you're not seeing? Have you tried leaving bridge-network-interface.conf enabled, and, at the bottom of the loop in its pre-start script, doing
ifup $i
(to force /etc/network/if-up.d/upstart to do the initctl emit for us). So the script would look like:
mkdir -p /var/run/network
for i in $(ifquery --list --allow auto); do ports=$(ifquery $i | sed -n -e's/^bridge_ports: //p')
for port in $(bridge_parse_ports $ports); do case $port in $INTERFACE|$INTERFACE.*) ifup --allow auto $i brctl addif $i $port && ifconfig $port 0.0.0.0 up break ;; esac done ifup $i
done
end script
@Mika,
thanks for posting your patches along the way. Regarding your third version (in comment #24), is it just the net-device-up for the bridge which you're not seeing? Have you tried leaving bridge- network- interface. conf enabled, and, at the bottom of the loop in its pre-start script, doing
ifup $i
(to force /etc/network/ if-up.d/ upstart to do the initctl emit for us). So the script would look like:
pre-start script utils/bridge- utils.sh
. /lib/bridge-
mkdir -p /var/run/network
ports= $(ifquery $i | sed -n -e's/^bridge_ports: //p') parse_ports $ports); do
case $port in
$INTERFACE| $INTERFACE. *)
ifup --allow auto $i
brctl addif $i $port && ifconfig $port 0.0.0.0 up
break
;;
esac
done
ifup $i
for i in $(ifquery --list --allow auto); do
for port in $(bridge_
done
end script
Clint, does that look reasonable to you?