I am not sure if my iscsi config is general for all ubuntus, but at least I replaced
if [ "$IFACE" = lo ]; then exit 0 fi with if iscsiadm -m iface --op=show | grep -q ",$(ip link show $IFACE 2>/dev/null | awk '$1=="link/ether" {print $2}')," ; then -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/669142 Title: if-up.d/if-down.d scripts restart iSCSI inappropriately To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/669142/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs