Bug 1002392 - SELinux is preventing /usr/sbin/rpcbind from 'search' accesses on the directory /var/lib/sss.
SELinux is preventing /usr/sbin/rpcbind from 'search' accesses on the directo...
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-08-29 02:02 EDT by Neil
Modified: 2013-08-29 05:34 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-08-29 05:34:16 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Neil 2013-08-29 02:02:56 EDT
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.
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

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