bond-primary must be set in slave interface

Bug #1087876 reported by Mark Hall
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ifenslave-2.6 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The bond-primary statment does not take effect when placed under the master interface. It will work if it is placed under any one of the slave inerfaces.

Primary interface is properly set:

auto eth1
iface eth1 inet manual
bond-master bond0
bond-primary eth1

auto eth2
iface eth2 inet manual
bond-master bond0

auto bond0
iface bond0 inet dhcp
bond-slaves eth1 eth2
bond-mode 1
bond-miimon 100

Primary interface is not set:

auto eth1
iface eth1 inet manual
bond-master bond0

auto eth2
iface eth2 inet manual
bond-master bond0

auto bond0
iface bond0 inet dhcp
bond-slaves eth1 eth2
bond-primary eth1
bond-mode 1
bond-miimon 100

Changed in ifenslave-2.6 (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ifenslave-2.6 - 1.1.0-20ubuntu3

---------------
ifenslave-2.6 (1.1.0-20ubuntu3) raring; urgency=low

  * Update documentation to match the way ifenslave-2.6 works in Ubuntu.
    (LP: #1087876, LP: #1073820)
  * Don't use seq in pre-up as it's in /usr, instead replace by a while
    loop. (LP: #1065077)
 -- Stephane Graber <email address hidden> Tue, 11 Dec 2012 11:38:07 -0500

Changed in ifenslave-2.6 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Fred (ubuntunone) wrote :

Per http://launchpadlibrarian.net/125456935/ifenslave-2.6_1.1.0-20ubuntu2_1.1.0-20ubuntu3.diff.gz the changes were exactly the opposite of correcting the docs to describe the above behaviour.

I have tested this on ifenslave-2.4ubuntu1 on 14.04, and the behaviour is exactly as Mark describes it - bond-primary only works when set in the slave stanza. Docs are still wrong.

Revision history for this message
Bostjan Skufca Jese (bostjanskufcajese) wrote :

Same behaviour in 16.04.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.