Bug 540182

Summary: SELinux is preventing /usr/sbin/rndc "module_request" access.
Product: [Fedora] Fedora Reporter: Hin-Tak Leung <htl10>
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: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:cfb69b45aa414c8c31f5208acdca490507bbde571dac0aafc562bed64229ac13
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-23 07:57:48 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 Hin-Tak Leung 2009-11-22 17:28:32 UTC
Summary:

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

Detailed Description:

SELinux denied access requested by rndc. It is not expected that this access is
required by rndc 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:ndc_t:SystemLow
Target Context                system_u:system_r:kernel_t:SystemLow
Target Objects                None [ system ]
Source                        rndc
Source Path                   /usr/sbin/rndc
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           bind-9.6.1-11.P1.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-41.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.5-127.fc12.x86_64 #1 SMP Sat Nov 7 21:11:14
                              EST 2009 x86_64 x86_64
Alert Count                   1
First Seen                    Sun 22 Nov 2009 17:42:21 GMT
Last Seen                     Sun 22 Nov 2009 17:42:21 GMT
Local ID                      1012b398-4e6b-402b-8112-df1defd37bc7
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1258911741.283:28): avc:  denied  { module_request } for  pid=3689 comm="rndc" scontext=system_u:system_r:ndc_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system

node=(removed) type=SYSCALL msg=audit(1258911741.283:28): arch=c000003e syscall=41 success=no exit=-97 a0=a a1=1 a2=0 a3=7fffab5fbc60 items=0 ppid=3680 pid=3689 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="rndc" exe="/usr/sbin/rndc" subj=system_u:system_r:ndc_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-41.fc12,catchall,rndc,ndc_t,kernel_t,system,module_request
audit2allow suggests:

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

Comment 1 Miroslav Grepl 2009-11-23 07:57:48 UTC

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