Description of problem: Open the firewalld gui from the menu in kde desktop. Click boxes to open ports for http, smtp, and vnc-server. The setroubleshoot alert comes up. Always reproducible. SELinux is preventing /usr/bin/python2.7 from 'search' accesses on the directory /var/lib/sss. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that python2.7 should be allowed search access on the sss 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 firewalld /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:firewalld_t:s0 Target Context system_u:object_r:sssd_var_lib_t:s0 Target Objects /var/lib/sss [ dir ] Source firewalld Source Path /usr/bin/python2.7 Port <Unknown> Host (removed) Source RPM Packages python-2.7.3-13.fc18.x86_64 Target RPM Packages sssd-1.9.3-1.fc18.x86_64 Policy RPM selinux-policy-3.11.1-66.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.6.11-3.fc18.x86_64 #1 SMP Mon Dec 17 21:35:39 UTC 2012 x86_64 x86_64 Alert Count 2 First Seen 2012-12-20 14:40:51 CST Last Seen 2012-12-20 14:40:51 CST Local ID 854c4bd5-62cf-4e68-8cbe-8f994a56c061 Raw Audit Messages type=AVC msg=audit(1356036051.558:331): avc: denied { search } for pid=703 comm="firewalld" name="sss" dev="dm-1" ino=21497766 scontext=system_u:system_r:firewalld_t:s0 tcontext=system_u:object_r:sssd_var_lib_t:s0 tclass=dir type=SYSCALL msg=audit(1356036051.558:331): arch=x86_64 syscall=connect success=no exit=EACCES a0=8 a1=7ffff1228890 a2=6e a3=7fceba26d1e0 items=0 ppid=1 pid=703 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=firewalld exe=/usr/bin/python2.7 subj=system_u:system_r:firewalld_t:s0 key=(null) Hash: firewalld,firewalld_t,sssd_var_lib_t,dir,search audit2allow #============= firewalld_t ============== #!!!! This avc is allowed in the current policy allow firewalld_t sssd_var_lib_t:dir search; audit2allow -R #============= firewalld_t ============== #!!!! This avc is allowed in the current policy allow firewalld_t sssd_var_lib_t:dir search; Additional info: hashmarkername: setroubleshoot kernel: 3.6.11-3.fc18.x86_64 type: libreport
Looks like a yum update has fixed this issue. #============= firewalld_t ============== #!!!! This avc is allowed in the current policy allow firewalld_t sssd_var_lib_t:dir search; audit2allow -R #============= firewalld_t ============== #!!!! This avc is allowed in the current policy allow firewalld_t sssd_var_lib_t:dir search;
I added a policy fix to selinux-policy-3.11.1-69.fc18
selinux-policy-3.11.1-69.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-69.fc18
Package selinux-policy-3.11.1-69.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-69.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-0147/selinux-policy-3.11.1-69.fc18 then log in and leave karma (feedback).
I haven't been seeing this AVC lately, but I think that's because I changed my policy to allow the access. I installed the update, and everything seems fine. Donald
1. start firewall-config from terminal 2. enter root password 3. 'work' zone is automatically selected. 4. click the box next to 'vnc-server' 5. AVC. Only happens when editing the 'runtime configuration' Package: (null) OS Release: Fedora release 18 (Spherical Cow)
Jeff are you seeing this with policy -69?
No, that AVC was with -66. I updated to -69 from updates-testing and the problem is solved. I have left positive karma for that update in bodhi. Comment 7 came from the 'Report Bug' feature in the SELinux Troubleshooter app, but it seems oddly light on details (because it was a dupe?)
selinux-policy-3.11.1-71.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-71.fc18
selinux-policy-3.11.1-71.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.