Bug 756450

Summary: Traceback in sealert
Product: [Fedora] Fedora Reporter: techtonik
Component: setroubleshootAssignee: Daniel Walsh <dwalsh>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-23 18:59:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description techtonik 2011-11-23 16:11:46 UTC
$ sudo sealert -a /var/log/audit/audit.log
 10% doneTraceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/setroubleshoot/analyze.py", line 690, in task
    self.new_audit_record_handler(record_type, event_id, body_text, fields, line_number)
  File "/usr/lib/python2.7/site-packages/setroubleshoot/analyze.py", line 717, in new_audit_record_handler
    self.avc_event_handler(audit_event)
  File "/usr/lib/python2.7/site-packages/setroubleshoot/analyze.py", line 702, in avc_event_handler
    avc = AVC(audit_event)
  File "/usr/lib/python2.7/site-packages/setroubleshoot/audit_data.py", line 635, in __init__
    self.derive_avc_info_from_audit_event()
  File "/usr/lib/python2.7/site-packages/setroubleshoot/audit_data.py", line 913, in derive_avc_info_from_audit_event
    self._set_tpath()
  File "/usr/lib/python2.7/site-packages/setroubleshoot/audit_data.py", line 877, in _set_tpath
    self.tpath = self.decodehex(path)                    
  File "/usr/lib/python2.7/site-packages/setroubleshoot/audit_data.py", line 739, in decodehex
    if not printable(tpath):
  File "/usr/lib/python2.7/site-packages/setroubleshoot/audit_data.py", line 139, in printable
    filtered_path = filter(lambda x: x in string.printable, s)
TypeError: 'NoneType' object is not iterable


^CTraceback (most recent call last):
  File "/usr/bin/sealert", line 714, in <module>
    do_analyze_logfile(logfile)
  File "/usr/bin/sealert", line 536, in do_analyze_logfile
    scanner.scan_file()
  File "/usr/bin/sealert", line 521, in scan_file
    self.main_loop.run()
KeyboardInterrupt

Comment 1 Miroslav Grepl 2011-12-02 09:58:40 UTC
Could you send me your compressed audit log.

Comment 2 techtonik 2013-01-24 10:06:30 UTC
Unfortunately, it is no more available.