Issued:
2011-05-19
Updated:
2011-05-19

RHBA-2011:0734 - scsi-target-utils bug fix and enhancement update


Synopsis

scsi-target-utils bug fix and enhancement update

Type/Severity

Bug Fix Advisory (none)

Topic

An updated scsi-target-utils package that fixes multiple bugs and adds an enhancement is now available.

Description

The scsi-target-utils package contains tools and a daemon used to set up iSCSI and iSER targets.

This updated package also contains a number of bug fixes:

  • Providing an existing target name to tgt-setup-lun when attempting to add a new LUN based on a non-existent device correctly resulted in failure because a target with the same name already existed. If the user then followed the utility's suggestion to add the new LUN to the existing target, the operation failed (again, correctly) because the device did not exist. However, the roll-back action associated with this second failure resulted in the target being removed. The roll-back action now checks whether the target pre-existed the failed actions, so the target is not removed in this circumstance. (BZ#676337)

  • Attempting to run iscsid and the tgtd on the same machine results in semaphore errors being logged by both daemons because of an identifier collision. This has been corrected, and these errors no longer appear. (BZ#677475)

This update also includes the following enhancement:

  • Support for read-only target devices has been added to scsi-target-utils. Set read-only devices with the "--params" option of the tgtadm command, like so:

    tgtadm --lld iscsi --mode logicalunit --op update --tid 1 --lun 1 --params readonly=1

...or add "readonly 1" to the target element of your targets.conf file. Note that "allow-in-use" must also be set if you enable read-only targets in the targets.conf file. (BZ#616402)

All users of scsi-target-utils are advised to upgrade to this updated package, which resolves these issues.

Solution

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 This content is not included.http://access.redhat.com/kb/docs/DOC-11259

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for Power, big endian6ppc64
Red Hat Enterprise Linux Workstation6x86_64
Red Hat Enterprise Linux Workstation6i386
Red Hat Enterprise Linux Server6x86_64
Red Hat Enterprise Linux Server6i386
Red Hat Enterprise Linux Server from RHUI6x86_64
Red Hat Enterprise Linux Server from RHUI6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6i386

Updated Packages

  • scsi-target-utils-debuginfo-1.0.14-2.el6.x86_64.rpm
  • scsi-target-utils-1.0.14-2.el6.i686.rpm
  • scsi-target-utils-1.0.14-2.el6.src.rpm
  • scsi-target-utils-1.0.14-2.el6.x86_64.rpm
  • scsi-target-utils-1.0.14-2.el6.ppc64.rpm
  • scsi-target-utils-debuginfo-1.0.14-2.el6.ppc64.rpm
  • scsi-target-utils-debuginfo-1.0.14-2.el6.i686.rpm

Fixes

CVEs

(none)

References

(none)


Additional information