[Bug 669142] Re: if-up.d/if-down.d scripts restart iSCSI inappropriately

Eli Heady eli.heady at gmail.com
Wed Sep 19 18:54:21 UTC 2012


Yes, still present in 12.04. This is a totally ridiculous mis-feature.
I'm having a hard time coming up with real scenarios in which you'd want
iscsid state to be changed when any single interface is brought down/up
(that is, outside of system init or shutdown).

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to open-iscsi in Ubuntu.
https://bugs.launchpad.net/bugs/669142

Title:
  if-up.d/if-down.d scripts restart iSCSI inappropriately

Status in “open-iscsi” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: open-iscsi

  When any interface that is not named "lo" is brought up or down, it
  will cause open-iscsi to restart. This is regardless of if the
  interface has anything to do with iSCSI traffic, which can cause
  problems for LUNs still in use.

  The fragment of the script /etc/init.d/open-iscsi that causes this is
  near the top:

  # Support for ifupdown script.
  # Don't bother to restart when lo is configured.
  if [ "$IFACE" = lo ]; then
          exit 0
  fi

  Restricting restarts purely for the loopback interface is not
  sufficient, although adequately determining if a restart is actually
  required may be somewhat tricky. Sadly I have no suggestions for a
  solution at the moment.

  ### System Information ###
  Description:	Ubuntu 10.04.1 LTS
  Release:	10.04
  open-iscsi               2.0.871-0ubuntu4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/669142/+subscriptions




More information about the foundations-bugs mailing list