Description of problem: When /run/rpcbind does not exist when rpcbind starts, it will use the following command to create the directory: /usr/bin/systemd-tmpfiles --create rpcbind.conf SELinux is denying it: audit[3813]: AVC avc: denied { execute } for pid=3813 comm="sh" name="systemd-tmpfiles" dev="dm-1" ino=33591631 scontext=system_u:system_r:rpcbind_t:s0 tcontext=system_u:object_r:systemd_tmpfiles_exec_t:s0 tclass=file permissive=0 audit[3813]: AVC avc: denied { getattr } for pid=3813 comm="sh" path="/usr/bin/systemd-tmpfiles" dev="dm-1" ino=33591631 scontext=system_u:system_r:rpcbind_t:s0 tcontext=system_u:object_r:systemd_tmpfiles_exec_t:s0 tclass=file permissive=0 audit[3813]: AVC avc: denied { getattr } for pid=3813 comm="sh" path="/usr/bin/systemd-tmpfiles" dev="dm-1" ino=33591631 scontext=system_u:system_r:rpcbind_t:s0 tcontext=system_u:object_r:systemd_tmpfiles_exec_t:s0 tclass=file permissive=0 rpcbind[3812]: sh: /usr/bin/systemd-tmpfiles: Permission denied rpcbind[3812]: rpcbind: /run/rpcbind/rpcbind.lock: No such file or directory systemd[1]: rpcbind.service: Main process exited, code=exited, status=1/FAILURE systemd[1]: Failed to start RPC Bind. Version-Release number of selected component (if applicable): How reproducible: %100 Steps to Reproduce: 1. enable SELinux 2. Reboot.
Created attachment 1287077 [details] output of "sudo grep -i avc /var/log/audit/audit.log | ausearch -i" I've attached the output of "sudo grep -i avc /var/log/audit/audit.log | ausearch -i", I hope it is enough to diagnose the problem. I must add that other (identical, maybe a little fresher) installations here have accepted the update without problems, while other ones (like the one the output comes from) have not, so it must be something specific to the installation but I cannot fathom what...
Looks like we should just add systemd_tmpfiles_exec(rpcbind_t)
selinux-policy-3.13.1-225.19.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0187b2a605
selinux-policy-3.13.1-225.19.fc25 has been pushed to the Fedora 25 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-0187b2a605
selinux-policy-3.13.1-225.19.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.