PSA : Debian Trixie // sg3_utils regression (sg_inq )

bbgeek17

Distinguished Member
Nov 20, 2020
5,531
1,848
228
Blockbridge
www.blockbridge.com
Hi All,

While setting up automated testing for PVE 9, we observed that several udev properties were missing from SCSI block devices. After some investigation, we traced the issue to a regression in the sg_inq tool (part of sg3_utils). The bug was introduced during a refactoring effort related to JSON output formatting on February 7, 2023.

We've reported the issue upstream — you can find more details here: https://github.com/doug-gilbert/sg3_utils/issues/63

We’ve also submitted a pull request to address the regression: https://github.com/doug-gilbert/sg3_utils/pull/64

While this issue doesn’t appear to impact PVE directly, the missing sg_inq output could lead to unpredictable behavior in tools that depend on sg3_utils.

Best regards,


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Hi!

Thanks for bringing attention to this, I took a quick look and the determined cause tracks and the fix also seems targeted and alright.

I forwarded this issue to the Debian bug tracker here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109923

We will most likely rebuild the package with this fix included after taking a closer look and see
 
  • Like
Reactions: Johannes S