#1145692 sg3-utils: upstream 00-scsi-sg3_config.rules missing from distro package

Package:
sg3-utils
Source:
sg3-utils
Description:
utilities for devices using the SCSI command set
Submitter:
Renan Rodrigo
Date:
2026-08-26 18:05:02 UTC
Severity:
normal
#1145692#5
Date:
2026-08-26 18:02:19 UTC
From:
To:
Dear Maintainer,

sg3-utils-udev does not install upstream's scripts/00-scsi-sg3_config.rules.
Since 1.48 that file is no longer optional: 55-scsi-sg3_id.rules and
58-scsi-sg3_symlink.rules read two variables (.SCSI_ID_SERIAL_SRC and
.SCSI_SYMLINK_SRC) that only 00-scsi-sg3_config.rules is supposed to set.
Without it, udev falls back to the built-in defaults, and as a result:

  1. /dev/disk/by-id/scsi-3* and /dev/disk/by-id/scsi-S* symlinks (and their
     -partN variants) that existed in bookworm (1.46-3) silently disappear
     after upgrading to trixie (1.48-2) or sid (1.48-3).

  2. Every boot logs a bogus warning telling the admin to edit a file that
     the package never installed:

       55-scsi-sg3_id.rules: WARNING: SCSI device sdX has no device ID,
       consider changing .SCSI_ID_SERIAL_SRC in 00-scsi-sg3_config.rules

scripts/00-scsi-sg3_config.rules is listed in the upstream EXTRA_DIST
(Makefile.am) and ships in the .orig tarball, but is never referenced by
debian/rules, so it is not in any binary package

This seems to be a regression on bookworm -> trixie.

Systems that reference disks by
/dev/disk/by-id/scsi-3<naa> or /dev/disk/by-id/scsi-S<vendor>_<model>_<serial>
(ZFS pools, LVM filters, multipath blacklists, fstab, /etc/crypttab, MD arrays,
Ceph OSD mappings, custom automation) lose those paths on reboot.

This bug was reported against Ubuntu in https://bugs.launchpad.net/bugs/2137191