Summary: SELinux is preventing /usr/bin/python "connect" access. Detailed Description: [smoltSendProfil has a permissive type (smoltclient_t). This access was not denied.] SELinux denied access requested by smoltSendProfil. It is not expected that this access is required by smoltSendProfil 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:smoltclient_t:s0-s0:c0.c1023 Target Context system_u:system_r:smoltclient_t:s0-s0:c0.c1023 Target Objects None [ unix_dgram_socket ] Source smoltSendProfil 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-69.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.31.9-174.fc12.x86_64 #1 SMP Mon Dec 21 05:33:33 UTC 2009 x86_64 x86_64 Alert Count 3 First Seen Fri 22 Jan 2010 12:20:12 PM CST Last Seen Fri 22 Jan 2010 12:20:12 PM CST Local ID 2d68e214-5167-4852-b6b1-c9b76417b76f Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1264184412.156:28018): avc: denied { connect } for pid=13834 comm="smoltSendProfil" scontext=system_u:system_r:smoltclient_t:s0-s0:c0.c1023 tcontext=system_u:system_r:smoltclient_t:s0-s0:c0.c1023 tclass=unix_dgram_socket node=(removed) type=AVC msg=audit(1264184412.156:28018): avc: denied { write } for pid=13834 comm="smoltSendProfil" name="log" dev=tmpfs ino=10795 scontext=system_u:system_r:smoltclient_t:s0-s0:c0.c1023 tcontext=system_u:object_r:devlog_t:s0 tclass=sock_file node=(removed) type=AVC msg=audit(1264184412.156:28018): avc: denied { sendto } for pid=13834 comm="smoltSendProfil" path="/dev/log" scontext=system_u:system_r:smoltclient_t:s0-s0:c0.c1023 tcontext=system_u:system_r:syslogd_t:s0 tclass=unix_dgram_socket node=(removed) type=SYSCALL msg=audit(1264184412.156:28018): arch=c000003e syscall=42 success=yes exit=4294967424 a0=6 a1=38d37761a0 a2=6e a3=676f6c2f7665642f items=0 ppid=13832 pid=13834 auid=494 uid=494 gid=485 euid=494 suid=494 fsuid=494 egid=485 sgid=485 fsgid=485 tty=(none) ses=74 comm="smoltSendProfil" exe="/usr/bin/python" subj=system_u:system_r:smoltclient_t:s0-s0:c0.c1023 key=(null) Hash String generated from selinux-policy-3.6.32-69.fc12,catchall,smoltSendProfil,smoltclient_t,smoltclient_t,unix_dgram_socket,connect audit2allow suggests: #============= smoltclient_t ============== allow smoltclient_t devlog_t:sock_file write; allow smoltclient_t self:unix_dgram_socket connect; allow smoltclient_t syslogd_t:unix_dgram_socket sendto;
You can add these rules for now using # grep avc /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Fixed in selinux-policy-3.6.32-77.fc12
*** Bug 557951 has been marked as a duplicate of this bug. ***
*** Bug 557954 has been marked as a duplicate of this bug. ***
*** Bug 558839 has been marked as a duplicate of this bug. ***
*** Bug 558841 has been marked as a duplicate of this bug. ***
*** Bug 558840 has been marked as a duplicate of this bug. ***
selinux-policy-3.6.32-78.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-78.fc12
selinux-policy-3.6.32-78.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-1207
selinux-policy-3.6.32-78.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.