eth* NIC names hardcoded

Bug #948559 reported by Jared Dominguez on 2012-03-06
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
vlan (Debian)
New
Unknown
vlan (Ubuntu)
Medium
Colin Watson

Bug Description

eth* device names are hardcoded. This affects systems with biosdevname enabled, as they use em* and p*p* instead.

Places where this is hardcoded are:
1. contrib/network
2. if-pre/post scripts
3. vlan_test{,2}.pl

Related branches

Dave Walker (davewalker) on 2012-03-07
Changed in vlan (Ubuntu):
importance: Undecided → Medium
Colin Watson (cjwatson) wrote :

contrib/network requires things like /etc/sysconfig/ (a RHism) and isn't installed; vlan_test{,-2}.pl are test scripts and are not installed.

For the rest, the documentation currently advises using the 'vlan-raw-device' entry in /etc/network/interfaces, although I agree that we should support the biosdevname interface names out of the box anyway.

Colin Watson (cjwatson) on 2012-03-07
Changed in vlan (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vlan - 1.9-3ubuntu6

---------------
vlan (1.9-3ubuntu6) precise; urgency=low

  * Support biosdevname interface names out of the box (LP: #948559).
 -- Colin Watson <email address hidden> Wed, 07 Mar 2012 12:11:55 +0000

Changed in vlan (Ubuntu):
status: New → Fix Released
Changed in vlan (Debian):
status: Unknown → New
Aaron Brady (bradya) wrote :

Hi,

This bug has recurred since devices now have different names on newer udev/kernel/Ubuntu versions. I now have an eno1 device, but /etc/network/if-pre-up.d/vlan hardcodes the following list:

  eth*.0*|bond*.0*|wlan*.0*|em*.0*|p[0-9]*.0*)

Which means that "iface eno1.213" no longer matches and doesn't work as expected.

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

Other bug subscribers

Remote bug watches

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