if-post-down.d/vlan and if-pre-up.d/vlan should support predictable NIC names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vlan (Debian) |
New
|
Unknown
|
|||
vlan (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Starting with udev v197, systems now use predictable network interface names by default[1]. Unfortunately on my system running Xenial alpha2, it seems vlan doesn't support the generated interface names:
| ubuntu@
| [ 5.101700] igb 0000:01:00.0 enp1s0: renamed from eth0
| [ 5.502268] igb 0000:02:00.0 enp2s0: renamed from eth1
| [ 5.526634] igb 0000:04:00.0 enp4s0: renamed from eth3
| [ 5.550056] igb 0000:03:00.0 enp3s0: renamed from eth2
Looking at the if-pre-up and if-post-down scripts, it seems it's missing there and only has:
| eth*.0*
| ... ;;
| eth*.*|
| ... ;;
"""
What precisely has changed in v197?
The following different naming schemes for network interfaces are now supported by udev natively:
1. Names incorporating Firmware/BIOS provided index numbers for on-board devices (example: eno1)
2. Names incorporating Firmware/BIOS provided PCI Express hotplug slot index numbers (example: ens1)
3. Names incorporating physical/
4. Names incorporating the interfaces's MAC address (example: enx78e7d1ea46da)
5. Classic, unpredictable kernel-native ethX naming (example: eth0)
"""
Here's the package versions:
| ubuntu@
| udev:
| Installed: 228-4ubuntu2
| Candidate: 228-5ubuntu1
| Version table:
| 228-5ubuntu1 500
| 500 http://
| *** 228-4ubuntu2 100
| 100 /var/lib/
| ubuntu@
| vlan:
| Installed: 1.9-3.2ubuntu1
| Candidate: 1.9-3.2ubuntu1
| Version table:
| *** 1.9-3.2ubuntu1 500
| 500 http://
| 100 /var/lib/
[1]http://
tags: | added: xenial |
description: | updated |
description: | updated |
summary: |
- if-post-down.d/vlan and if-pre-up.d/vlan should support enpXsY - interfaces + if-post-down.d/vlan and if-pre-up.d/vlan should support en* interfaces |
Changed in vlan (Ubuntu): | |
importance: | Undecided → High |
summary: |
- if-post-down.d/vlan and if-pre-up.d/vlan should support en* interfaces + if-post-down.d/vlan and if-pre-up.d/vlan should support predictable NIC + names |
Changed in vlan (Debian): | |
status: | Unknown → New |
tags: | added: server-next |
Changed in vlan (Ubuntu): | |
importance: | High → Wishlist |
Changed in vlan (Ubuntu): | |
importance: | Wishlist → High |
Changed in vlan (Ubuntu): | |
assignee: | nobody → Robie Basak (racb) |
tags: | removed: server-next |
Changed in vlan (Debian): | |
importance: | Unknown → Medium |
Changed in vlan (Debian): | |
importance: | Medium → Unknown |
Attached patch makes it work when interface names are enpXsY. It doesn't cover the other cases as per link to PredictableNetw orkInterfaceNam es.