Package: ifupdown Version: 0.8.19 Severity: important Tags: patch After upgrading a server from jessie to stretch, and rebooting, it lost network connectivity.
I found that the VLAN interfaces specified in /etc/network/interfaces had not been created. This is the output when attempting to bring up a vlan interface manually: $ ifup eth0.220 /bin/sh: 1: cannot create /sys/class/net/eth0/create_child: Permission denied ifup: ignoring unknown interface eth0.220=eth0.220 The server has a Mellanox ConnectX-3 Pro card, which has two interfaces that are configurable to run in either Infiniband or Ethernet mode. I am running both ports in Ethernet mode, but ifupdown is treating the interfaces as Infiniband and trying to add an Infiniband partition to the interface instead of an Ethernet VLAN. This fails, and the expected VLAN interfaces are never created. I have attached a patch which resolves the issue by only attempting to create Infiniband partitions when an interface has type ARPHRD_INFINIBAND, i.e. that is its current operational mode. I set severity to ‘important’ because this bug breaks Debian Stretch for users of Mellanox cards and VLANs.
fix-infiniband-device-detection.patch
Description: Binary data
Thanks, Alex Fox Computer Systems Engineer | Neonix Registered in England & Wales #6304308. The Landing, Blue, MediaCityUK, M50 2ST