Bug 207348

Summary: setroubleshootd fails with multiple errors but service start reports [ OK ]
Product: [Fedora] Fedora Reporter: Dave Malcolm <dmalcolm>
Component: setroubleshootAssignee: John Dennis <jdennis>
Status: CLOSED DUPLICATE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-29 21:17:10 UTC Type: ---
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: 150223    

Description Dave Malcolm 2006-09-20 19:34:10 UTC
Description of problem:
[david@brick sbin]$ sudo /sbin/service setroubleshoot start
Starting setroubleshootd:                                  [  OK  ]

However, /var/log/setroubleshoot/setroubleshootd.log shows multiple
serious-looking errors:
(a) one of these for each plugin:
2006-09-20 15:29:26,330 [plugin.ERROR] failed to load httpd_enable_homedirs plugin
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/setroubleshoot/util.py", line 312, in
load_plugins
    mod = imp.load_module(module_name, *imp.find_module(plugin_name, [plugin_dir]))
  File "/usr/share/setroubleshoot/plugins/httpd_enable_homedirs.py", line 20, in ?
    from setroubleshoot.Plugin import Plugin
  File "/usr/lib/python2.4/site-packages/setroubleshoot/Plugin.py", line 123
    rpm = get_rpm_nvr_by_file_path(self.path.strip('"')))
                                                        ^
SyntaxError: invalid syntax
(repeats for every plugin, predictably)

(b) 2006-09-20 15:29:27,933 [avc.WARNING] audit socket (/var/run/audit_events)
failed, error='No such file or directory', retry in 60 seconds
which does indeed repeat and fills up the log.

No troubleshoot popups appear and package is broken :-(

Do you want me to break out these two separate problems into different bug
reports?  The third problem (c.f. Summary) is that I was unaware of this
breakage and thought that the service was running and was merely failing to
generate AVCs :-(

Version-Release number of selected component (if applicable):
setroubleshoot-0.42-2

How reproducible:
100%

Comment 1 John Dennis 2006-09-29 21:17:10 UTC

*** This bug has been marked as a duplicate of 207453 ***