Package: ifenslave-2.6
Version: 1.1.0-19
Severity: important

I've stumbled across the same bug as reported in #558097. When ethernet ports are bound to bond0:

auto bond0
iface bond0 inet manual
        slaves eth0 eth1
        bond_mode 4
        bond_miimon 100
        bond_downdelay 200
        bond_updelay 200

auto vmbr0
iface vmbr0 inet static
        bridge_ports bond0
        address x.x.x.x
        netmask 255.255.255.240
        gateway x.x.x.x

server during startup complains with messages:
Sep 11 08:24:00 foxtrot kernel: [49575.301319] bonding: bond0: Warning: Found an uninitialized port

This renders the network connection broken. Previous bug report was closed with information that the problem was solved in version 1.1.0-15, however my ifenslave version is 1.1.0-19 and the bug still persists. I did a bit of searching and it seems that ubuntu faced the same issue (here's the bug report: https://bugs.launchpad.net /ubuntu/+source/ifenslave-2.6/+bug/482419) but it is now fixed. The patch seems trivial as it moves "enslave_slaves" function in /etc/network/if-pre-up.d/ifenslave from after the "setup"master" to before the "setup_master" function call, so the final script looks like this:

...
add_master
early_setup_master
#enslave_slaves
setup_master
enslave_slaves
exit 0

This seems to resolve the issue in my case.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to