Comment 0 for bug 1541678

Revision history for this message
Haw Loeung (hloeung) wrote : if-post-down.d/vlan and if-pre-up.d/vlan should support enpXsY interfaces

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@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]*.*)
| ... ;;