Bug 1002392

Summary: SELinux is preventing /usr/sbin/rpcbind from 'search' accesses on the directory /var/lib/sss.
Product: [Fedora] Fedora Reporter: Neil <neilsbb>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dominick.grift, dwalsh, lvrabec, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:1cc5fd43b741a64f086556b6e1cdf965054df22cd52635e7087cbde37409cab0
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-29 09:34:16 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 Neil 2013-08-29 06:02:56 UTC
Description of problem:
SELinux is preventing /usr/sbin/rpcbind from 'search' accesses on the directory /var/lib/sss.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that rpcbind should be allowed search access on the sss directory 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 rpcbind /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:rpcbind_t:s0
Target Context                system_u:object_r:sssd_var_lib_t:s0
Target Objects                /var/lib/sss [ dir ]
Source                        rpcbind
Source Path                   /usr/sbin/rpcbind
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           rpcbind-0.2.1-0.1.fc21.x86_64
Target RPM Packages           sssd-common-1.11.0-0.3.beta2.fc20.x86_64
Policy RPM                    selinux-policy-3.12.1-70.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.11.0-0.rc7.git1.2.fc21.x86_64 #1
                              SMP Wed Aug 28 16:24:51 UTC 2013 x86_64 x86_64
Alert Count                   16
First Seen                    2013-08-28 18:37:24 PDT
Last Seen                     2013-08-28 22:55:39 PDT
Local ID                      f333ceb6-1c66-4095-8813-9aa8c508080f

Raw Audit Messages
type=AVC msg=audit(1377755739.610:78): avc:  denied  { search } for  pid=570 comm="rpcbind" name="sss" dev="dm-1" ino=662266 scontext=system_u:system_r:rpcbind_t:s0 tcontext=system_u:object_r:sssd_var_lib_t:s0 tclass=dir


type=SYSCALL msg=audit(1377755739.610:78): arch=x86_64 syscall=connect success=no exit=EACCES a0=5 a1=7fff1688d680 a2=6e a3=1 items=0 ppid=1 pid=570 auid=4294967295 uid=32 gid=32 euid=32 suid=32 fsuid=32 egid=32 sgid=32 fsgid=32 ses=4294967295 tty=(none) comm=rpcbind exe=/usr/sbin/rpcbind subj=system_u:system_r:rpcbind_t:s0 key=(null)

Hash: rpcbind,rpcbind_t,sssd_var_lib_t,dir,search

Additional info:
reporter:       libreport-2.1.6
hashmarkername: setroubleshoot
kernel:         3.11.0-0.rc7.git1.2.fc21.x86_64
type:           libreport

Potential duplicate: bug 1000710