Hide Forgot
libreport version: 2.0.6 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.0-0.rc10.git0.1.fc16.x86_64 reason: SELinux is preventing /usr/sbin/unbound from 'name_bind' accesses on the tcp_socket port 8953. time: Fri Oct 21 17:01:11 2011 description: :SELinux is preventing /usr/sbin/unbound from 'name_bind' accesses on the tcp_socket port 8953. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that unbound should be allowed name_bind access on the port 8953 tcp_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 unbound /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:unreserved_port_t:s0 :Target Objects port 8953 [ tcp_socket ] :Source unbound :Source Path /usr/sbin/unbound :Port 8953 :Host (removed) :Source RPM Packages unbound-1.4.13-1.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-40.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) : 3.1.0-0.rc10.git0.1.fc16.x86_64 #1 SMP Wed Oct 19 : 05:02:17 UTC 2011 x86_64 x86_64 :Alert Count 1 :First Seen Fri 21 Oct 2011 05:00:51 PM CEST :Last Seen Fri 21 Oct 2011 05:00:51 PM CEST :Local ID c39a0dbc-2999-40a7-ba90-e6213941a0ba : :Raw Audit Messages :type=AVC msg=audit(1319209251.386:547): avc: denied { name_bind } for pid=29937 comm="unbound" src=8953 scontext=system_u:system_r:named_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket : : :type=SYSCALL msg=audit(1319209251.386:547): arch=x86_64 syscall=bind success=no exit=EACCES a0=7 a1=17b2af0 a2=1c a3=7fffef733fec items=0 ppid=1 pid=29937 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=unbound exe=/usr/sbin/unbound subj=system_u:system_r:named_t:s0 key=(null) : :Hash: unbound,named_t,unreserved_port_t,tcp_socket,name_bind : :audit2allow : :#============= named_t ============== :allow named_t unreserved_port_t:tcp_socket name_bind; : :audit2allow -R : :#============= named_t ============== :allow named_t unreserved_port_t:tcp_socket name_bind; :
It seems to work fine as soon as I disable the remote control: # Remote control config section. remote-control: # Enable remote control with unbound-control(8) here. # set up the keys and certificates with unbound-control-setup. # Note: required for unbound-munin package control-enable: no
*** This bug has been marked as a duplicate of bug 732833 ***