Bug 1460114

Summary: the filesystem_associate plugin tracebacks
Product: Red Hat Enterprise Linux 6 Reporter: Milos Malik <mmalik>
Component: setroubleshoot-pluginsAssignee: Petr Lautrbach <plautrba>
Status: CLOSED WONTFIX QA Contact: Milos Malik <mmalik>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.9CC: lvrabec, mgrepl, mmalik, plautrba
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 11:01:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Milos Malik 2017-06-09 07:27:41 UTC
Description of problem:

Version-Release number of selected component (if applicable):
setroubleshoot-plugins-3.0.40-4.1.el6.noarch
setroubleshoot-server-3.0.47-14.el6.x86_64

How reproducible:
* always

Steps to Reproduce:
1. get a RHEL-6.9 machine (targeted policy is active)
2. run following automated TC:
 * /CoreOS/setroubleshoot-plugins/Sanity/filesystem_associate
3. search for traceback in /var/log/messages

Actual results:
Jun  9 03:21:28 removed setroubleshoot: [avc.ERROR] Plugin Exception filesystem_associate
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/setroubleshoot/analyze.py", line 191, in analyze_avc
report = plugin.analyze(avc)
File "/usr/share/setroubleshoot/plugins/filesystem_associate.py", line 55, in analyze
avc.tcontext.type in file_types and \
NameError: global name 'file_types' is not defined

Expected results:
* no tracebacks

Comment 2 Jan Kurik 2017-12-06 11:01:13 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/