Public bug reported:

OS:
Description:    Ubuntu 12.04 LTS
Release:        12.04

open-iscsi:
  Installed: 2.0.871-0ubuntu9
  Candidate: 2.0.871-0ubuntu9.12.04.1
  Version table:
     2.0.871-0ubuntu9.12.04.1 0
        500 http://hu.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 
Packages
 *** 2.0.871-0ubuntu9 0
        500 http://hu.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status

Hi,

I have found that open-iscsi puts start/stop links into the if-up.d and
if-down.d directories under networking. These are unfiltered and will
cause all active iSCSI connections to be torn down as soon as _ANY_
interface (in my case a bridge that became unneeded - completely
unrelated to iSCSI connections) is brought down, causing possibly
catastrophic failures including data loss in processes (VMs in my case)
using those iSCSI connections.

PoC:
1. Install open-iscsi, log into some target
2. Create an interface config in /etc/network/interfaces
3. "ifup" the new interface, observe the start message of open-iscsi (!)
4. "ifdown" the interface, observe that open-iscsi is stopped, and the 
block-devices backed by the targets are gone

These links need to be removed ASAP as they pose direct danger of data
loss by reacting to all events, even from completely unrelated
einterfaces, plus doing that in a completely unacceptable manner. Either
they will need to be replaced with filtered scripts to only react to
interfaces that they are using AND do that in a proper manner instead of
shutting down everything; or they could be dropped altogether, path
management can be scripted or done elsewhere.

regards,
--
Jacint

** Affects: open-iscsi (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: if-down.d if-up.d networking open-iscsi

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

Title:
  open-iscsi bound to if-*.d in networking kills iSCSI connections

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to