Comment 18 for bug 1441435

Revision history for this message
Sergey Vasilenko (xenolog) wrote :

This case not correct.

ifup for bonds has unpleasant feature.

how to work bond:
firstly bond interface stay UP
after this stay UP his slave eth interfaces.
after this ifup script attach interfaces to bond
after all interfaces attached ifup pass bond properties to bond.
after this, if IP address assigned to bond, ip address was configured.

If bond has IP address -- post-up script was executed
If bond only member of bridge -- no post-up script executed

taking into account all this I propose following seq:

if bond has IP address -- his configure file will contain sleep N (N=15 for non-LACP and 45 for LACP)
if bond is member of bridge -- bond config file has no any sleep. But bridge config file contains sleep N (45 or 15).