Summary: SELinux is preventing /usr/bin/python "create" access. Detailed Description: SELinux denied access requested by index.py. It is not expected that this access is required by index.py and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access. Allowing Access: You can generate a local policy module to allow this access - see FAQ (http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug report. Additional Information: Source Context system_u:system_r:httpd_sys_script_t:s0 Target Context system_u:system_r:httpd_sys_script_t:s0 Target Objects None [ unix_dgram_socket ] Source annotate.py Source Path /usr/bin/python Port <Unknown> Host (removed) Source RPM Packages python-2.6.2-2.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-55.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.31.6-162.fc12.x86_64 #1 SMP Fri Dec 4 00:06:26 EST 2009 x86_64 x86_64 Alert Count 5 First Seen Tue 17 Nov 2009 09:43:05 AM CET Last Seen Thu 10 Dec 2009 02:11:55 PM CET Local ID 2f24098d-7a4c-4bd2-ad4f-5e56b37f23de Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1260450715.73:27805): avc: denied { create } for pid=27177 comm="index.py" scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:system_r:httpd_sys_script_t:s0 tclass=unix_dgram_socket node=(removed) type=SYSCALL msg=audit(1260450715.73:27805): arch=c000003e syscall=41 success=no exit=-13 a0=1 a1=80002 a2=0 a3=676f6c2f7665642f items=0 ppid=1496 pid=27177 auid=4294967295 uid=48 gid=493 euid=48 suid=48 fsuid=48 egid=493 sgid=493 fsgid=493 tty=(none) ses=4294967295 comm="index.py" exe="/usr/bin/python" subj=system_u:system_r:httpd_sys_script_t:s0 key=(null) Hash String generated from selinux-policy-3.6.32-55.fc12,catchall,annotate.py,httpd_sys_script_t,httpd_sys_script_t,unix_dgram_socket,create audit2allow suggests: #============= httpd_sys_script_t ============== allow httpd_sys_script_t self:unix_dgram_socket create;
Miroslav please add allow httpd_$1_script_t self:unix_dgram_socket create_socket_perms; to apache_content_type in apache.if
Fixed in selinux-policy-3.6.32-80.fc12
selinux-policy-3.6.32-82.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-82.fc12
selinux-policy-3.6.32-84.fc12 has been pushed to the Fedora 12 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 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1492
selinux-policy-3.6.32-84.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.