RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1867135 - scl_source prints warnings and errors to stdout
Summary: scl_source prints warnings and errors to stdout
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: scl-utils
Version: 8.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 8.4
Assignee: Michal Domonkos
QA Contact: Lukáš Zachar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-07 12:57 UTC by Paulo Andrade
Modified: 2021-11-10 01:39 UTC (History)
4 users (show)

Fixed In Version: scl-utils-2.0.2-14.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 18:50:35 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:4308 0 None None None 2021-11-09 18:50:36 UTC

Description Paulo Andrade 2020-08-07 12:57:10 UTC
Sample reproducer:

$ source scl_source enable devtoolset-9 2>/dev/null
Can't read /etc/scl/conf/devtoolset-9, devtoolset-9 is probably not installed.

  Other than the help string, it should redirect other echo
calls to stderr, like in the pseudo patch:

-        echo "Can't read $_scl_prefix_file, $arg is probably not installed."
+        echo "Can't read $_scl_prefix_file, $arg is probably not installed." 1>&2

  This would make it have the same behavior for example, as

$ scl enable devtoolset-9 ...

that prints a similar message to stderr if the collection is not
available.

Comment 23 Michal Domonkos 2021-07-13 15:28:25 UTC
Upstream PR: https://github.com/sclorg/scl-utils/pull/36

Comment 33 errata-xmlrpc 2021-11-09 18:50:35 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 (scl-utils bug fix and enhancement update), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHBA-2021:4308


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