Description of problem: SELinux is preventing /usr/sbin/dnsmasq from 'search' accesses on the directory NetworkManager. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that dnsmasq should be allowed search access on the NetworkManager directory 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:dnsmasq_t:s0 Target Context system_u:object_r:NetworkManager_var_run_t:s0 Target Objects NetworkManager [ dir ] Source dnsmasq Source Path /usr/sbin/dnsmasq Port <Unknown> Host (removed) Source RPM Packages dnsmasq-2.65-4.fc18.x86_64 Target RPM Packages Policy RPM selinux-policy-3.11.1-76.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.7.2-204.fc18.x86_64 #1 SMP Wed Jan 16 16:22:52 UTC 2013 x86_64 x86_64 Alert Count 3 First Seen 2013-02-12 14:02:33 EST Last Seen 2013-02-12 15:07:31 EST Local ID 421a80fd-288b-41bd-8a15-1b2461f27d95 Raw Audit Messages type=AVC msg=audit(1360699651.101:71): avc: denied { search } for pid=1780 comm="dnsmasq" name="NetworkManager" dev="tmpfs" ino=18735 scontext=system_u:system_r:dnsmasq_t:s0 tcontext=system_u:object_r:NetworkManager_var_run_t:s0 tclass=dir type=SYSCALL msg=audit(1360699651.101:71): arch=x86_64 syscall=open success=no exit=EACCES a0=872bc0 a1=0 a2=1b6 a3=238 items=0 ppid=840 pid=1780 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=dnsmasq exe=/usr/sbin/dnsmasq subj=system_u:system_r:dnsmasq_t:s0 key=(null) Hash: dnsmasq,dnsmasq_t,NetworkManager_var_run_t,dir,search audit2allow #============= dnsmasq_t ============== allow dnsmasq_t NetworkManager_var_run_t:dir search; audit2allow -R #============= dnsmasq_t ============== allow dnsmasq_t NetworkManager_var_run_t:dir search; Additional info: hashmarkername: setroubleshoot kernel: 3.7.2-204.fc18.x86_64 type: libreport
Added. commit f16ec9b690ef0580d0e93d5ce5258f551db7f366 Author: Miroslav Grepl <mgrepl> Date: Wed Feb 13 11:05:44 2013 +0100 Fix networkmanager_read_pid_files() interface You can allow it for now using # grep dnsmasq /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp
selinux-policy-3.11.1-78.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-78.fc18
Package selinux-policy-3.11.1-78.fc18: * should fix your issue, * was pushed to the Fedora 18 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.11.1-78.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-2588/selinux-policy-3.11.1-78.fc18 then log in and leave karma (feedback).
selinux-policy-3.11.1-78.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.