Bug 527938 - setroubleshoot: SELinux is preventing /usr/sbin/sendmail.sendmail "module_request" access.
Summary: setroubleshoot: SELinux is preventing /usr/sbin/sendmail.sendmail "module_req...
Keywords:
Status: CLOSED DUPLICATE of bug 527936
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Eric Paris
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:e6ce437390b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-08 10:05 UTC by Michal Hlavinka
Modified: 2009-10-21 15:05 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Michal Hlavinka 2009-10-08 10:05:47 UTC
The following was filed automatically by setroubleshoot:

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-21.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-58.fc12.x86_64 #1
                              SMP Fri Oct 2 16:17:33 EDT 2009 x86_64 x86_64
Alert Count                   34
First Seen                    Tue 06 Oct 2009 09:20:53 PM CEST
Last Seen                     Thu 08 Oct 2009 07:04:57 AM CEST
Local ID                      0e0be27a-e0a5-4b38-9d47-ae37a4e2ea52
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1254978297.95:49): avc:  denied  { module_request } for  pid=1394 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(1254978297.95:49): arch=c000003e syscall=41 success=no exit=-97 a0=a a1=1 a2=0 a3=7fffe0f65750 items=0 ppid=1393 pid=1394 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=489 sgid=489 fsgid=489 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-21.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-08 13:15:02 UTC
Michal, Were you experimenting with something to get all of these kernel modules to be required?

Comment 2 Michal Hlavinka 2009-10-08 13:53:28 UTC
I'm not aware about anything special. Maybe this can be result of disabled ipv6? (see comments in bug #527936) But I've been disabling ipv6 in all previous fedora versions.

Comment 3 Daniel Walsh 2009-10-08 13:57:22 UTC
Well this check is new to F12.

Comment 4 Daniel Walsh 2009-10-20 20:48:24 UTC
It is caused by disableing IPV6 which causes other executables to enable it.

Comment 5 Michal Hlavinka 2009-10-21 07:09:15 UTC
(In reply to comment #4)
> It is caused by disableing IPV6 

correct

> which causes other executables to enable it.  

not so correct

This two lines in conf:
blacklist ipv6                                
install ipv6 /bin/true                        

means 1)disable ipv6, 2)I really mean it = it can't be enabled by any other executable

even if I personally try "modprobe ipv6 ; lsmod | grep ipv6" the output will be empty

Comment 6 Eric Paris 2009-10-21 15:05:09 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.