Package: ifupdown
Version: 0.8.19
Severity: normal

Hi,

Using allow-hotplug for InfiniBand devices does not work. The devices are never
brought up.

Example /etc/network/interfaces:
```
allow-hotplug ib0.dddd
iface ib0.dddd inet6 static
    address fd44:1:5255::
    netmask 64
    pre-up echo connected > /sys/class/net/$IFACE/mode
    dad-attempts 600
```

I am removing and loading the ib_ipoib kernel module. Loading the modules
produces following udev events:

```
$ udevadm monitor
[...]
KERNEL[78666.922735] add      
/devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/ib0 (net)
UDEV  [78666.941473] add      
/devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/ib0 (net)
[...]
KERNEL[78666.959961] add      
/devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/ib1 (net)
UDEV  [78666.979126] add      
/devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/ib1 (net)
```

These events should trigger ifupdown-hotplug:

```
$ udevadm test /devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/ib0 2>&1 | 
grep ifupdown
Reading rules file: /lib/udev/rules.d/80-ifupdown.rules
RUN 'ifupdown-hotplug' /lib/udev/rules.d/80-ifupdown.rules:5
run: 'ifupdown-hotplug'
```

I see no new output in the networking.service and cannot find 'ifupdown' logs 
in /var/log.

-- 
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
10405 Berlin

Email: benjamin.dr...@profitbricks.com
URL: https://www.profitbricks.de

Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B
Geschäftsführer: Achim Weiss, Matthias Steinberg, Christoph Steffens

Reply via email to