Summary: SELinux is preventing /sbin/ip access to a leaked fifo_file file descriptor. Detailed Description: [ip has a permissive type (ifconfig_t). This access was not denied.] SELinux denied access requested by the ip command. It looks like this is either a leaked descriptor or ip 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 fifo_file. 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:ifconfig_t:s0 Target Context unconfined_u:system_r:ipsec_t:s0 Target Objects fifo_file [ fifo_file ] Source ip Source Path /sbin/ip Port <Unknown> Host (removed) Source RPM Packages iproute-2.6.29-4.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-59.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name leaks Host Name (removed) Platform Linux (removed) 2.6.31.9-174.fc12.i686.PAE #1 SMP Mon Dec 21 06:04:56 UTC 2009 i686 i686 Alert Count 4 First Seen Fri 01 Jan 2010 03:25:17 PM HKT Last Seen Fri 01 Jan 2010 03:25:18 PM HKT Local ID 8e7dd2ab-25e8-4d47-a748-62d37af69e77 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1262330718.126:91): avc: denied { write } for pid=4500 comm="ip" path="pipe:[54796]" dev=pipefs ino=54796 scontext=unconfined_u:system_r:ifconfig_t:s0 tcontext=unconfined_u:system_r:ipsec_t:s0 tclass=fifo_file node=(removed) type=AVC msg=audit(1262330718.126:91): avc: denied { write } for pid=4500 comm="ip" path="pipe:[54796]" dev=pipefs ino=54796 scontext=unconfined_u:system_r:ifconfig_t:s0 tcontext=unconfined_u:system_r:ipsec_t:s0 tclass=fifo_file node=(removed) type=SYSCALL msg=audit(1262330718.126:91): arch=40000003 syscall=11 success=yes exit=0 a0=8382d88 a1=8388500 a2=83889f8 a3=8388500 items=0 ppid=4499 pid=4500 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts2 ses=6 comm="ip" exe="/sbin/ip" subj=unconfined_u:system_r:ifconfig_t:s0 key=(null) Hash String generated from selinux-policy-3.6.32-59.fc12,leaks,ip,ifconfig_t,ipsec_t,fifo_file,write audit2allow suggests: audit2allow is not installed.
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-66.fc12.noarch
selinux-policy-3.6.32-66.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-66.fc12
selinux-policy-3.6.32-66.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-0184
selinux-policy-3.6.32-66.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.