Bug 1144580

Summary: sealert prints error to stdout
Product: [Fedora] Fedora Reporter: Alois Mahdal <amahdal>
Component: setroubleshootAssignee: Petr Lautrbach <plautrba>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dwalsh, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: setroubleshoot-3.2.23-1.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-18 09:33:39 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:

Description Alois Mahdal 2014-09-19 19:22:40 UTC
Description of problem:

`sealert` will print some errors to stdin.  Bug 1144578 is one example, but looking at code, I have found multiple places like:

    try:
        # something
    except ValueError as e:
        print(e)

that should probably be changed to 

    try:
        # something
    except ValueError as e:
        print >> sys.stderr, e

Version-Release number of selected component (if applicable):
setroubleshoot-3.2.17-1.fc20.x86_64

How reproducible:
Not sure which types of errors can generate this

Steps to Reproduce:
See bug 1144578

Comment 2 Fedora Update System 2015-04-09 13:57:25 UTC
setroubleshoot-3.2.23-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/setroubleshoot-3.2.23-1.fc22

Comment 3 Fedora Update System 2015-04-09 15:08:24 UTC
setroubleshoot-3.2.23-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/setroubleshoot-3.2.23-1.fc21

Comment 4 Fedora Update System 2015-04-09 16:45:19 UTC
Package setroubleshoot-3.2.23-1.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing setroubleshoot-3.2.23-1.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-5884/setroubleshoot-3.2.23-1.fc22
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2015-04-18 09:33:39 UTC
setroubleshoot-3.2.23-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2015-04-21 19:19:55 UTC
setroubleshoot-3.2.23-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.