Bug 1144580 - sealert prints error to stdout
Summary: sealert prints error to stdout
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: setroubleshoot
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-19 19:22 UTC by Alois Mahdal
Modified: 2015-04-21 19:19 UTC (History)
3 users (show)

Fixed In Version: setroubleshoot-3.2.23-1.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-18 09:33:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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