------- Comment From [email protected] 2015-04-17 20:32 EDT-------
There is an exception in /lib/udev/rules.d/75-persistent-net-generator.rules 
for ibmveth:

# ibmveth interfaces have stable locally administered MAC addresses
SUBSYSTEMS=="ibmveth",                  ENV{MATCHADDR}="$attr{address}"

This should override the issue related to locally administered mac
addresses in this case. However, if we run:

udevadm monitor --e

and then:

echo "add" > /sys/class/net/eth0/uevent

We see:

KERNEL[622.903561] add      /devices/vio/30000002/net/eth0 (net)
ACTION=add
DEVPATH=/devices/vio/30000002/net/eth0
IFINDEX=2
INTERFACE=eth0
SEQNUM=2105
SUBSYSTEM=net

UDEV  [622.918331] add      /devices/vio/30000002/net/eth0 (net)
ACTION=add
DEVPATH=/devices/vio/30000002/net/eth0
ID_NET_DRIVER=ibmveth
ID_NET_LINK_FILE=/lib/systemd/network/99-default.link
ID_NET_NAME_MAC=enx9232371c4202
IFINDEX=2
INTERFACE=eth0
MATCHDEVID=0x0
MATCHIFTYPE=1
SEQNUM=2105
SUBSYSTEM=net
SYSTEMD_ALIAS=/sys/subsystem/net/devices/eth0
[email protected]
TAGS=:systemd:
USEC_INITIALIZED=3954

If I make this change to /lib/udev/rules.d/75-persistent-net-
generator.rules, then I get a rule generated for ibmveth devices:

--- 75-persistent-net-generator.rules.orig      2015-04-17 16:29:19.188304056 
-0400
+++ 75-persistent-net-generator.rules   2015-04-17 16:26:34.395299425 -0400
@@ -103,6 +103,7 @@
# ibmveth interfaces have stable locally administered MAC addresses
SUBSYSTEMS=="ibmveth",                  ENV{MATCHADDR}="$attr{address}"
+DRIVERS=="ibmveth",                    ENV{MATCHADDR}="$attr{address}"
# S/390 interfaces are matched only by id
SUBSYSTEMS=="ccwgroup", \
@@ -125,6 +126,8 @@
ENV{COMMENT}="S/390 device at $id"
SUBSYSTEMS=="ibmveth", \
ENV{COMMENT}="LPAR virtual device at $id"
+DRIVERS=="ibmveth", \
+ ENV{COMMENT}="LPAR virtual device at $id"
SUBSYSTEMS=="ieee1394", \
ENV{COMMENT}="Firewire device $attr{host_id}"
ENV{COMMENT}=="", \

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1437375

Title:
  Adding "Austin" adapter to Ubuntu partition take over system network
  interface

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1437375/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to