Comment 9 for bug 1573272

Revision history for this message
Dan Streetman (ddstreet) wrote :

This patch to the vlan pre-up script should fix this bug, can someone who can easily reproduce it please update your system and retest to verify it fixes the bug? You can just hand-edit your vlan script as shown, to replace the call to ip to instead do a full ifup on the raw device.

--- /etc/network/if-pre-up.d/vlan.orig 2017-03-16 16:50:37.972000000 +0000
+++ /etc/network/if-pre-up.d/vlan 2017-03-16 16:50:45.056000000 +0000
@@ -60,7 +60,7 @@
         exit 1
     fi
     if [ ! -e "/sys/class/net/$IFACE" ]; then
- ip link set up dev $IF_VLAN_RAW_DEVICE
+ ifup $IF_VLAN_RAW_DEVICE
         vconfig add $IF_VLAN_RAW_DEVICE $VLANID
     fi
 fi