Bug 538402

Summary: SELinux is preventing /usr/sbin/postdrop "module_request" access.
Product: [Fedora] Fedora Reporter: Chris Ricker <chris.ricker>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:6bdcf13e59bbe6f113dbe8a107ebfeb78aa3c715ad960eefa25be3548e7a737c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-18 13:59:40 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 Chris Ricker 2009-11-18 13:38:09 UTC
Summary:

SELinux is preventing /usr/sbin/postdrop "module_request" access.

Detailed Description:

SELinux denied access requested by postdrop. It is not expected that this access
is required by postdrop 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:postfix_postdrop_t:s0-s0:c0.c102
                              3
Target Context                system_u:system_r:kernel_t:s0
Target Objects                None [ system ]
Source                        postdrop
Source Path                   /usr/sbin/postdrop
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           postfix-2.6.5-2.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-41.fc12
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.5-127.fc12.x86_64 #1 SMP Sat Nov 7 21:11:14
                              EST 2009 x86_64 x86_64
Alert Count                   1
First Seen                    Tue 17 Nov 2009 08:22:32 AM EST
Last Seen                     Tue 17 Nov 2009 08:22:32 AM EST
Local ID                      ceb49f84-379e-40cc-ac50-25bc12f59767
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1258464152.860:39): avc:  denied  { module_request } for  pid=3141 comm="postdrop" scontext=system_u:system_r:postfix_postdrop_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=system

node=(removed) type=SYSCALL msg=audit(1258464152.860:39): arch=c000003e syscall=41 success=no exit=-97 a0=a a1=1 a2=0 a3=7fffff248f80 items=0 ppid=3128 pid=3141 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=90 sgid=90 fsgid=90 tty=(none) ses=2 comm="postdrop" exe="/usr/sbin/postdrop" subj=system_u:system_r:postfix_postdrop_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-41.fc12,catchall,postdrop,postfix_postdrop_t,kernel_t,system,module_request
audit2allow suggests:

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

Comment 1 Daniel Walsh 2009-11-18 13:59:40 UTC

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