Description of problem: System was running normally. File trying to be accessed was /usr/share/pki/ca-trust-source by sssd_be SELinux is preventing /usr/libexec/sssd/sssd_be from 'write' accesses on the directory . ***** Plugin catchall (100. confidence) suggests ************************** If you believe that sssd_be should be allowed write access on the 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 sssd_be /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:sssd_t:s0 Target Context system_u:object_r:cert_t:s0 Target Objects [ dir ] Source sssd_be Source Path /usr/libexec/sssd/sssd_be Port <Unknown> Host (removed) Source RPM Packages sssd-common-1.11.6-1.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-177.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.15.6-200.fc20.x86_64 #1 SMP Fri Jul 18 02:36:27 UTC 2014 x86_64 x86_64 Alert Count 9 First Seen 2014-07-21 13:50:54 CST Last Seen 2014-07-25 10:59:19 CST Local ID 3062ecf9-e123-447e-a59a-e5f6f91dd1e3 Raw Audit Messages type=AVC msg=audit(1406251759.494:377): avc: denied { write } for pid=1700 comm="sssd_be" name="ca-trust-source" dev="dm-2" ino=33839151 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:cert_t:s0 tclass=dir type=SYSCALL msg=audit(1406251759.494:377): arch=x86_64 syscall=access success=no exit=EACCES a0=7f3d47943e60 a1=2 a2=0 a3=c23c9699d0 items=0 ppid=1697 pid=1700 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=sssd_be exe=/usr/libexec/sssd/sssd_be subj=system_u:system_r:sssd_t:s0 key=(null) Hash: sssd_be,sssd_t,cert_t,dir,write Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.15.6-200.fc20.x86_64 type: libreport Potential duplicate: bug 1070432
Why is sssd trying to write to this file?
This is access check. syscall=access
commit ea1e44151a6ef13c0dc3f20dedbd266bcff6fc90 Author: Miroslav Grepl <mgrepl> Date: Fri Jul 25 11:56:22 2014 +0200 Dontaudit attempts to access check cert dirs/files for sssd. https://github.com/selinux-policy/selinux-policy/commit/ea1e44151a6ef13c0dc3f20dedbd266bcff6fc90
selinux-policy-3.12.1-180.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-180.fc20
Package selinux-policy-3.12.1-180.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-180.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-9454/selinux-policy-3.12.1-180.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-180.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.