- Issued:
- 2013-09-30
- Updated:
- 2013-09-30
RHBA-2013:1303 - Bug Fix Advisory
Synopsis
scl-utils bug fix update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
Updated scl-utils packages that fix several bugs are now available for Red Hat
Enterprise Linux 5.
Description
The scl-utils packages provide a runtime utility and RPM packaging macros for
packaging Software Collections. Software Collections allow users to concurrently
install multiple versions of the same RPM packages on the system. Using the scl
utility, users may enable specific versions of RPMs, which are installed into
the /opt directory. The scl-utils packages provide support for Red Hat Developer
Toolset 1.1 packages.
This update fixes the following bugs:
- Previously, detection of Software Collections that were specified to be
enabled was done in a wrong place in the code. Thus, when attempting to enable
multiple Software Collections with a single command, scl-utils enabled only the
first given Collection. The updated package scans all the arguments, and all
specified Software Collections are now enabled. (BZ#949994)
- When starting an inspection of the already-enabled Collections, a wrong
variable was taken as source of information. Consequently, when running a shell
in the scl_enabled environment, users could successfully enable the
already-enabled Collection. This could lead to destruction of some parts of the
original environment. This update accepts the correct variable as a source of
information concerning the already-enabled collections, and the collections are
no longer enabled multiple times. (BZ#955668)
- Previously, the python27 packages required a specific byte compiler.
Consequently, the build of python27 using the wrong byte compiler collection
failed. With this update, the python27 packages can be compiled successfully
using a new functionality to override various rpm macros.(BZ#957176)
- If the PATH variable was not set as expected by scl-utils, executing the "scl
enable" command led to a "command not found" error message. This was caused by
the scl utility calling the scl_enabled command without the absolute PATH and
relying on the PATH set by the user. With this update, scl-utils calls the
scl_enabled helper script with the absolute PATH, and the aforementioned error
messages no longer occur. (BZ#957752)
- Prior to this update, the ori_cmd variable was freed at the moment of
displaying. Consequently, the scl utility could have failed with a segmentation
fault. The fix has been provided for a double free or corruption error when
reading commands from the standard input, and thus scl no longer fails.
(BZ#957765)
- While enabling Software Collections, scl did not respect results of a test and
always enabled Collections regardless of whether the respective Collection was
already enabled or not. As a consequence, a Collection was enabled multiple
times if the Collection was specified more than once in the command, which could
result in undetermined behavior. This update runs the enable scriptlet only if
the Collection has not been enabled before, and any attempts to enable a
collection multiple times in one environment are now ignored. (BZ#964056)
Users of scl-utils are advised to upgrade to these updated packages, which fix
these bugs.
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
https://access.redhat.com/site/articles/11258
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 - 949994 - scl-utils can't enable more than one collection at a time
- BZ - 955668 - A collection can get twice-enabled
- BZ - 956707 - scl-utils: missing format attribute on sprintf wrapper
- BZ - 957752 - Use absolute path when calling scl_enabled
- BZ - 964056 - No check for already enabled collections in scl enable <collection>+ <command>
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 5
SRPM | |
---|---|
scl-utils-20120927-8.el5.src.rpm | SHA-256: cca33864a2feb8acfbf4fee434d832238294c2639a4ff877f97b6e052a78ab49 |
x86_64 | |
scl-utils-20120927-8.el5.x86_64.rpm | SHA-256: 930fafcf540c1c983fa84a9e14111c3fcfbdb93d8df63706302c131f32f57de8 |
scl-utils-build-20120927-8.el5.x86_64.rpm | SHA-256: e504c8c576268326a13c1dcff7f5c5289b626474a72acb44b80ab2980200943e |
scl-utils-debuginfo-20120927-8.el5.x86_64.rpm | SHA-256: fb6f9a27a8d0b5920d7400b235ee9dc902a55caff1ac3f42ca691265673c5a7c |
ia64 | |
scl-utils-20120927-8.el5.ia64.rpm | SHA-256: 2bf6515a36545f96b098b2f3b77e8281a8386034818107da87f01e2dfbf9ddd3 |
scl-utils-build-20120927-8.el5.ia64.rpm | SHA-256: ded56b7126117ab0d821d942538895a702c0f4f82e18305bc227e63d5a04172a |
scl-utils-debuginfo-20120927-8.el5.ia64.rpm | SHA-256: d6d011a1572ef175314dbc05d0ba0f1008a3e668d08de343fc6e53ef196f5ae0 |
i386 | |
scl-utils-20120927-8.el5.i386.rpm | SHA-256: 190ac4a9cb56ca79b7135896666971b6b13efb1762bdd5d15b1b13655a5a4fbb |
scl-utils-build-20120927-8.el5.i386.rpm | SHA-256: b89e68fa3f86d06e6183ca7c8c8272deccbd63933e18078de2d874805cca26d8 |
scl-utils-debuginfo-20120927-8.el5.i386.rpm | SHA-256: d2af65dd1c907fb2b19aa0b2413717c2c66b2adea97d13f0bfc8c0617ef7426e |
Red Hat Enterprise Linux Workstation 5
SRPM | |
---|---|
scl-utils-20120927-8.el5.src.rpm | SHA-256: cca33864a2feb8acfbf4fee434d832238294c2639a4ff877f97b6e052a78ab49 |
x86_64 | |
scl-utils-20120927-8.el5.x86_64.rpm | SHA-256: 930fafcf540c1c983fa84a9e14111c3fcfbdb93d8df63706302c131f32f57de8 |
scl-utils-build-20120927-8.el5.x86_64.rpm | SHA-256: e504c8c576268326a13c1dcff7f5c5289b626474a72acb44b80ab2980200943e |
scl-utils-debuginfo-20120927-8.el5.x86_64.rpm | SHA-256: fb6f9a27a8d0b5920d7400b235ee9dc902a55caff1ac3f42ca691265673c5a7c |
scl-utils-debuginfo-20120927-8.el5.x86_64.rpm | SHA-256: fb6f9a27a8d0b5920d7400b235ee9dc902a55caff1ac3f42ca691265673c5a7c |
i386 | |
scl-utils-20120927-8.el5.i386.rpm | SHA-256: 190ac4a9cb56ca79b7135896666971b6b13efb1762bdd5d15b1b13655a5a4fbb |
scl-utils-build-20120927-8.el5.i386.rpm | SHA-256: b89e68fa3f86d06e6183ca7c8c8272deccbd63933e18078de2d874805cca26d8 |
scl-utils-debuginfo-20120927-8.el5.i386.rpm | SHA-256: d2af65dd1c907fb2b19aa0b2413717c2c66b2adea97d13f0bfc8c0617ef7426e |
scl-utils-debuginfo-20120927-8.el5.i386.rpm | SHA-256: d2af65dd1c907fb2b19aa0b2413717c2c66b2adea97d13f0bfc8c0617ef7426e |
Red Hat Enterprise Linux Desktop 5
SRPM | |
---|---|
scl-utils-20120927-8.el5.src.rpm | SHA-256: cca33864a2feb8acfbf4fee434d832238294c2639a4ff877f97b6e052a78ab49 |
x86_64 | |
scl-utils-20120927-8.el5.x86_64.rpm | SHA-256: 930fafcf540c1c983fa84a9e14111c3fcfbdb93d8df63706302c131f32f57de8 |
scl-utils-debuginfo-20120927-8.el5.x86_64.rpm | SHA-256: fb6f9a27a8d0b5920d7400b235ee9dc902a55caff1ac3f42ca691265673c5a7c |
i386 | |
scl-utils-20120927-8.el5.i386.rpm | SHA-256: 190ac4a9cb56ca79b7135896666971b6b13efb1762bdd5d15b1b13655a5a4fbb |
scl-utils-debuginfo-20120927-8.el5.i386.rpm | SHA-256: d2af65dd1c907fb2b19aa0b2413717c2c66b2adea97d13f0bfc8c0617ef7426e |
Red Hat Enterprise Linux for IBM z Systems 5
SRPM | |
---|---|
scl-utils-20120927-8.el5.src.rpm | SHA-256: cca33864a2feb8acfbf4fee434d832238294c2639a4ff877f97b6e052a78ab49 |
s390x | |
scl-utils-20120927-8.el5.s390x.rpm | SHA-256: 86fbde68f64071511ad099bafcc58514fa9f9f0629f83b1f6196961ad70c4fef |
scl-utils-build-20120927-8.el5.s390x.rpm | SHA-256: 92d0b8d003169b350a8d225427db594c0fc6873ca62d4b09988c0b106ffb58fc |
scl-utils-debuginfo-20120927-8.el5.s390x.rpm | SHA-256: f52fb82bcad0714f756c917b744780b07c1ac67261d5e4847923f497c6f9f74c |
Red Hat Enterprise Linux for Power, big endian 5
SRPM | |
---|---|
scl-utils-20120927-8.el5.src.rpm | SHA-256: cca33864a2feb8acfbf4fee434d832238294c2639a4ff877f97b6e052a78ab49 |
ppc | |
scl-utils-20120927-8.el5.ppc.rpm | SHA-256: f132078438cc890b1079cff158a9eac55a8101d45fd20721288d95cb57141cde |
scl-utils-build-20120927-8.el5.ppc.rpm | SHA-256: 6e064a8c4dbbca0785589657c0f63c878ba6862018c2401c0427d5c557192098 |
scl-utils-debuginfo-20120927-8.el5.ppc.rpm | SHA-256: d4dce36e9d314354057f4688ecd738c77f4fc63f892f412f742fcff3bd41d7d9 |
Red Hat Enterprise Linux Server from RHUI 5
SRPM | |
---|---|
scl-utils-20120927-8.el5.src.rpm | SHA-256: cca33864a2feb8acfbf4fee434d832238294c2639a4ff877f97b6e052a78ab49 |
x86_64 | |
scl-utils-20120927-8.el5.x86_64.rpm | SHA-256: 930fafcf540c1c983fa84a9e14111c3fcfbdb93d8df63706302c131f32f57de8 |
scl-utils-build-20120927-8.el5.x86_64.rpm | SHA-256: e504c8c576268326a13c1dcff7f5c5289b626474a72acb44b80ab2980200943e |
scl-utils-debuginfo-20120927-8.el5.x86_64.rpm | SHA-256: fb6f9a27a8d0b5920d7400b235ee9dc902a55caff1ac3f42ca691265673c5a7c |
i386 | |
scl-utils-20120927-8.el5.i386.rpm | SHA-256: 190ac4a9cb56ca79b7135896666971b6b13efb1762bdd5d15b1b13655a5a4fbb |
scl-utils-build-20120927-8.el5.i386.rpm | SHA-256: b89e68fa3f86d06e6183ca7c8c8272deccbd63933e18078de2d874805cca26d8 |
scl-utils-debuginfo-20120927-8.el5.i386.rpm | SHA-256: d2af65dd1c907fb2b19aa0b2413717c2c66b2adea97d13f0bfc8c0617ef7426e |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.