Comment 2 for bug 1859858

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Fairly sure the problem is this line from https://git.launchpad.net/ubuntu/+source/sg3-utils/tree/scripts/55-scsi-sg3_id.rules?h=applied/1.44-1ubuntu1#n48:

ENV{ID_SERIAL}!="?*", ENV{SCSI_IDENT_LUN_NAA_EXT}=="?*", ENV{ID_BUS}="scsi", ENV{ID_SERIAL}="3$env{SCSI_IDENT_LUN_NAA}", ENV{ID_SERIAL_SHORT}="$env{SCSI_IDENT_LUN_NAA_EXT}"

(the variable being checked for and used are different). This appears to be fixed in a recent upstream commit https://github.com/hreinecke/sg3_utils/commit/c4c6af020963d11b624da6abb53f792074f943b2#diff-20e0363765997dae20aaceb68ba039e3 that contains a whole bunch of other stuff. Cherry-picking just that fix would presumably help (and then the patch can be removed when next upstream release is uploaded).

FWIW, this buggy rule is present in bionic too, but I guess it doesn't fire for some reason -- I guess SCSI_IDENT_LUN_NAA_EXT isn't being emitted for some reason, but I haven't actually checked.