Description of problem: Using blueman attempting to enable the NAP service Additional info: libreport version: 2.0.18 kernel: 3.6.7-4.fc17.x86_64 description: :SELinux is preventing /usr/sbin/dnsmasq from 'name_bind' accesses on the tcp_socket . : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that dnsmasq should be allowed name_bind access on the 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 dnsmasq /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:blueman_t:s0-s0:c0.c1023 :Target Context system_u:object_r:dns_port_t:s0 :Target Objects [ tcp_socket ] :Source dnsmasq :Source Path /usr/sbin/dnsmasq :Port 53 :Host (removed) :Source RPM Packages dnsmasq-2.63-1.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-161.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.6.7-4.fc17.x86_64 #1 SMP Tue Nov : 20 19:40:01 UTC 2012 x86_64 x86_64 :Alert Count 2 :First Seen 2012-11-27 12:49:13 GMT :Last Seen 2012-11-27 12:49:15 GMT :Local ID 8bbff3e9-baed-43e5-b250-c15af99f16f4 : :Raw Audit Messages :type=AVC msg=audit(1354020555.172:119): avc: denied { name_bind } for pid=6337 comm="dnsmasq" src=53 scontext=system_u:system_r:blueman_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dns_port_t:s0 tclass=tcp_socket : : :type=SYSCALL msg=audit(1354020555.172:119): arch=x86_64 syscall=bind success=yes exit=0 a0=c a1=25d8620 a2=1c a3=7fffa97495bc items=0 ppid=1 pid=6337 auid=4294967295 uid=99 gid=40 euid=99 suid=99 fsuid=99 egid=40 sgid=40 fsgid=40 tty=(none) ses=4294967295 comm=dnsmasq exe=/usr/sbin/dnsmasq subj=system_u:system_r:blueman_t:s0-s0:c0.c1023 key=(null) : :Hash: dnsmasq,blueman_t,dns_port_t,tcp_socket,name_bind : :audit2allow : :#============= blueman_t ============== :allow blueman_t dns_port_t:tcp_socket name_bind; : :audit2allow -R : :#============= blueman_t ============== :allow blueman_t dns_port_t:tcp_socket name_bind; :
Created attachment 652662 [details] File: type
Created attachment 652663 [details] File: hashmarkername
F18 has optional_policy(` dnsmasq_domtrans(blueman_t) dnsmasq_read_pid_files(blueman_t) ')
Backported. commit 7cc1fb6aba667b04549fadebd64be1900588ff30 Author: Miroslav Grepl <mgrepl> Date: Thu Nov 29 07:59:37 2012 +0100 Allow blueman to transition to ifconfig, dnsmasq
selinux-policy-3.10.0-165.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-165.fc17
Package selinux-policy-3.10.0-165.fc17: * should fix your issue, * was pushed to the Fedora 17 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.10.0-165.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-165.fc17 then log in and leave karma (feedback).
Package selinux-policy-3.10.0-166.fc17: * should fix your issue, * was pushed to the Fedora 17 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.10.0-166.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-166.fc17 then log in and leave karma (feedback).
selinux-policy-3.10.0-166.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.