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

Ritesh Raj Sarraf rrs at researchut.com
Tue Nov 11 07:16:42 UTC 2014

On 11/11/2014 01:44 AM, dmitry wrote:
>     I am sorry, but could you please be answered:
>     If code above present in umountiscsi.sh init script where can I
> found correct (not tampered) version? As far as I see from contents of
> package umountiscsi.sh script does not contain this code. I look at
> packages from any different repository (ftp.de.debian.org,
> ftp.fi.debian.org, ftp.ru.debian.org) and could not found it.


>> And the patch you provided is wrong. Because those block devices we are
>> looping for are not directories.
>     Are you speaking about /dev/ contents? Am I wrong, that code:
> "....
>             for BLOCK_FILE in $SESSION_DIR/target*/*\:*/block/*; do
> ....
> " -  loop for filesystem with directories?

Yes. Here we only loop through device files.

Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20141111/26dc2aee/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20141111/26dc2aee/attachment.sig>

More information about the Pkg-iscsi-maintainers mailing list