In my test I removed /etc/init/iscsi-network-interface.conf and /lib/systemd/system/ifup@.service.d/open-iscsi.conf as they are redundant with hotplugging. They would still be relevant if someone is supposed to ifup/ifdown the iscsi interface and expect net-interface-handler to run; if we want the latter, then we should keep the upstart job/systemd drop-in (net-interface-handler is idempotent, so running it twice doesn't matter), otherwise we can clean them up.
This works again with adding this udev rule:
$ cat /lib/udev/ rules.d/ 70-iscsi- network- interface. rules lib/open- iscsi/net- interface- handler start" lib/open- iscsi/net- interface- handler stop"
SUBSYSTEM=="net", ACTION=="add", RUN+="/
SUBSYSTEM=="net", ACTION=="remove", RUN+="/
In my test I removed /etc/init/ iscsi-network- interface. conf and /lib/systemd/ system/ ifup@.service. d/open- iscsi.conf as they are redundant with hotplugging. They would still be relevant if someone is supposed to ifup/ifdown the iscsi interface and expect net-interface- handler to run; if we want the latter, then we should keep the upstart job/systemd drop-in (net-interface- handler is idempotent, so running it twice doesn't matter), otherwise we can clean them up.