# Support for ifupdown script.
# Don't bother to restart when lo is configured.
if [ "$IFACE" != "$ISCSI_INTERFACE" ]; then
exit 0
fi
So now, appart from the explicitely interface specified, the open-iscsi daemon doesn't restart :)
Pay attention if you use some aliased interfaces though, you coud physically loose the connectivity.
I experienced the same issue.
I've modified the beginning of the script this way :
PATH=/sbin: /bin:/usr/ sbin:/usr/ bin /var/run/ iscsid. pid /etc/iscsi/ initiatorname. iscsi ="br1:0"
DAEMON=/sbin/iscsid
ADM=/sbin/iscsiadm
PIDFILE=
NAMEFILE=
ISCSI_INTERFACE
[ -x "$DAEMON" ] || exit 0
# Support for ifupdown script.
# Don't bother to restart when lo is configured.
if [ "$IFACE" != "$ISCSI_INTERFACE" ]; then
exit 0
fi
So now, appart from the explicitely interface specified, the open-iscsi daemon doesn't restart :)
Pay attention if you use some aliased interfaces though, you coud physically loose the connectivity.