Description of problem: SELinux is preventing /usr/sbin/nslcd from using the 'chown' capabilities. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that nslcd should have the chown capability 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 nslcd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:nslcd_t:s0 Target Context system_u:system_r:nslcd_t:s0 Target Objects [ capability ] Source nslcd Source Path /usr/sbin/nslcd Port <Unknown> Host (removed) Source RPM Packages nss-pam-ldapd-0.8.13-4.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-106.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.11.9-300.fc20.x86_64 #1 SMP Wed Nov 20 22:23:25 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-12-11 10:17:47 EST Last Seen 2013-12-11 10:17:47 EST Local ID 1e8edf76-c257-4ae0-994b-831e825b0d60 Raw Audit Messages type=AVC msg=audit(1386775067.557:18): avc: denied { chown } for pid=1272 comm="nslcd" capability=0 scontext=system_u:system_r:nslcd_t:s0 tcontext=system_u:system_r:nslcd_t:s0 tclass=capability type=SYSCALL msg=audit(1386775067.557:18): arch=x86_64 syscall=lchown success=no exit=EPERM a0=7fc52da27190 a1=41 a2=37 a3=1 items=0 ppid=1 pid=1272 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=nslcd exe=/usr/sbin/nslcd subj=system_u:system_r:nslcd_t:s0 key=(null) Hash: nslcd,nslcd_t,nslcd_t,capability,chown Additional info: reporter: libreport-2.2.0 hashmarkername: setroubleshoot kernel: 3.13.7-200.fc20.x86_64 type: libreport
commit c854fc5404995b1f0b4ecd72ca619a3b3982baba Author: Miroslav Grepl <mgrepl> Date: Mon Apr 7 09:33:07 2014 +0200 nslcd wants chown capability
selinux-policy-3.12.1-152.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-152.fc20
Package selinux-policy-3.12.1-152.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-152.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-4933/selinux-policy-3.12.1-152.fc20 then log in and leave karma (feedback).
Package selinux-policy-3.12.1-153.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-153.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-4933/selinux-policy-3.12.1-153.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-153.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.