- Issued:
- 2009-09-01
- Updated:
- 2009-09-01
RHBA-2009:1357 - Bug Fix Advisory
Synopsis
sg3_utils bug fix and enhancement update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
Updated sg3_utils packages that fix several bugs and add an enhancement are
now available.
Description
The sg3_utils package contains a collection of tools for SCSI devices that
use the Linux SCSI generic (sg) interface. It includes utilities to copy
data based on "dd" syntax and semantics (the sg_dd, sgp_dd and sgm_dd
commands), check INQUIRY data and associated pages (sg_inq), check mode and
log pages (sg_modes and sg_logs), spin disks up and/or down (sg_start) and
perform self-tests (sg_senddiag), along well as various other utilities.
These updated sg3_utils packages provide the following enhancement:
- for Red Hat Enterprise Linux 5.4 a new shell script,
"rescan-scsi-bus.sh", has been added to the sg3_utils package. This script
utilizes the capabilities of the Linux kernel to add and remove SCSI
devices without the need to reboot the machine or reload a kernel module.
(BZ#507379)
This script should be considered a Technology Preview for Red Hat
Enterprise Linux 5.4.
Warning: the rescan-scsi-bus.sh script can remove storage devices from the
system as well as add them. Before issuing any command that may cause
device removal from the operating system, close all users of the device;
unmount any file systems mounting the device; and remove the device from
any dm, md, LVM, multipath or RAID setups using it. If you intend,
therefore, to add or remove devices from a bus while i/o is on-going,
perform these operations on one device at a time and check the results as
each step is completed. Do not perform a scan that adds and removes devices
at the same time. See the Online Storage Reconfiguration Guide (at the URL
immediately below) for a complete overview of this topic. Note: "sd" device
names are not persistent and may change when devices are removed or added.
Use WWIDs or disk metadata to reliably identify devices. (BZ#467201)
http://redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/html/Online_Storage_Reconfiguration_Guide/
In addition, these updated sg3_utils packages provide fixes for the
following bugs:
- the "sg_map26" command was unable to correctly map the device names for
greater than 32 tape drives on a single system. This has been fixed so that
it can correctly map 32 or more tape drives. (BZ#468040)
- the "sg_map26" command's usage information contained an incorrect
statement regarding what function the '--verbose' ('-v') flag performed.
The usage information for this command has been clarified. (BZ#431190)
- the "sg_test_rwbuf" command's usage information showed the '--verbose'
('-v') description twice, and omitted the line describing the '--version'
option. This has been fixed in these updated packages. (BZ#431193)
- the "sginfo" command's information page omitted a description for the
'-v' option. (BZ#433614)
- the "sg_wr_mode" command's information page contained the option '--hex',
which is non-existent, instead of '--help'. (BZ#433773)
- due to an option-handling error, the "sg_get_config" command's '--brief'
and '-b' options, which show undecoded feature names, presented differing
output. (BZ#433779)
- the "sg_ses" command's usage information contained a typo: the option is
actually '--byte1' instead of simply '--byte'. (BZ#435100)
- the "sg_read_long" command sometimes exited with an incorrect exit code.
This has been fixed in these updated packages. (BZ#435275)
- the "sg_persist" command's usage information incorrectly contained a
reference to the '--prout-sark' option instead of, correctly,
'--param-sark'. (BZ#435677)
- the sg_wr_mode(8) man page contained, in the "EXAMPLES" section, examples
that used incorrect options with the "sg_modes" comamnd. These command
string examples have been corrected. (BZ#437147)
Users are advised to upgrade to these updated sg3_utils packages, which
resolve these issues and add this enhancement.
Solution
Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.
This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259
Affected Products
- Red Hat Enterprise Linux Server 5 x86_64
- Red Hat Enterprise Linux Server 5 ia64
- Red Hat Enterprise Linux Server 5 i386
- Red Hat Enterprise Linux Workstation 5 x86_64
- Red Hat Enterprise Linux Workstation 5 i386
- Red Hat Enterprise Linux Desktop 5 x86_64
- Red Hat Enterprise Linux Desktop 5 i386
- Red Hat Enterprise Linux for IBM z Systems 5 s390x
- Red Hat Enterprise Linux for Power, big endian 5 ppc
- Red Hat Enterprise Linux Server from RHUI 5 x86_64
- Red Hat Enterprise Linux Server from RHUI 5 i386
Fixes
- BZ - 431190 - Error in usage message of sg_map26
- BZ - 431193 - Error in usage message of sg_test_rwbuf
- BZ - 433614 - sginfo man page contains unexplained parameter
- BZ - 433773 - Typo in sg_wr_mode man page
- BZ - 433779 - sg_get_config - unrecognised option code 0x31
- BZ - 435100 - Typo in sg_ses man page
- BZ - 435275 - sg_read_long returns bad exit status
- BZ - 435677 - Typo in sg_persist man page
- BZ - 437147 - Wrong examples in sg_wr_mode man page
- BZ - 467201 - [NetApp 5.4 bug] Dynamic SCSI rescan script needed
- BZ - 468040 - sg_map26 works incorrectly when there are > 32 tape drives
- BZ - 507379 - [NetApp 5.4 bug] Issues with rescan-scsi-bus.sh script
CVEs
(none)
Red Hat Enterprise Linux Server 5
SRPM | |
---|---|
sg3_utils-1.25-4.el5.src.rpm | SHA-256: 2b8234bc7f847afe89eeb78be3925f2ea358f895b4a157a17741fab1a8d5ccae |
x86_64 | |
sg3_utils-1.25-4.el5.x86_64.rpm | SHA-256: 2ce8f53fd5a74151e95549356e3a29db0a6d7dbccd579cc0e1099efd06ac1dbe |
sg3_utils-devel-1.25-4.el5.i386.rpm | SHA-256: f15a50d4db93bd2143c6c7514362ffc921e316cf4037cecb1ae97fe4003e3150 |
sg3_utils-devel-1.25-4.el5.x86_64.rpm | SHA-256: ebba2525c500a519c97f6ca5223e1183cb111843969d854256103854ea8ad653 |
sg3_utils-libs-1.25-4.el5.i386.rpm | SHA-256: 61b12841fa3b232b77e19c76dcfd6c4e218b89b229ab72d59e9095aa42899ec9 |
sg3_utils-libs-1.25-4.el5.x86_64.rpm | SHA-256: 2cc61f5343a2f99347815e67b512a51b6444fdb91bc14a88fdf55ec30cb75831 |
ia64 | |
sg3_utils-1.25-4.el5.ia64.rpm | SHA-256: d1e343922779153a5175e67bda9e2d9686a40a71c6257186152adc3258d5ceac |
sg3_utils-devel-1.25-4.el5.ia64.rpm | SHA-256: 6ddd339716fb62af6544e7fda7fc3016309e185b925a013a45cde3a63e1cddd3 |
sg3_utils-libs-1.25-4.el5.ia64.rpm | SHA-256: 1957042feabaf3b59bc1781defa758c6344a269fdba1cb28112cb7f62fc6e34a |
i386 | |
sg3_utils-1.25-4.el5.i386.rpm | SHA-256: 12427ab923e006fb9caa11062607d7ed375f05f9c00b433ff8a3c6d11ee1626e |
sg3_utils-devel-1.25-4.el5.i386.rpm | SHA-256: f15a50d4db93bd2143c6c7514362ffc921e316cf4037cecb1ae97fe4003e3150 |
sg3_utils-libs-1.25-4.el5.i386.rpm | SHA-256: 61b12841fa3b232b77e19c76dcfd6c4e218b89b229ab72d59e9095aa42899ec9 |
Red Hat Enterprise Linux Workstation 5
SRPM | |
---|---|
sg3_utils-1.25-4.el5.src.rpm | SHA-256: 2b8234bc7f847afe89eeb78be3925f2ea358f895b4a157a17741fab1a8d5ccae |
x86_64 | |
sg3_utils-1.25-4.el5.x86_64.rpm | SHA-256: 2ce8f53fd5a74151e95549356e3a29db0a6d7dbccd579cc0e1099efd06ac1dbe |
sg3_utils-devel-1.25-4.el5.i386.rpm | SHA-256: f15a50d4db93bd2143c6c7514362ffc921e316cf4037cecb1ae97fe4003e3150 |
sg3_utils-devel-1.25-4.el5.x86_64.rpm | SHA-256: ebba2525c500a519c97f6ca5223e1183cb111843969d854256103854ea8ad653 |
sg3_utils-libs-1.25-4.el5.i386.rpm | SHA-256: 61b12841fa3b232b77e19c76dcfd6c4e218b89b229ab72d59e9095aa42899ec9 |
sg3_utils-libs-1.25-4.el5.x86_64.rpm | SHA-256: 2cc61f5343a2f99347815e67b512a51b6444fdb91bc14a88fdf55ec30cb75831 |
i386 | |
sg3_utils-1.25-4.el5.i386.rpm | SHA-256: 12427ab923e006fb9caa11062607d7ed375f05f9c00b433ff8a3c6d11ee1626e |
sg3_utils-devel-1.25-4.el5.i386.rpm | SHA-256: f15a50d4db93bd2143c6c7514362ffc921e316cf4037cecb1ae97fe4003e3150 |
sg3_utils-libs-1.25-4.el5.i386.rpm | SHA-256: 61b12841fa3b232b77e19c76dcfd6c4e218b89b229ab72d59e9095aa42899ec9 |
Red Hat Enterprise Linux Desktop 5
SRPM | |
---|---|
sg3_utils-1.25-4.el5.src.rpm | SHA-256: 2b8234bc7f847afe89eeb78be3925f2ea358f895b4a157a17741fab1a8d5ccae |
x86_64 | |
sg3_utils-1.25-4.el5.x86_64.rpm | SHA-256: 2ce8f53fd5a74151e95549356e3a29db0a6d7dbccd579cc0e1099efd06ac1dbe |
sg3_utils-libs-1.25-4.el5.i386.rpm | SHA-256: 61b12841fa3b232b77e19c76dcfd6c4e218b89b229ab72d59e9095aa42899ec9 |
sg3_utils-libs-1.25-4.el5.x86_64.rpm | SHA-256: 2cc61f5343a2f99347815e67b512a51b6444fdb91bc14a88fdf55ec30cb75831 |
i386 | |
sg3_utils-1.25-4.el5.i386.rpm | SHA-256: 12427ab923e006fb9caa11062607d7ed375f05f9c00b433ff8a3c6d11ee1626e |
sg3_utils-libs-1.25-4.el5.i386.rpm | SHA-256: 61b12841fa3b232b77e19c76dcfd6c4e218b89b229ab72d59e9095aa42899ec9 |
Red Hat Enterprise Linux for IBM z Systems 5
SRPM | |
---|---|
sg3_utils-1.25-4.el5.src.rpm | SHA-256: 2b8234bc7f847afe89eeb78be3925f2ea358f895b4a157a17741fab1a8d5ccae |
s390x | |
sg3_utils-1.25-4.el5.s390x.rpm | SHA-256: b026e16f0d60825e1dbab5b5c862bceab89f9937e3d3f321ec450210e159d8a3 |
sg3_utils-devel-1.25-4.el5.s390.rpm | SHA-256: a3dbabb69ce84b369a68734cdb383ee4cf84d6634ab7ff25d4a636ea567aa05b |
sg3_utils-devel-1.25-4.el5.s390x.rpm | SHA-256: 178daa16f61ad5ebd223cc8d041f357cc87fc52e47fa4757b7901df9b23910be |
sg3_utils-libs-1.25-4.el5.s390.rpm | SHA-256: bf64e34be6e54bfb7fbd4c0b04fad18817e6e5d4ad18896a833e0e0fa4487c1d |
sg3_utils-libs-1.25-4.el5.s390x.rpm | SHA-256: a95b2567cd693a8165162d0c4332ffcfda44bff6638760ea31f6455da8d8563d |
Red Hat Enterprise Linux for Power, big endian 5
SRPM | |
---|---|
sg3_utils-1.25-4.el5.src.rpm | SHA-256: 2b8234bc7f847afe89eeb78be3925f2ea358f895b4a157a17741fab1a8d5ccae |
ppc | |
sg3_utils-1.25-4.el5.ppc.rpm | SHA-256: 49261cace2d45816df838460fde6204c99ea98e85d8083170946cfbb99baf736 |
sg3_utils-devel-1.25-4.el5.ppc.rpm | SHA-256: e708372028bd8460d91342aa9eebabae31855c065bd0fcbfbc770d946b8b481d |
sg3_utils-devel-1.25-4.el5.ppc64.rpm | SHA-256: b493e9b2441c10f5b075c46c01beff4be8cb4be4a7010164d298bebfb01ff123 |
sg3_utils-libs-1.25-4.el5.ppc.rpm | SHA-256: 32dc9f1a67044d2ba98e3479161fa71d3c51cb3e375352d9d5757f6322ebe804 |
sg3_utils-libs-1.25-4.el5.ppc64.rpm | SHA-256: 3fc4530b83c9f67f12b7c89c81b88f2fb22996cbb33dd383cb763524a3b27baf |
Red Hat Enterprise Linux Server from RHUI 5
SRPM | |
---|---|
sg3_utils-1.25-4.el5.src.rpm | SHA-256: 2b8234bc7f847afe89eeb78be3925f2ea358f895b4a157a17741fab1a8d5ccae |
x86_64 | |
sg3_utils-1.25-4.el5.x86_64.rpm | SHA-256: 2ce8f53fd5a74151e95549356e3a29db0a6d7dbccd579cc0e1099efd06ac1dbe |
sg3_utils-devel-1.25-4.el5.i386.rpm | SHA-256: f15a50d4db93bd2143c6c7514362ffc921e316cf4037cecb1ae97fe4003e3150 |
sg3_utils-devel-1.25-4.el5.x86_64.rpm | SHA-256: ebba2525c500a519c97f6ca5223e1183cb111843969d854256103854ea8ad653 |
sg3_utils-libs-1.25-4.el5.i386.rpm | SHA-256: 61b12841fa3b232b77e19c76dcfd6c4e218b89b229ab72d59e9095aa42899ec9 |
sg3_utils-libs-1.25-4.el5.x86_64.rpm | SHA-256: 2cc61f5343a2f99347815e67b512a51b6444fdb91bc14a88fdf55ec30cb75831 |
i386 | |
sg3_utils-1.25-4.el5.i386.rpm | SHA-256: 12427ab923e006fb9caa11062607d7ed375f05f9c00b433ff8a3c6d11ee1626e |
sg3_utils-devel-1.25-4.el5.i386.rpm | SHA-256: f15a50d4db93bd2143c6c7514362ffc921e316cf4037cecb1ae97fe4003e3150 |
sg3_utils-libs-1.25-4.el5.i386.rpm | SHA-256: 61b12841fa3b232b77e19c76dcfd6c4e218b89b229ab72d59e9095aa42899ec9 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.