Comment 5 for bug 1561096

Revision history for this message
Martin Pitt (pitti) wrote :

Ah, I found it in the sosreport tarball:

P: /devices/vio/30000002/net/eth1
E: DEVPATH=/devices/vio/30000002/net/eth1
E: ID_NET_DRIVER=ibmveth
E: ID_NET_LINK_FILE=/lib/systemd/network/99-default.link
E: ID_NET_NAME_MAC=enx46dee7232602
E: IFINDEX=3
E: INTERFACE=eth1
E: SUBSYSTEM=net
E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/eth1
E: TAGS=:systemd:
E: USEC_INITIALIZED=829495

The device is not included in the sosreport's sys/, but I suppose other than the MAC address we indeed don't have any physical information (slot or PCI number) about these cards.

One solution would be to call these enx46dee7232602 (by MAC address), but while this is stable it is also rather long and ugly. Another would be to expose any helpful extra information in the kernel ibmveth driver to assign a stable name or number to those from outside.

If neither of those is practical, we need to reimplement a reduced/customized version of persistent-net-generator that names those "ibmvethN" with ascending N; this avoids the renaming race, but then the device names are still not predictable if there ever is more than one devices (i. e. before installation you don't know what the names will be, and you can't simply clone an installation and use it on another machine).