Description of problem: The following AVC denial appeared on Fedora rawhide while starting slpad (openldap-servers). ---- type=AVC msg=audit(10/30/2017 10:14:56.519:957) : avc: denied { map } for pid=31226 comm=slapd path=/var/lib/ldap/__db.001 dev="dm-0" ino=18346072 scontext=system_u:system_r:slapd_t:s0 tcontext=unconfined_u:object_r:slapd_db_t:s0 tclass=file permissive=1 Version-Release number of selected component (if applicable): openldap-servers-2.4.45-3.fc27 selinux-policy-3.13.1-298.fc28 How reproducible: always Steps to Reproduce: 1. Configure and start slapd # ls -lZ /var/lib/ldap/__db.001 -rw-------. 1 ldap ldap unconfined_u:object_r:slapd_db_t:s0 352256 Oct 30 10:36 /var/lib/ldap/__db.001
I just found that this is also an issue in F27 (selinux-policy-3.13.1-283.17.fc27.noarch): type=AVC msg=audit(1513218886.813:423): avc: denied { map } for pid=981 comm="slapd" path="/var/lib/ldap/__db.001" dev="dm-1" ino=393331 scontext=system_u:system_r:slapd_t:s0 tcontext=system_u:object_r:slapd_db_t:s0 tclass=file permissive=0 I assume this was fixed in rawhide's 3.13.1-299 via: - Allow slapd_t domain to mmap files labeled as slpad_db_t BZ(1505414) Can this be pulled back to F27? (Sorry if it's preferred that I open a new ticket rather than reopening this one. I know there are so many selinux tickets so I thought it would be better to preserve the context.)
Done, Will be part of next SELinux policy F27 update.
selinux-policy-3.13.1-283.19.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8225c4e502
selinux-policy-3.13.1-283.19.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-8225c4e502
selinux-policy-3.13.1-283.19.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.