Package: scsitools Version: 0.9-1.1 Severity: grave Tags: patch Justification: renders package unusable
Running /sbin/rescan-scsi-bus.sh makes my (and most likely every) system unusable, I get input/output errors when trying to run programs after I ran rescan-scsi-bus.sh. The reason for this behavior is a syntax change for sg_inq; as of sg3-utils-1.24-1, it doesn't accept "-36" anymore, but only "--len=36". PATCH: Change INQ=`sg_inq -36 /dev/$SGDEV` to INQ=`sg_inq --len=36 /dev/$SGDEV` in /sbin/rescan-scsi-bus.sh. And while you're at it, you could append 2>/dev/null to the two lines echo "scsi remove-single-device $devnr" >/proc/scsi/scsi and echo "scsi add-single-device $devnr" >/proc/scsi/scsi which will make the ugly error message "line 183: echo: write error: Invalid argument" vanish that appears for each unsuccessfully tested ID if there are narrow SCSI channels present when scanning with "-w". If I chose the wrong severity and/or tags, please let me know. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core) Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash Versions of packages scsitools depends on: ii debconf [debconf-2.0] 1.5.13 Debian configuration management sy ii libc6 2.5-9+b1 GNU C Library: Shared libraries ii util-linux 2.12r-19 Miscellaneous system utilities Versions of packages scsitools recommends: ii tk8.3 [wish] 8.3.5-6 Tk toolkit for Tcl and X11, v8.3 - ii tk8.4 [wish] 8.4.12-1 Tk toolkit for Tcl and X11, v8.4 - -- debconf information: scsitools/info: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]