The following was filed automatically by setroubleshoot: Summary: SELinux is preventing /sbin/consoletype access to a leaked unix_dgram_socket file descriptor. Detailed Description: [SELinux is in permissive mode. This access was not denied.] SELinux denied access requested by the consoletype command. It looks like this is either a leaked descriptor or consoletype 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_dgram_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:system_r:consoletype_t:s0-s0:c0.c1023 Target Context unconfined_u:system_r:initrc_t:s0 Target Objects unix_dgram_socket [ unix_dgram_socket ] Source consoletype Source Path /sbin/consoletype Port <Unknown> Host (removed) Source RPM Packages initscripts-9.00-1 Target RPM Packages Policy RPM selinux-policy-3.6.32-12.fc12 Selinux Enabled True Policy Type targeted MLS Enabled True Enforcing Mode Permissive Plugin Name leaks Host Name (removed) Platform Linux (removed) 2.6.31.1-56.fc12.x86_64 #1 SMP Tue Sep 29 16:16:22 EDT 2009 x86_64 x86_64 Alert Count 3 First Seen Tue Oct 6 10:40:16 2009 Last Seen Tue Oct 6 10:40:16 2009 Local ID 275a7553-2017-431d-b1b5-fe491a5c680e Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1254840016.769:4937): avc: denied { read write } for pid=29928 comm="consoletype" path="socket:[1501784]" dev=sockfs ino=1501784 scontext=unconfined_u:system_r:consoletype_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:initrc_t:s0 tclass=unix_dgram_socket node=(removed) type=SYSCALL msg=audit(1254840016.769:4937): arch=c000003e syscall=59 success=yes exit=0 a0=18c5d40 a1=18c6230 a2=18c63f0 a3=8 items=0 ppid=29926 pid=29928 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=62 comm="consoletype" exe="/sbin/consoletype" subj=unconfined_u:system_r:consoletype_t:s0-s0:c0.c1023 key=(null) This warning showed up after logging in remotely via xrdp. Locally, there's no such warnings. Hash String generated from selinux-policy-3.6.32-12.fc12,leaks,consoletype,consoletype_t,initrc_t,unix_dgram_socket,read,write audit2allow suggests: #============= consoletype_t ============== allow consoletype_t initrc_t:unix_dgram_socket { read write };
This is just acontinuation of the previous leak. If you were running in enforcing mode the leak would have been closed before getting to this point. *** This bug has been marked as a duplicate of bug 527478 ***