Debian Patches

Status for open-iscsi/2.1.11-4

Patch Description Author Forwarded Bugs Origin Last update
debian/lp1755858-default-iscsid_conf-to-iscsid_socket.patch default in iscid.conf to use iscsid.socket
People do not want iscsid to run if not needed.
To do so it is configured to be socket activated.
Internally iscsid code has a fallback if the service is missing to run the
command specified in iscsid.conf as "iscsid.startup".
Set this to ensure the socket is active instead of calling the binary, which
would not be what we want anyway as it would not be from the .service context.
Christian Ehrhardt <christian.ehrhardt@canonical.com> no 2020-08-13
build-disable-Wno-all.patch build: disable -Wno-all Chris Hofstaedtler <zeha@debian.org> no 2024-05-19
Fix-incorrect-parsing-of-node.discovery_type-static-and-f.patch Fix incorrect parsing of node.discovery_type "static" and "fw" (#518)

Remove the unused DISCOVERY_TYPE_SLP enumeration value so that the strings
"static" and "fw" map to the correct enum values.

Previous versions supported an "slp" discovery_type. In d1d456cf28cd89, the
"slp" string was removed from the list of TYPE_INT_O string arguments when
processing DISC_TYPE and NODE_DISC_TYPE records in idbm_recinfo_discovery and
_idbm_node_rec_link. But, it was left in the discovery_type enum. The
resulting parsing logic would then map the string values "static" and "fw" to
the wrong enum values, and thus logic with unique action on
DISCOVERY_TYPE_STATIC and DISCOVERY_TYPE_FW did the wrong thing. Specifically,

- "static" mapped to DISCOVERY_TYPE_SLP, and
- "fw" mapped to DISCOVERY_TYPE_STATIC.

One manifestation of this bug is that you can no longer use iscsiadm to
manipulate or delete nodes with discovery_type = "static", as it falls through
to the default case in setup_disc_to_node_link.

Fixes #463.

(cherry picked from commit 290d16d6c6b6f4c78af119eb874484b2f995dc23)
Mike Andrews <gubblebozer@gmail.com> not-needed 2025-12-28

All known versions for source package 'open-iscsi'

Links