Package: sg3-utils
Version: 1.48-3+b2
Severity: normal
X-Debbugs-Cc: [email protected]
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
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 7.1.10+deb14-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages sg3-utils depends on:
ii libc6 2.43-4
ii libsgutils2-1.48 1.48-3+b2
sg3-utils recommends no packages.
sg3-utils suggests no packages.
-- no debconf information