Bug 546870

Summary: SELinux is preventing /usr/bin/python "module_request" access.
Product: [Fedora] Fedora Reporter: pleabargain <dennisgdaniels>
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: dennisgdaniels, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:af8f95003fc9db1eef99d6350d8fbafe66f6b918c3250bfcdd2b2c816471aa65
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-12 12:50:47 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 pleabargain 2009-12-12 12:16:14 UTC
Summary:

SELinux is preventing /usr/bin/python "module_request" access.

Detailed Description:

SELinux denied access requested by smoltSendProfil. It is not expected that this
access is required by smoltSendProfil 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) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:smoltclient_t:s0-s0:c0.c1023
Target Context                system_u:system_r:kernel_t:s0
Target Objects                None [ system ]
Source                        smoltSendProfil
Source Path                   /usr/bin/python
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           python-2.6.2-2.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-55.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.6-166.fc12.i686
                              #1 SMP Wed Dec 9 11:14:59 EST 2009 i686 i686
Alert Count                   1
First Seen                    Sat 12 Dec 2009 02:20:04 AM EET
Last Seen                     Sat 12 Dec 2009 02:20:04 AM EET
Local ID                      811eabbf-3590-4c4f-b6a5-6b3421439daf
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1260577204.447:24212): avc:  denied  { module_request } for  pid=13446 comm="smoltSendProfil" scontext=system_u:system_r:smoltclient_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=system

node=(removed) type=SYSCALL msg=audit(1260577204.447:24212): arch=40000003 syscall=102 success=no exit=-97 a0=1 a1=bfc05f00 a2=622f80 a3=a353180 items=0 ppid=13444 pid=13446 auid=494 uid=494 gid=485 euid=494 suid=494 fsuid=494 egid=485 sgid=485 fsgid=485 tty=(none) ses=17 comm="smoltSendProfil" exe="/usr/bin/python" subj=system_u:system_r:smoltclient_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-55.fc12,catchall,smoltSendProfil,smoltclient_t,kernel_t,system,module_request
audit2allow suggests:

#============= smoltclient_t ==============
allow smoltclient_t kernel_t:system module_request;

Comment 1 Daniel Walsh 2009-12-12 12:50:47 UTC

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