[Bug 714995] New: open-iscsi script does not properly umount iscsi devices
https://bugzilla.novell.com/show_bug.cgi?id=714995 https://bugzilla.novell.com/show_bug.cgi?id=714995#c0 Summary: open-iscsi script does not properly umount iscsi devices Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: thomas.saupe@novell.com QAContact: qa@suse.de Found By: Novell Technical Services Services Priority: 1000 Blocker: --- The code for umounting iscsi device in /etc/init.d/open-iscsi is broken, especially if the iscsi devices are used within multipathing. On system shutdown the umount of the mounted iscsi devices fails but the devices itself get logged out. This leads to a hang of the reboot, since the later the boot.localfs init script tries to umount the iscsi mounts that already have lost their devices. Attached a patch to the open-iscsi init script that corrects this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c1
--- Comment #1 from Thomas Saupe
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c2
Thomas Saupe
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c3
Thomas Saupe
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c4
Dennis Olsson
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c5
Joseph Brown
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c6
--- Comment #6 from Thomas Saupe
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c7
Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c8
--- Comment #8 from Per Jessen
Sinec you are polishing the script, how about changing:
cat /proc/mounts | sed -ne '/^\/dev\/.*/p' | while read d m t o x; do
to the less resource demanding (one less process running) and even more readable:
sed -ne '/^\/dev\/.*/p' /proc/mounts | while read d m t o x; do
How about grep ^/dev /proc/mounts | while read d m t o x; do -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c9
--- Comment #9 from Dennis Olsson
grep ^/dev /proc/mounts | while read d m t o x; do
Well, nice, except in order to keep the original search pattern (need "/" at end): grep ^/dev/ /proc/mounts | while read d m t o x; do -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c10
Thomas Saupe
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c11
--- Comment #11 from Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c12
Thomas Saupe
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c13
Thomas Saupe
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c14
--- Comment #14 from Dennis Olsson
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c15
--- Comment #15 from Thomas Saupe
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c16
--- Comment #16 from Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c17
--- Comment #17 from Dennis Olsson
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c
Petr Uzel
https://bugzilla.novell.com/show_bug.cgi?id=714995
https://bugzilla.novell.com/show_bug.cgi?id=714995#c19
Gregor Dschung
http://bugzilla.novell.com/show_bug.cgi?id=714995
http://bugzilla.novell.com/show_bug.cgi?id=714995#c20
Petr Uzel
participants (1)
-
bugzilla_noreply@novell.com