Bug 901612
Summary: | Subscription-manager-s yum plugin prints warning to stdout instead of stderr. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Matej Kollar <mkollar> |
Component: | subscription-manager | Assignee: | Bryan Kearney <bkearney> |
Status: | CLOSED ERRATA | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.10 | CC: | bkearney, cperry, dgoodwin, fsharath, jgalipea, jsefler |
Target Milestone: | beta | ||
Target Release: | 5.10 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 1.8.2 | Doc Type: | Bug Fix |
Doc Text: |
No description necessary
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-30 22:54:48 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 840995, 920191 |
Description
Matej Kollar
2013-01-18 16:08:36 UTC
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. commit 836e52bf583341f9781dfe10c7da348a606cf83d Author: Bryan Kearney <bkearney> Date: Fri Jan 25 13:28:35 2013 -0500 901612: Yum plugin warnings should go to stderr, not stdout Fixed in the 1.8.2 version of subscription-manager or python-rhsm # rpm -qa | egrep "subscription-manager|python-rhsm" python-rhsm-1.8.3-1.el7.x86_64 subscription-manager-gui-1.8.3-1.el7.x86_64 subscription-manager-migration-1.8.3-1.el7.x86_64 subscription-manager-debuginfo-1.8.3-1.el7.x86_64 subscription-manager-1.8.3-1.el7.x86_64 subscription-manager-firstboot-1.8.3-1.el7.x86_64 python-rhsm-debuginfo-1.8.3-1.el7.x86_64 # subscription-manager clean All local data removed # subscription-manager unregister This system is currently not registered. # yum repolist --enablerepo=rel-eng-latest > stdout.log 2> stderr.log # cat stdout.log Loaded plugins: product-id, subscription-manager repo id repo name status rel-eng-latest latest-RHEL7 Server on x86_64 4,276 repolist: 4,276 # cat stderr.log This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. VERIFIED 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. 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-1332.html Apologies but we have to revert this fix due to https://bugzilla.redhat.com/show_bug.cgi?id=1017354 (and others) This caused more problems than the original behaviour and after discussion, we feel the original behaviour was correct, these are not error messages, they are informational only, and belong on stdout. (not stderr) Any script parsing yum output would need to be able to handle this and only extract the information it needs, but this is the nature of parsing command output, particularly when the command has a plugin architecture like yum. Sorry for any complications but we need to revert the fix in the next subscription-manager release. |