I experienced the same issue.
I've modified the beginning of the script this way :
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/sbin/iscsid
ADM=/sbin/iscsiadm
PIDFILE=/var/run/iscsid.pid
NAMEFILE=/etc/iscsi/initiatorname.iscsi
ISCSI_INTERFACE="br1:0"
[ -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.
--
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs