Bug 542125

Summary: SELinux is preventing /usr/sbin/sendmail.sendmail "module_request" access.
Product: [Fedora] Fedora Reporter: mamii <sarrab1976>
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, sarrab1976, sreejith.anujan
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:67a593d140fbdd04620ecba4c117b18dd1aa64626e052ce9f7553e3c12d774b9
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-30 11:36:55 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 mamii 2009-11-28 13:36:46 UTC
Summary:

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

Detailed Description:

SELinux denied access requested by sendmail. It is not expected that this access
is required by sendmail 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:sendmail_t:s0
Target Context                system_u:system_r:kernel_t:s0
Target Objects                None [ system ]
Source                        sendmail
Source Path                   /usr/sbin/sendmail.sendmail
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           sendmail-8.14.3-8.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-49.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.6-151.fc12.i686 #1 SMP
                              Thu Nov 26 06:59:19 EST 2009 i686 i686
Alert Count                   104
First Seen                    الجمعـة 20 تشرين الثاني 2009
                              13:56:42
Last Seen                     السبت 28 تشرين الثاني 2009
                              14:11:28
Local ID                      b715cd90-648e-486d-a4fb-f9dd0d380903
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1259413888.589:8): avc:  denied  { module_request } for  pid=1380 comm="sendmail" scontext=system_u:system_r:sendmail_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system

node=(removed) type=SYSCALL msg=audit(1259413888.589:8): arch=40000003 syscall=102 success=no exit=-97 a0=1 a1=bfcba8b0 a2=9cee08 a3=a429c0 items=0 ppid=1 pid=1380 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=486 sgid=486 fsgid=486 tty=(none) ses=4294967295 comm="sendmail" exe="/usr/sbin/sendmail.sendmail" subj=system_u:system_r:sendmail_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-49.fc12,catchall,sendmail,sendmail_t,kernel_t,system,module_request
audit2allow suggests:

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

Comment 1 Miroslav Grepl 2009-11-30 11:36:55 UTC

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