/sbin/rescan-scsi-bus: line 592: [: 1.57: integer expression expected

Bug #1913731 reported by ser0ser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
scsitools (Debian)
Fix Released
Unknown
scsitools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When I run rescan-scsi-bus (for ex. `/sbin/rescan-scsi-bus -l --hosts=0`) I get `integer expression expected` error.

Like this:

$ /sbin/rescan-scsi-bus -l --hosts=0
/sbin/rescan-scsi-bus: line 592: [: 1.57: integer expression expected
Host adapter 0 ((null)) found.
Host adapter 1 (mptsas) found.
Host adapter 2 ((null)) found.
Scanning SCSI subsystem for new devices
Scanning host 0 for all SCSI target IDs, LUNs 0 1 2 3 4 5 6 7
Scanning for device 0 0 0 0 ...
OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
      Vendor: IBM Model: ULT3580-TD5 Rev: B6W0
      Type: Sequential-Access ANSI SCSI revision: 06
Scanning for device 0 0 0 1 ...
OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 01
      Vendor: IBM Model: 3573-TL Rev: A.40
      Type: Medium Changer ANSI SCSI revision: 05
Scanning for device 0 0 1 0 ...
...

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: scsitools 0.12-3ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-46.49-generic 4.15.18
Uname: Linux 4.15.0-46-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.21
Architecture: amd64
Date: Fri Jan 29 13:06:32 2021
InstallationDate: Installed on 2012-07-19 (3116 days ago)
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 (20120424.1)
SourcePackage: scsitools
UpgradeStatus: Upgraded to bionic on 2018-11-05 (816 days ago)

Revision history for this message
ser0ser (ser-man) wrote :
Changed in scsitools (Debian):
status: Unknown → New
Changed in scsitools (Debian):
status: New → Fix Released
Simon Quigley (tsimonq2)
Changed in scsitools (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.