Bug 532625

Summary: SELinux is preventing /usr/sbin/named "module_request" access.
Product: [Fedora] Fedora Reporter: aspicer
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:560a08fcd1eb23a6043613ea67f9e185c04940f7a164fff81a9221a2c17855a0
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-03 14:07:23 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 aspicer 2009-11-03 07:11:00 UTC
Summary:

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

Detailed Description:

SELinux denied access requested by named. It is not expected that this access is
required by named 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:named_t:s0
Target Context                system_u:system_r:kernel_t:s0
Target Objects                None [ system ]
Source                        named
Source Path                   /usr/sbin/named
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           bind-9.6.1-11.P1.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-35.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-96.fc12.i686.PAE #1
                              SMP Fri Oct 23 19:39:36 EDT 2009 i686 i686
Alert Count                   6
First Seen                    Mon 02 Nov 2009 10:49:20 PM EST
Last Seen                     Tue 03 Nov 2009 01:51:04 AM EST
Local ID                      d70d83d8-5ab6-49de-b40d-2af3e4c8b3bc
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1257231064.311:11): avc:  denied  { module_request } for  pid=1213 comm="named" scontext=system_u:system_r:named_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system

node=(removed) type=SYSCALL msg=audit(1257231064.311:11): arch=40000003 syscall=102 success=no exit=-97 a0=1 a1=b7633a20 a2=17356c a3=0 items=0 ppid=1211 pid=1213 auid=4294967295 uid=25 gid=25 euid=25 suid=25 fsuid=25 egid=25 sgid=25 fsgid=25 tty=(none) ses=4294967295 comm="named" exe="/usr/sbin/named" subj=system_u:system_r:named_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-35.fc12,catchall,named,named_t,kernel_t,system,module_request
audit2allow suggests:

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

Comment 1 Daniel Walsh 2009-11-03 14:07:23 UTC

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