This bug was fixed in the package sg3-utils - 1.46-1ubuntu0.23.04.1
--------------- sg3-utils (1.46-1ubuntu0.23.04.1) lunar; urgency=medium
* d/p/0002-Fix-crash-with-rescan-scsi-bus.sh-r.patch: do not allow rescan-scsi-bus.sh to remove device (LP: #1976228).
-- Lucas Kanashiro <email address hidden> Tue, 05 Sep 2023 18:14:57 -0300
This bug was fixed in the package sg3-utils - 1.46-1ubuntu0. 23.04.1
--------------- 23.04.1) lunar; urgency=medium
sg3-utils (1.46-1ubuntu0.
* d/p/0002- Fix-crash- with-rescan- scsi-bus. sh-r.patch: do not allow scsi-bus. sh to remove device (LP: #1976228).
rescan-
-- Lucas Kanashiro <email address hidden> Tue, 05 Sep 2023 18:14:57 -0300