Bug 955668 - A collection can get twice-enabled
Summary: A collection can get twice-enabled
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: scl-utils
Version: 5.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jan Zeleny
QA Contact: Lukáš Zachar
URL:
Whiteboard:
Depends On:
Blocks: 955669 955670
TreeView+ depends on / blocked
 
Reported: 2013-04-23 13:45 UTC by Jan Zeleny
Modified: 2013-09-30 22:05 UTC (History)
1 user (show)

Fixed In Version: scl-utils-20120927-4.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 955669 955670 (view as bug list)
Environment:
Last Closed: 2013-09-30 22:05:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1303 0 normal SHIPPED_LIVE scl-utils bug fix update 2013-09-30 21:13:39 UTC

Description Jan Zeleny 2013-04-23 13:45:22 UTC
When running scl enable <collection> bash, a variable $X_SCLS should be filled with a list of collections that are enabled. When calling scl enable for the second time, content of $x_scls is read instead of $X_SCLS. In case of enabling the same collection again, it would lead to running collection's enable scriptlet twice.

In some specific cases, this can lead to malformed environment, as one of the basic assumptions of scl-utils is that once collection is enabled, it won't be enabled for the second time.

Comment 1 RHEL Program Management 2013-04-23 13:57:21 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 3 Jan Zeleny 2013-04-25 08:39:01 UTC
This has been fixed in the lates build scl-utils-20120927-4.el5

Comment 10 errata-xmlrpc 2013-09-30 22:05:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1303.html


Note You need to log in before you can comment on or make changes to this bug.