bridge autocreation in /etc/init.d/networking seems to be broken
Hi,
It seems that the /etc/init.d/networking script is currently not able to create configured Bridges automatically.
If i do a default Configuration like stated in the Wiki:
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet static
address 192.168.0.253
netmask 255.255.255.0
gateway 192.168.0.254
bridge_ports eth0
bridge_stp 0
I get the following Error during boot:
ip: can’t find device ‘br0’
ip: ioctl 0x8913 failed: no such device
ip: can’t find device ‘br0’
Only if i do something ugly like:
auto br0
iface br0 inet static
pre-up brctl addbr br0
address 192.168.0.253
netmask 255.255.255.0
gateway 192.168.0.254
auto eth0
iface eth0 inet manual
up brctl addif br0 eth0
Then it will work.
This happend in the current Alpine Version 3.0.6
(from redmine: issue id 3506, created on 2014-11-12, closed on 2019-06-11)