Public bug reported:

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)

** Affects: scsitools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1913731

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/scsitools/+bug/1913731/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to