no predictable names for platform (non-PCI) NICs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Zesty |
Fix Released
|
Medium
|
Dimitri John Ledkov |
Bug Description
[Impact]
Systems may have NICs attached to the "platform" bus. These are NICs that are onboard, but not attached to a PCI(-like) bus. Rather, they are described by firmware directly. None of the naming policies enabled by Ubuntu by default matches these NICs, so they end up having unpredictable names. In the case where other NICs are attached (e.g. PCIe cards), the ethN enumeration race occurs, making it impossible to have an interface name that is persistent across reboots. That is, if you do a network install over "eth0", on reboot that NIC now maybe "eth3", which causes it to fail to start the network on boot.
The HiSilicon D05 boards are an example of this. It has 4 onboard NICs that are described by ACPI directly, and may also have other PCIe NICs plugged in.
[Test Case]
Boot a system with the characteristics described above, and check to see if any "ethN" interfaces exist.
[Regression Risk]
Unless one fixed the names locally with .netlink / .rules files the interface names will change for the ACPI/platform bus network interfaces, from random ethX names to stable names named like enaVENDORMODELiX. Thus we should check that this update doesn't negatively break certified ARM64 platforms with: ARM, NVIDIA, HISILICON platform bus ethernet devices.
CVE References
Changed in systemd (Ubuntu Xenial): | |
status: | New → Confirmed |
description: | updated |
Changed in systemd (Ubuntu Zesty): | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
assignee: | nobody → Dimitri John Ledkov (xnox) |
milestone: | none → zesty-updates |
Changed in systemd (Ubuntu Zesty): | |
status: | Fix Committed → In Progress |
Changed in systemd (Ubuntu Xenial): | |
milestone: | none → ubuntu-16.04.3 |
Changed in systemd (Ubuntu Yakkety): | |
status: | New → In Progress |
no longer affects: | systemd (Ubuntu Yakkety) |
This bug was fixed in the package systemd - 233-6ubuntu2
---------------
systemd (233-6ubuntu2) artful; urgency=medium
[ Michael Biebl ] importer: Fix unaligned access in get_data_size()
* basic/journal-
(Closes: #862062)
[ Dimitri John Ledkov ]
* ubuntu: disable dnssec on any ubuntu releases (LP: #1690605)
* Cherrypick upstream patch for vio predictable interface names.
* Cherrypick upstream patch for platform predictable interface names.
(LP: #1686784)
[ Balint Reczey ] remount- fs.service in containers
* Skip starting systemd-
even when /etc/fstab is present.
This allows entering fully running state even when /etc/fstab
lists / to be mounted from a device which is not present in the
container. (LP: #1576341)
-- Dimitri John Ledkov <email address hidden> Wed, 17 May 2017 19:24:03 +0100