eth* device names hardcoded in debian/pre-up script

Bug #948538 reported by Jared Dominguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ifenslave-2.6 (Ubuntu)
Fix Released
Wishlist
Stéphane Graber

Bug Description

In the pre-up script in this package, eth* device names are hardcoded. This affects machines with biosdevname enabled.

See line 135 of this script in ifenslave-2.6 (1.1.0-19ubuntu5):
                        BOND_SLAVES=`sed -ne 's/ *\(eth[^:]*\):.*/\1/p' /proc/net/dev`

This appears to be the only line of code in this package where this is hardcoded.

Tags: biosdevname
Revision history for this message
Jared Dominguez (jared-dominguez) wrote :

Clarification: Systems with biosdevname enabled use em* and p*p* instead of eth*.

Colin Watson (cjwatson)
tags: added: biosdevname
Revision history for this message
Stéphane Graber (stgraber) wrote :

Marking as wishlist, I thought someone commited to providing patches for all of these last cycle?

Changed in ifenslave-2.6 (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
Changed in ifenslave-2.6 (Ubuntu):
status: Triaged → Fix Committed
assignee: nobody → Stéphane Graber (stgraber)
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
ifenslave-2.6 (1.1.0-20ubuntu2) quantal; urgency=low

  * Remove hardcoded eth* in pre-up and replace by a for loop going through
    all physically attached devices. (LP: #948538)
 -- Stephane Graber <email address hidden> Tue, 09 Oct 2012 10:29:11 -0400

Changed in ifenslave-2.6 (Ubuntu):
status: Fix Committed → Fix Released
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.