[Pkg-iscsi-maintainers] Bug#765431: open-iscsi: umountiscsi.sh script does not properly check while traverse sysfs structure

Dmitry Danilov dmitry at bti.secna.ru
Wed Oct 15 03:01:14 UTC 2014

Package: open-iscsi
Version: 2.0.873-3
Severity: important
Tags: patch

Dear Maintainer,

The umountiscsi.sh helper script does not properly check while traverse sysfs filesystem for mounted 
iSCSI devices. This cause a problem unmounting "/" or other filesystems when 'restart', 'stop' option 
used with open-iscsi init script.

I suggest patch (below) to repair this.

-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages open-iscsi depends on:
ii  libc6  2.13-38+deb7u4
ii  udev   175-7.2

open-iscsi recommends no packages.

open-iscsi suggests no packages.

-- Configuration Files:
/etc/init.d/umountiscsi.sh changed [not included]
/etc/iscsi/initiatorname.iscsi changed [not included]

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: umountiscsi-20141014.diff
Type: text/x-diff
Size: 448 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20141015/6be703fb/attachment.diff>

More information about the Pkg-iscsi-maintainers mailing list