Summary: SELinux is preventing /usr/sbin/semodule access to a leaked unix_stream_socket file descriptor. Detailed Description: [semodule has a permissive type (semanage_t). This access was not denied.] SELinux denied access requested by the semodule command. It looks like this is either a leaked descriptor or semodule 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 unix_stream_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://fedora.redhat.com/docs/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 unix_stream_socket [ unix_stream_socket ] Source semodule Source Path /usr/sbin/semodule Port <Unknown> Host (removed) Source RPM Packages policycoreutils-2.0.74-17.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-56.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name leaks Host Name (removed) Platform Linux (removed) 2.6.31.6-166.fc12.i686.PAE #1 SMP Wed Dec 9 11:00:30 EST 2009 i686 i686 Alert Count 8 First Seen Thu 17 Dec 2009 14:07:22 GMT Last Seen Thu 17 Dec 2009 14:07:22 GMT Local ID 1676555a-6e28-4016-bf20-9290db8f5551 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1261058842.674:24535): avc: denied { read write } for pid=11488 comm="semodule" path="socket:[1323814]" dev=sockfs ino=1323814 scontext=unconfined_u:unconfined_r:semanage_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket node=(removed) type=AVC msg=audit(1261058842.674:24535): avc: denied { read write } for pid=11488 comm="semodule" path="/dev/ptmx" dev=tmpfs ino=2113 scontext=unconfined_u:unconfined_r:semanage_t:s0-s0:c0.c1023 tcontext=system_u:object_r:ptmx_t:s0 tclass=chr_file node=(removed) type=AVC msg=audit(1261058842.674:24535): avc: denied { read write } for pid=11488 comm="semodule" path="socket:[1470574]" dev=sockfs ino=1470574 scontext=unconfined_u:unconfined_r:semanage_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket node=(removed) type=AVC msg=audit(1261058842.674:24535): avc: denied { read write } for pid=11488 comm="semodule" path="socket:[1487589]" dev=sockfs ino=1487589 scontext=unconfined_u:unconfined_r:semanage_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket node=(removed) type=AVC msg=audit(1261058842.674:24535): avc: denied { read write } for pid=11488 comm="semodule" path="socket:[1469466]" dev=sockfs ino=1469466 scontext=unconfined_u:unconfined_r:semanage_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket node=(removed) type=AVC msg=audit(1261058842.674:24535): avc: denied { read write } for pid=11488 comm="semodule" path="socket:[1469467]" dev=sockfs ino=1469467 scontext=unconfined_u:unconfined_r:semanage_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket node=(removed) type=AVC msg=audit(1261058842.674:24535): avc: denied { read write } for pid=11488 comm="semodule" path="socket:[1469470]" dev=sockfs ino=1469470 scontext=unconfined_u:unconfined_r:semanage_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket node=(removed) type=AVC msg=audit(1261058842.674:24535): avc: denied { read write } for pid=11488 comm="semodule" path="socket:[1493888]" dev=sockfs ino=1493888 scontext=unconfined_u:unconfined_r:semanage_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket node=(removed) type=SYSCALL msg=audit(1261058842.674:24535): arch=40000003 syscall=11 success=yes exit=0 a0=8918ba8 a1=8918f28 a2=89154b8 a3=8918f28 items=0 ppid=11455 pid=11488 auid=1004 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=6 comm="semodule" exe="/usr/sbin/semodule" subj=unconfined_u:unconfined_r:semanage_t:s0-s0:c0.c1023 key=(null) Hash String generated from selinux-policy-3.6.32-56.fc12,leaks,semodule,semanage_t,unconfined_t,unix_stream_socket,read,write audit2allow suggests: #============= semanage_t ============== allow semanage_t ptmx_t:chr_file { read write }; allow semanage_t unconfined_t:unix_stream_socket { read write };
What tool were you executing when this happened?
Should be dontaudited in selinux-policy-3.6.32-126.fc12.noarch.
This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
selinux-policy-3.6.32-127.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/selinux-policy-3.6.32-127.fc12
selinux-policy-3.6.32-127.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: https://admin.fedoraproject.org/updates/selinux-policy-3.6.32-127.fc12
selinux-policy-3.6.32-127.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.