Bug Fix Advisory scsi-target-utils bug fix and enhancement update

Advisory: RHBA-2011:1049-1
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2011-07-21
Last updated on: 2011-07-21
Affected Products: RHEL Cluster-Storage (v. 5 server)


An updated scsi-target-utils package that fixes multiple bugs and adds one
enhancement is now available for Red Hat Enterprise Linux 5.

The SCSI target package contains the daemon and tools to setup iSCSI and iSER

This update fixes the following bugs:

* Prior to this update, there was a bug in the "tgt-setup-lun" command that
caused a target to be deleted if an invalid Logical Unit Number (LUN) was added.
The problem has been resolved in this update so that "tgt-setup-lun" now works
as expected and the target is not deleted. (BZ#695867)

* Prior to this update, there was a bug in the iscsid and tgtd daemons that
caused the system log to be filled with the "iscsid: semop down failed" and
"tgtd: semop up failed" error messages while starting and stopping the
respective services in a particular order. The bug has been fixed in this update
so that no error messages from iscsid and tgtd are now written in the system
log. (BZ#676804)

* Prior to this update, there was a problem with using very large (more than 2TB
in size) hard disks with iSCSI. As a result, the iSCSI initiator failed with
"very big device. try to use READ CAPACITY(16)" and "unsupported sector size"
error messages. This bug has been fixed in this update so that using such hard
disks with iSCSI now works as expected. (BZ#674394)

* Prior to this update, the iSCSI initiator on Windows Server 2003 was not able
to use Logical Unit Numbers (LUNs) provided by the tgtd daemon on Linux. It did
not recognize simultaneous Linux SCSI Target Framework (STGT) LUNs provided by
the same STGT target. This bug has been fixed in this update so that the iSCSI
initiator is now able to use the LUNs as expected. (BZ#560534)

As well, this update adds the following enhancement:

* This update adds support for a read-only target by setting the "--params
readonly=1" option with the "tgtadm" command, or by setting the "readonly 1" and
"allow-in-use yes" options in the /etc/tgt/targets.conf file. (BZ#695870)

All users requiring scsi-target-utils should upgrade to this updated package,
which fixes these bugs and adds this enhancement.


Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at

Updated packages

RHEL Cluster-Storage (v. 5 server)

File outdated by:  RHBA-2012:0279
    MD5: 258554acf8a6cf1d27b398808619942d
SHA-256: c3266680c24e7ddfe02b492eddcb41a617c90c0e827deab37443d3f9d587ed9c
File outdated by:  RHBA-2012:0279
    MD5: fb2fca97efb8931a03bda02a1d11079c
SHA-256: d36fd33d6ddf440dc0459ffc0d6feb960a88d902329d8d23a418eb224ef46b3a
File outdated by:  RHBA-2012:0279
    MD5: 3b9b21d234527851aa18b0e29748e041
SHA-256: a3515a72a699e47e63dcb9fec5503810008a6ce77fe839f0d951cdc71c9344bd
File outdated by:  RHBA-2012:0279
    MD5: 51361c2a214764f413bae0cd6f02f8aa
SHA-256: 1da3baf18cb4ece0a67fe3dd17f60167583cdb0090daad090b78f240d655353a
File outdated by:  RHBA-2012:0279
    MD5: 2e11ad6d65c1b71910a0b0191017e466
SHA-256: cca52608852fdadc6d92c9a2269eb9776b90040f0c0546c30a856223fba225d0
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

560534 - Windows iscsi initiator cannot use LUNs from multiple targets exported through tgt without reboot
674394 - [5.6] Problem using very large disks with iscsi but works with 5.5 scsi-target-utils
676804 - iscsid: semop down failed; tgtd: semop up failed
695867 - [tgt-setup-lun] - adding inaccurate LUN to existing target will remove the target itself
695870 - RFE: Enforce read-only target

These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/