Summary: SELinux is preventing /usr/bin/python access to a leaked tcp_socket file descriptor. Detailed Description: [semanage has a permissive type (semanage_t). This access was not denied.] SELinux denied access requested by the semanage command. It looks like this is either a leaked descriptor or semanage output was redirected to a file it is not allowed to access. Leaks usually can be ignored since SELinux is just closing the leak and reporting the error. The application does not use the descriptor, so it will run properly. If this is a redirection, you will not get output in the tcp_socket. You should generate a bugzilla on selinux-policy, and it will get routed to the appropriate package. You can safely ignore this avc. Allowing Access: You can generate a local policy module to allow this access - see FAQ (http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Additional Information: Source Context unconfined_u:unconfined_r:semanage_t:s0-s0:c0.c102 3 Target Context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1 023 Target Objects tcp_socket [ tcp_socket ] Source semanage Source Path /usr/bin/python Port <Unknown> Host (removed) Source RPM Packages python-2.6.4-25.fc13 Target RPM Packages Policy RPM selinux-policy-3.7.17-6.fc13 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name leaks Host Name (removed) Platform Linux f13x8664 2.6.33.1-19.fc13.x86_64 #1 SMP Sat Mar 20 02:14:15 UTC 2010 x86_64 x86_64 Alert Count 2 First Seen Wed 07 Apr 2010 04:53:39 PM MDT Last Seen Wed 07 Apr 2010 04:53:39 PM MDT Local ID a6ead124-35de-4dde-85b6-73c3b128f5d4 Line Numbers Raw Audit Messages node=f13x8664 type=AVC msg=audit(1270680819.597:17062): avc: denied { read write } for pid=3243 comm="semanage" path="socket:[35052]" dev=sockfs ino=35052 scontext=unconfined_u:unconfined_r:semanage_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=tcp_socket node=f13x8664 type=AVC msg=audit(1270680819.597:17062): avc: denied { read write } for pid=3243 comm="semanage" path="socket:[35062]" dev=sockfs ino=35062 scontext=unconfined_u:unconfined_r:semanage_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=tcp_socket node=f13x8664 type=SYSCALL msg=audit(1270680819.597:17062): arch=c000003e syscall=59 success=yes exit=0 a0=a8ecd0 a1=a8de50 a2=a8d350 a3=7fffc111d120 items=0 ppid=3242 pid=3243 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm="semanage" exe="/usr/bin/python" subj=unconfined_u:unconfined_r:semanage_t:s0-s0:c0.c1023 key=(null) Hash String generated from leaks,semanage,semanage_t,unconfined_t,tcp_socket,read,write audit2allow suggests: #============= semanage_t ============== allow semanage_t unconfined_t:tcp_socket { read write };
What command were you running when this happened?
Fixed in selinux-policy-3.7.18-1.fc13.noarch
*** Bug 580301 has been marked as a duplicate of this bug. ***
selinux-policy-3.7.19-2.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-2.fc13
selinux-policy-3.7.19-2.fc13 has been pushed to the Fedora 13 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/selinux-policy-3.7.19-2.fc13
selinux-policy-3.7.19-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.