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

Nathan Bird 669142 at bugs.launchpad.net
Fri Mar 30 18:41:52 UTC 2012


Still present in 12.04. Glad I found it before putting very much on
there.

-- 
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