Bug 560010

Summary: SELinux is preventing python (hplip_t) "read" security_t.
Product: [Fedora] Fedora Reporter: Bill Case <billlinux>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl, rmiller38512
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:1e8354cc3d50a43bfc2816e143eaee763d501f6322240e1f0026e389acf5ca0a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-29 22:04:20 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 Bill Case 2010-01-29 16:20:04 UTC
Summary:

SELinux is preventing python (hplip_t) "read" security_t.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by python. It is not expected that this access
is required by python and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Additional Information:

Source Context                system_u:system_r:hplip_t:s0-s0:c0.c1023
Target Context                system_u:object_r:security_t:s0
Target Objects                mls [ file ]
Source                        python
Source Path                   /usr/bin/python
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           python-2.6-9.fc11
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.12-53.fc11
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.29.5-191.fc11.x86_64 #1 SMP Tue Jun
                              16 23:23:21 EDT 2009 x86_64 x86_64
Alert Count                   3
First Seen                    Wed 08 Jul 2009 12:17:00 PM EDT
Last Seen                     Wed 08 Jul 2009 05:33:22 PM EDT
Local ID                      b3e2b338-d315-487f-a9dc-fc4698f0db99
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1247088802.422:24): avc:  denied  { read } for  pid=2891 comm="python" name="mls" dev=selinuxfs ino=12 scontext=system_u:system_r:hplip_t:s0-s0:c0.c1023 tcontext=system_u:object_r:security_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1247088802.422:24): avc:  denied  { open } for  pid=2891 comm="python" name="mls" dev=selinuxfs ino=12 scontext=system_u:system_r:hplip_t:s0-s0:c0.c1023 tcontext=system_u:object_r:security_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1247088802.422:24): arch=c000003e syscall=2 success=no exit=1103380440 a0=7fff6df18430 a1=0 a2=7fff6df1843c a3=fffffff8 items=0 ppid=2879 pid=2891 auid=4294967295 uid=0 gid=7 euid=0 suid=0 fsuid=0 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm="python" exe="/usr/bin/python" subj=system_u:system_r:hplip_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.12-53.fc11,catchall,python,hplip_t,security_t,file,read
audit2allow suggests:

#============= hplip_t ==============
#!!!! This avc has a dontaudit rule in the current policy

allow hplip_t security_t:file { read open };

Comment 1 Daniel Walsh 2010-01-29 22:04:20 UTC
#============= hplip_t ==============
#!!!! This avc has a dontaudit rule in the current policy

allow hplip_t security_t:file { read open };

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