Bug 696256 - SELinux is preventing /sbin/rpc.statd from 'module_request' accesses on the system Unknown.
Summary: SELinux is preventing /sbin/rpc.statd from 'module_request' accesses on the s...
Keywords:
Status: CLOSED DUPLICATE of bug 641836
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:f4c2d2d5e37...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-13 17:36 UTC by Nikita Bige
Modified: 2011-07-17 10:33 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-04-13 18:17:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nikita Bige 2011-04-13 17:36:33 UTC
SELinux is preventing /sbin/rpc.statd from 'module_request' accesses on the system Unknown.

*****  Plugin catchall_boolean (89.3 confidence) suggests  *******************

If you want to allow all domains to have the kernel load modules
Then you must tell SELinux about this by enabling the 'domain_kernel_load_modules' boolean.
Do
setsebool -P domain_kernel_load_modules 1

*****  Plugin catchall (11.6 confidence) suggests  ***************************

If you believe that rpc.statd should be allowed module_request access on the Unknown system by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep rpc.statd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:rpcd_t:s0
Target Context                system_u:system_r:kernel_t:s0
Target Objects                Unknown [ system ]
Source                        rpc.statd
Source Path                   /sbin/rpc.statd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           nfs-utils-1.2.3-5.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-37.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.12-88.fc14.x86_64 #1 SMP Thu Mar
                              31 21:21:57 UTC 2011 x86_64 x86_64
Alert Count                   3
First Seen                    Thu 07 Apr 2011 12:01:40 AM MSD
Last Seen                     Tue 12 Apr 2011 11:14:18 PM MSD
Local ID                      d714e223-78d7-47cb-9a2b-d6e8fb200167

Raw Audit Messages
type=AVC msg=audit(1302635658.883:11): avc:  denied  { module_request } for  pid=1434 comm="rpc.statd" kmod="net-pf-10" scontext=system_u:system_r:rpcd_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system


type=SYSCALL msg=audit(1302635658.883:11): arch=x86_64 syscall=socket success=yes exit=ENOEXEC a0=a a1=1 a2=6 a3=7fe49ab129a0 items=0 ppid=1433 pid=1434 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=rpc.statd exe=/sbin/rpc.statd subj=system_u:system_r:rpcd_t:s0 key=(null)

Hash: rpc.statd,rpcd_t,kernel_t,system,module_request

audit2allow

#============= rpcd_t ==============
#!!!! This avc can be allowed using the boolean 'domain_kernel_load_modules'

allow rpcd_t kernel_t:system module_request;

audit2allow -R

#============= rpcd_t ==============
#!!!! This avc can be allowed using the boolean 'domain_kernel_load_modules'

allow rpcd_t kernel_t:system module_request;

Comment 1 Daniel Walsh 2011-04-13 18:17:20 UTC
Did you disable ipv6?  If so how?

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


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