Description of problem: SELinux is preventing /usr/sbin/named from 'name_bind' accesses on the udp_socket port 61000. ***** Plugin catchall_boolean (89.3 confidence) suggests ****************** If you want to allow system to run with NIS Then you must tell SELinux about this by enabling the 'nis_enabled' boolean. You can read 'named_selinux' man page for more details. Do setsebool -P nis_enabled 1 ***** Plugin catchall (11.6 confidence) suggests ************************** If you believe that named should be allowed name_bind access on the port 61000 udp_socket 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 named /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:named_t:s0 Target Context system_u:object_r:ephemeral_port_t:s0 Target Objects port 61000 [ udp_socket ] Source named Source Path /usr/sbin/named Port 61000 Host (removed) Source RPM Packages bind-9.10.2-5.P4.fc22.x86_64 Target RPM Packages Policy RPM selinux-policy-3.13.1-128.16.fc22.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 4.2.3-200.fc22.x86_64 #1 SMP Thu Oct 8 03:23:55 UTC 2015 x86_64 x86_64 Alert Count 1 First Seen 2015-10-19 01:28:44 IST Last Seen 2015-10-19 01:28:44 IST Local ID 085fb678-fb39-4b1c-b8aa-23e2d336cadc Raw Audit Messages type=AVC msg=audit(1445198324.198:1040): avc: denied { name_bind } for pid=1725 comm="named" src=61000 scontext=system_u:system_r:named_t:s0 tcontext=system_u:object_r:ephemeral_port_t:s0 tclass=udp_socket permissive=1 type=SYSCALL msg=audit(1445198324.198:1040): arch=x86_64 syscall=bind success=yes exit=0 a0=212 a1=7f3e29ad3450 a2=10 a3=7f3e29ad3238 items=0 ppid=1 pid=1725 auid=4294967295 uid=25 gid=25 euid=25 suid=25 fsuid=25 egid=25 sgid=25 fsgid=25 tty=(none) ses=4294967295 comm=named exe=/usr/sbin/named subj=system_u:system_r:named_t:s0 key=(null) Hash: named,named_t,ephemeral_port_t,udp_socket,name_bind Version-Release number of selected component: selinux-policy-3.13.1-128.16.fc22.noarch Additional info: reporter: libreport-2.6.2 hashmarkername: setroubleshoot kernel: 4.2.3-200.fc22.x86_64 type: libreport
We have fixes in Fedora Rawhide. Vit, could you please backport them? Thank you.
https://github.com/fedora-selinux/selinux-policy/commit/3141193acb41fabae8a5dbfaa1b6bd4468b75feb
*** Bug 1276231 has been marked as a duplicate of this bug. ***
*** Bug 1221677 has been marked as a duplicate of this bug. ***
selinux-policy-3.13.1-128.21.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-1bbd3df966
selinux-policy-3.13.1-128.21.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update selinux-policy' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-1bbd3df966
selinux-policy-3.13.1-128.21.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.