Bug 637227

Summary: NameError: global name 'args' is not defined
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: setroubleshoot-pluginsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: dwalsh, jdennis, mgrepl
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: 2010-09-24 20:37:56 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:

Description Michael Schwendt 2010-09-24 15:49:41 UTC
Fresh install of F-14 Beta RC3 i386, then "yum -y update --skip-broken".

/var/log/messages contains lots of exceptions (and it seems this prevents setroubleshooter from being started automatically).

Sep 24 17:39:47 localhost setroubleshoot: [avc.ERROR] Plugin Exception catchall_boolean #012Traceback (most recent call last):#012  File "/usr/lib/python2.7/site-packages/setroubleshoot/analyze.py", line 148, in analyze_avc#012    report = plugin.analyze(avc)#012  File "/usr/share/setroubleshoot/plugins/catchall_boolean.py", line 78, in analyze#012    fix, fix_cmd, level="green")#012  File "/usr/lib/python2.7/site-packages/setroubleshoot/Plugin.py", line 116, in report#012    args           = args,#012NameError: global name 'args' is not defined

Sep 24 17:39:47 localhost setroubleshoot: [avc.ERROR] Plugin Exception catchall #012Traceback (most recent call last):#012  File "/usr/lib/python2.7/site-packages/setroubleshoot/analyze.py", line 148, in analyze_avc#012    report = plugin.analyze(avc)#012  File "/usr/share/setroubleshoot/plugins/catchall.py", line 64, in analyze#012    self.fix_description, self.fix_cmd)#012  File "/usr/lib/python2.7/site-packages/setroubleshoot/Plugin.py", line 116, in report#012    args           = args,#012NameError: global name 'args' is not defined

Sep 24 17:40:35 localhost setroubleshoot: [avc.ERROR] Plugin Exception catchall_boolean #012Traceback (most recent call last):#012  File "/usr/lib/python2.7/site-packages/setroubleshoot/analyze.py", line 148, in analyze_avc#012    report = plugin.analyze(avc)#012  File "/usr/share/setroubleshoot/plugins/catchall_boolean.py", line 78, in analyze#012    fix, fix_cmd, level="green")#012  File "/usr/lib/python2.7/site-packages/setroubleshoot/Plugin.py", line 116, in report#012    args           = args,#012NameError: global name 'args' is not defined

Sep 24 17:40:35 localhost setroubleshoot: [avc.ERROR] Plugin Exception catchall #012Traceback (most recent call last):#012  File "/usr/lib/python2.7/site-packages/setroubleshoot/analyze.py", line 148, in analyze_avc#012    report = plugin.analyze(avc)#012  File "/usr/share/setroubleshoot/plugins/catchall.py", line 64, in analyze#012    self.fix_description, self.fix_cmd)#012  File "/usr/lib/python2.7/site-packages/setroubleshoot/Plugin.py", line 116, in report#012    args           = args,#012NameError: global name 'args' is not defined

Comment 1 Daniel Walsh 2010-09-24 20:05:31 UTC
try bugfix setroubleshoot-2.2.99-1.fc14 in updates-testing and if  this fixes your problem update karma.

Comment 2 Michael Schwendt 2010-09-24 20:37:56 UTC

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