Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
The "-H" option used with sealert seems to be not recognized as valid option:
# sealert -a /var/log/audit/audit.log -H > audit.html
# cat audit.html
[Errno 2] No such file or directory: '-H'
Version-Release number of selected component (if applicable):
setroubleshoot-server-3.0.38-2.1.el6.x86_64
setroubleshoot-plugins-3.0.16-1.el6.noarch
setroubleshoot-debuginfo-3.0.38-2.1.el6.x86_64
setroubleshoot-3.0.38-2.1.el6.x86_64
How reproducible:
Reproducible on every RHEL6.2 machine. Not tested on RHEL6.1 or RHEL6.0
Steps to Reproduce:
1. Issue the command: # sealert -a /var/log/audit/audit.log -H > audit.html
2. It will complete with no output or error
3. When opening the audit.log, we see only the error:
[Errno 2] No such file or directory: '-H'
Actual results:
We receive an error:
[Errno 2] No such file or directory: '-H'
Expected results:
The same command on RHEL5.7 ends with no errors and the file (audit.log) could be opened in a web browser.
It works with the following packages:
setroubleshoot-server-2.0.5-5.el5
setroubleshoot-plugins-2.0.4-2.el5
setroubleshoot-2.0.5-5.el5
Additional info:
Here is an excerpt from the "man sealert" command on RHEL6.2:
OPTIONS
-b --browser
Launch the browser
-h --help
Show this message
-H --html_output
Ouput in html, Used with the -a or -l option
-s --service
Start sealert service, Usually used by dbus.
-S --noservice
Start sealert without dbus service as stand alone app
-l --lookupid id
Lookup alert by id, if id is wildcard * then return all alerts
-a --analyze file
Scan a log file, analyze it’s AVC’s
1) Both options (short and long) do not work as expected.
# sealert -a /var/log/audit/audit.log -H
[Errno 2] No such file or directory: '-H'
# echo $?
3
# sealert -a /var/log/audit/audit.log --html_output
[Errno 2] No such file or directory: '--html_output'
# echo $?
3
#
2) Both options are mentioned in sealert man page only. Help message does not contain them.
# sealert --help | grep -i html
# echo $?
1
#
Comment 5RHEL Program Management
2012-05-03 05:37:28 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.
Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.
Hi,
I would like to clarify something about this bug. Is the -H option going to be re-implemented in the next version, or this bug will just remove the -H option from the man page?
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-0387.html
Description of problem: The "-H" option used with sealert seems to be not recognized as valid option: # sealert -a /var/log/audit/audit.log -H > audit.html # cat audit.html [Errno 2] No such file or directory: '-H' Version-Release number of selected component (if applicable): setroubleshoot-server-3.0.38-2.1.el6.x86_64 setroubleshoot-plugins-3.0.16-1.el6.noarch setroubleshoot-debuginfo-3.0.38-2.1.el6.x86_64 setroubleshoot-3.0.38-2.1.el6.x86_64 How reproducible: Reproducible on every RHEL6.2 machine. Not tested on RHEL6.1 or RHEL6.0 Steps to Reproduce: 1. Issue the command: # sealert -a /var/log/audit/audit.log -H > audit.html 2. It will complete with no output or error 3. When opening the audit.log, we see only the error: [Errno 2] No such file or directory: '-H' Actual results: We receive an error: [Errno 2] No such file or directory: '-H' Expected results: The same command on RHEL5.7 ends with no errors and the file (audit.log) could be opened in a web browser. It works with the following packages: setroubleshoot-server-2.0.5-5.el5 setroubleshoot-plugins-2.0.4-2.el5 setroubleshoot-2.0.5-5.el5 Additional info: Here is an excerpt from the "man sealert" command on RHEL6.2: OPTIONS -b --browser Launch the browser -h --help Show this message -H --html_output Ouput in html, Used with the -a or -l option -s --service Start sealert service, Usually used by dbus. -S --noservice Start sealert without dbus service as stand alone app -l --lookupid id Lookup alert by id, if id is wildcard * then return all alerts -a --analyze file Scan a log file, analyze it’s AVC’s