[Bug 1541678] [NEW] if-post-down.d/vlan and if-pre-up.d/vlan should support en* interfaces
Haw Loeung
1541678 at bugs.launchpad.net
Thu Feb 4 04:11:55 UTC 2016
Public bug reported:
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 at lagertha:/var/log$ dmesg | grep rename
| [ 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*|bond*.0*|wlan*.0*|em*.0*|p[0-9]*.0*)
| ... ;;
| eth*.*|bond*.*|wlan*.*|em*.*|p[0-9]*.*)
| ... ;;
"""
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/geographical location of the connector of the hardware (example: enp2s0)
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 at lagertha:/var/log$ apt-cache policy udev
| udev:
| Installed: 228-4ubuntu2
| Candidate: 228-5ubuntu1
| Version table:
| 228-5ubuntu1 500
| 500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
| *** 228-4ubuntu2 100
| 100 /var/lib/dpkg/status
| ubuntu at lagertha:/var/log$ apt-cache policy vlan
| vlan:
| Installed: 1.9-3.2ubuntu1
| Candidate: 1.9-3.2ubuntu1
| Version table:
| *** 1.9-3.2ubuntu1 500
| 500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
| 100 /var/lib/dpkg/status
[1]http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
** Affects: vlan (Ubuntu)
Importance: Undecided
Status: New
** Tags: xenial
** Tags added: xenial
** Description changed:
Starting with udev v197, systems now use predictable network interface
names by default. Unfortunately on my system running Xenial alpha2, it
seems vlan doesn't support the generated interface names:
| ubuntu at lagertha:/var/log$ dmesg | grep rename
| [ 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*|bond*.0*|wlan*.0*|em*.0*|p[0-9]*.0*)
| ... ;;
| eth*.*|bond*.*|wlan*.*|em*.*|p[0-9]*.*)
| ... ;;
+
+ Here's the package versions:
+
+ | ubuntu at lagertha:/var/log$ apt-cache policy udev
+ | udev:
+ | Installed: 228-4ubuntu2
+ | Candidate: 228-5ubuntu1
+ | Version table:
+ | 228-5ubuntu1 500
+ | 500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
+ | *** 228-4ubuntu2 100
+ | 100 /var/lib/dpkg/status
+ | ubuntu at lagertha:/var/log$ apt-cache policy vlan
+ | vlan:
+ | Installed: 1.9-3.2ubuntu1
+ | Candidate: 1.9-3.2ubuntu1
+ | Version table:
+ | *** 1.9-3.2ubuntu1 500
+ | 500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
+ | 100 /var/lib/dpkg/status
** Description changed:
Starting with udev v197, systems now use predictable network interface
- names by default. Unfortunately on my system running Xenial alpha2, it
- seems vlan doesn't support the generated interface names:
+ names by default[1]. Unfortunately on my system running Xenial alpha2,
+ it seems vlan doesn't support the generated interface names:
| ubuntu at lagertha:/var/log$ dmesg | grep rename
| [ 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*|bond*.0*|wlan*.0*|em*.0*|p[0-9]*.0*)
| ... ;;
| eth*.*|bond*.*|wlan*.*|em*.*|p[0-9]*.*)
| ... ;;
+
+ """
+ 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/geographical location of the connector of the hardware (example: enp2s0)
+ 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 at lagertha:/var/log$ apt-cache policy udev
| udev:
| Installed: 228-4ubuntu2
| Candidate: 228-5ubuntu1
| Version table:
| 228-5ubuntu1 500
| 500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
| *** 228-4ubuntu2 100
| 100 /var/lib/dpkg/status
| ubuntu at lagertha:/var/log$ apt-cache policy vlan
| vlan:
| Installed: 1.9-3.2ubuntu1
| Candidate: 1.9-3.2ubuntu1
| Version table:
| *** 1.9-3.2ubuntu1 500
| 500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
| 100 /var/lib/dpkg/status
+
+ [1]http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
** Summary changed:
- 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
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vlan in Ubuntu.
https://bugs.launchpad.net/bugs/1541678
Title:
if-post-down.d/vlan and if-pre-up.d/vlan should support en* interfaces
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vlan/+bug/1541678/+subscriptions
More information about the Ubuntu-server-bugs
mailing list