Bug 529758 - SELinux is preventing /usr/sbin/sendmail.sendmail "module_request" access.
Summary: SELinux is preventing /usr/sbin/sendmail.sendmail "module_request" access.
Keywords:
Status: CLOSED DUPLICATE of bug 527936
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Eric Paris
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:6cca328f98a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-19 20:06 UTC by Jerry Amundson
Modified: 2009-10-27 10:20 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-10-21 15:04:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jerry Amundson 2009-10-19 20:06:32 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-27.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.1-56.fc12.i686 #1 SMP Tue
                              Sep 29 16:32:02 EDT 2009 i686 i686
Alert Count                   2
First Seen                    Mon 19 Oct 2009 03:05:05 PM CDT
Last Seen                     Mon 19 Oct 2009 03:05:05 PM CDT
Local ID                      847d464a-67cb-4452-a1d0-b952cf50397c
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1255982705.173:21486): avc:  denied  { module_request } for  pid=1242 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(1255982705.173:21486): arch=40000003 syscall=102 success=no exit=-97 a0=1 a1=bf8e05c0 a2=8ece08 a3=9609c0 items=0 ppid=1 pid=1242 auid=4294967295 uid=51 gid=487 euid=51 suid=51 fsuid=51 egid=487 sgid=487 fsgid=487 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-27.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-10-19 20:16:05 UTC
Did you do something to disable IPV6?

Comment 2 Jerry Amundson 2009-10-19 20:48:27 UTC
# cat /etc/modprobe.d/local.conf
install ipv6 /bin/true

Hmm, should I not do this? :)
Firefox has become slow lately, and I'm just testing some theories. I can revert back, that's fine...

Comment 3 Daniel Walsh 2009-10-19 21:00:22 UTC
The problem with this is every tool that uses the network attempts to bring up ipv6, so I think you end up generating AVC's.  We need a better mechanism for dropping ipv6 support.  Eric?

Comment 4 Eric Paris 2009-10-21 15:04:28 UTC

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


Note You need to log in before you can comment on or make changes to this bug.