Bug 550372

Summary: SELinux is preventing /usr/sbin/sendmail.sendmail "module_request" access.
Product: [Fedora] Fedora Reporter: mamii <sarrab1976>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: 147spam147, dwalsh, mgrepl, rnichols42, sarrab1976
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:9efcb70bfd2a67e8b8c7b7ea0b89173974eeca5c6b704227693a8185dfb74973
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-13 15:49:03 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-12-24 20:57:28 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-56.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                   8
First Seen                    الثلاثاء 22 كانون الأول 2009
                              16:55:44
Last Seen                     الأربعاء 23 كانون الأول 2009
                              21:35:44
Local ID                      70870d07-e6e1-4aa8-9874-ddd39336ad35
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1261600544.741:8): avc:  denied  { module_request } for  pid=1482 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(1261600544.741:8): arch=40000003 syscall=102 success=no exit=-97 a0=1 a1=bf8cb320 a2=3ebe08 a3=45f9c0 items=0 ppid=1 pid=1482 auid=4294967295 uid=51 gid=486 euid=51 suid=51 fsuid=51 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-56.fc12,catchall,sendmail,sendmail_t,kernel_t,system,module_request
audit2allow suggests:

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

Comment 1 Daniel Walsh 2009-12-27 13:05:13 UTC
Did you disable ipv6?

Comment 2 Carl G. 2010-01-15 01:15:56 UTC
*** Bug 550520 has been marked as a duplicate of this bug. ***

Comment 3 Kamil 2010-01-24 17:28:02 UTC
I'm getting the same warning, and I have disabled ipv6 indeed.
Should I enable it again?

Comment 4 Daniel Walsh 2010-01-25 17:48:12 UTC
No you can just ignore the AVC.  We hope to have a newer kernel so the troubleshooter can check and just ignore the AVC for you.

Comment 5 Miroslav Grepl 2010-04-13 15:49:03 UTC

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