[Bug 815156] New: rescan-scsi-bus.sh has error reversion from 12.2: line 628 integer expression something
https://bugzilla.novell.com/show_bug.cgi?id=815156 https://bugzilla.novell.com/show_bug.cgi?id=815156#c0 Summary: rescan-scsi-bus.sh has error reversion from 12.2: line 628 integer expression something Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jnelson-suse@jamponi.net QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 rescan-scsi-bus.sh got fixed in 12.1 (and 12.2?) for the same bug, and it's reverted *again*. Please fix. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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=815156
https://bugzilla.novell.com/show_bug.cgi?id=815156#c
Xiaolong Li
https://bugzilla.novell.com/show_bug.cgi?id=815156
https://bugzilla.novell.com/show_bug.cgi?id=815156#c
Ihno Krumreich
https://bugzilla.novell.com/show_bug.cgi?id=815156
https://bugzilla.novell.com/show_bug.cgi?id=815156#c1
--- Comment #1 from Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=815156
https://bugzilla.novell.com/show_bug.cgi?id=815156#c2
Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=815156
https://bugzilla.novell.com/show_bug.cgi?id=815156#c
Xiyuan Liu
https://bugzilla.novell.com/show_bug.cgi?id=815156
https://bugzilla.novell.com/show_bug.cgi?id=815156#c4
--- Comment #4 from Shirish Pargaonkar
https://bugzilla.novell.com/show_bug.cgi?id=815156
https://bugzilla.novell.com/show_bug.cgi?id=815156#c5
Shirish Pargaonkar
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0
rescan-scsi-bus.sh got fixed in 12.1 (and 12.2?) for the same bug, and it's
Do you have that bug number?
reverted *again*. Please fix.
Just to clarify, the fix which is in 12.1 and 12.2, was reverted in 13.1 so it needs to be fixed (only) in opensuse 13.1. Is that correct?
Reproducible: Always
Steps to Reproduce: 1. 2.
-- 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=815156
https://bugzilla.novell.com/show_bug.cgi?id=815156#c6
--- Comment #6 from Shirish Pargaonkar
Ping?
This is a version of the code in question, but fixed. Instead of stripping everything to the *left* of the . (including the dot), multiply by 100 and strip everything to the right.
That way, version 0.70 becomes "70" and version 1.03 becomes "103", etc...
if test -x /usr/bin/sg_inq; then sg_version=$(sg_inq -V 2>&1 | cut -d " " -f 3) sg_version=$( echo "$sg_version * 100" | bc -q ) sg_version=${sg_version%%.*} if [ -z "$sg_version" -o "$sg_version" -lt 70 ] ; then sg_len_arg="-36" else sg_len_arg="--len=36" fi else echo "WARN: /usr/bin/sg_inq not present -- please install sg3_utils" echo " or rescan-scsi-bus.sh might not fully work." fi
Where do you see this code? In sg3_utils rpm of which opensuse? -- 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=815156
https://bugzilla.novell.com/show_bug.cgi?id=815156#c7
Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=815156
https://bugzilla.novell.com/show_bug.cgi?id=815156#c8
--- Comment #8 from Shirish Pargaonkar
https://bugzilla.novell.com/show_bug.cgi?id=815156
https://bugzilla.novell.com/show_bug.cgi?id=815156#c9
Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=815156
https://bugzilla.novell.com/show_bug.cgi?id=815156#c11
--- Comment #11 from Shirish Pargaonkar
https://bugzilla.novell.com/show_bug.cgi?id=815156
https://bugzilla.novell.com/show_bug.cgi?id=815156#c12
--- Comment #12 from Shirish Pargaonkar
https://bugzilla.novell.com/show_bug.cgi?id=815156
https://bugzilla.novell.com/show_bug.cgi?id=815156#c13
--- Comment #13 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=815156
https://bugzilla.novell.com/show_bug.cgi?id=815156#c
Shirish Pargaonkar
https://bugzilla.novell.com/show_bug.cgi?id=815156
https://bugzilla.novell.com/show_bug.cgi?id=815156#c14
Shirish Pargaonkar
https://bugzilla.novell.com/show_bug.cgi?id=815156
https://bugzilla.novell.com/show_bug.cgi?id=815156#c15
--- Comment #15 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com