Bug#691732: open-iscsi: umountiscsi.sh tries to umount / and /var

2012-10-31 Thread Dennis Leeuw
Sorry for the late reply, but I had to fix some other stuff first. On 10/29/2012 07:06 PM, Ritesh Raj Sarraf wrote: umount: /: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) Could not unmount / ... (warning).

Bug#691732: open-iscsi: umountiscsi.sh tries to umount / and /var

2012-10-29 Thread Dennis Leeuw
Package: open-iscsi Version: 2.0.871.3-2squeeze1 Severity: important Tags: patch Due to the fact that our system does not receive block devices from the iSCSI target, but it is logged in, this means the the BLOCK_FILE contains the search string, since /block/ does not exist. It then tries to

Bug#691732: open-iscsi: umountiscsi.sh tries to umount / and /var

2012-10-29 Thread Ritesh Raj Sarraf
On Monday 29 October 2012 02:47 PM, Dennis Leeuw wrote: Tags: patch Where is the patch? I can't see it in the email. Due to the fact that our system does not receive block devices from the iSCSI target, but it is logged in, this means the the BLOCK_FILE contains the search string, since

Bug#691732: open-iscsi: umountiscsi.sh tries to umount / and /var

2012-10-29 Thread Dennis Leeuw
On 10/29/2012 01:59 PM, Ritesh Raj Sarraf wrote: On Monday 29 October 2012 02:47 PM, Dennis Leeuw wrote: Tags: patch Where is the patch? I can't see it in the email. The patch is incorporated in the attached umountiscsi.sh script. See the if statement under the : for BLOCK_FILE in

Bug#691732: open-iscsi: umountiscsi.sh tries to umount / and /var

2012-10-29 Thread Ritesh Raj Sarraf
On Monday 29 October 2012 06:41 PM, Dennis Leeuw wrote: Where is the patch? I can't see it in the email. The patch is incorporated in the attached umountiscsi.sh script. See the if statement under the : for BLOCK_FILE in $SESSION_DIR/target*/*\:*/block/*; do line. No. Please send diffs

Bug#691732: open-iscsi: umountiscsi.sh tries to umount / and /var

2012-10-29 Thread Dennis Leeuw
We can make this a long discussion, but I rather not. I do not have the knowledge to tell you what might or might not happen and why. I can only tell you what went wrong and restarting the open-iscsi service, without a block device being present created a problem with a ro / filesystem. But

Bug#691732: open-iscsi: umountiscsi.sh tries to umount / and /var

2012-10-29 Thread Ritesh Raj Sarraf
On Monday 29 October 2012 07:32 PM, Dennis Leeuw wrote: We can make this a long discussion, but I rather not. I do not have the knowledge to tell you what might or might not happen and why. I can only tell you what went wrong and restarting the open-iscsi service, without a block device being

Bug#691732: open-iscsi: umountiscsi.sh tries to umount / and /var

2012-10-29 Thread Ritesh Raj Sarraf
On Monday 29 October 2012 07:32 PM, Dennis Leeuw wrote: # /etc/init.d/open-iscsi restart Unmounting iscsi-backed filesystems: Unmounting all devices marked _netdevDeactivating iSCSI volume groups: md3200_1 Volume group md3200_1 not found Cannot deactivate Volume Group md3200_1 ... (warning).