Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-84793

Looks like some wrong string joining/separation in lsscsi

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-9.6
    • lsscsi
    • No
    • Moderate
    • rhel-storage-management
    • ssg_platform_storage
    • 3
    • False
    • True
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Use lsscsi to list SCSI devices (or hosts) and their attributes,

      1.# lsscsi --list -t | grep transport
        transport=sas
        transport=sas
        transport=sata
        transport=fc:   <-------- an extra colon, fc should be fine. 
      2.
      # lsscsi -Hv | grep ' dir:'
        dir: /sys/class/scsi_host//host0 <-----there are two '/' before host0, one should be fine.
        device dir: /sys/devices/pci0000:00/0000:00:01.0/0000:03:00.0/host0
        dir: /sys/class/scsi_host//host1
        device dir: /sys/devices/pci0000:00/0000:00:1f.2/ata1/host1

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      1. rpm -q lsscsi
        lsscsi-0.32-6.el9.x86_64

        How reproducible is this bug?:

      Always

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      Actual results

              pevans@redhat.com Paul Evans
              rhn-support-zguo Zhaojuan Guo
              Paul Evans Paul Evans
              Zhaojuan Guo Zhaojuan Guo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: