Summary: SELinux is preventing /sbin/ip6tables-multi access to a leaked /proc/mtrr file descriptor. Detailed Description: [iptables has a permissive type (iptables_t). This access was not denied.] SELinux denied access requested by the ip6tables-resto command. It looks like this is either a leaked descriptor or ip6tables-resto 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 /proc/mtrr. 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:iptables_t:s0-s0:c0.c1023 Target Context system_u:object_r:mtrr_device_t:s0 Target Objects /proc/mtrr [ file ] Source iptables Source Path /sbin/iptables-multi Port <Unknown> Host (removed) Source RPM Packages iptables-ipv6-1.4.5-1.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-69.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name leaks Host Name (removed) Platform Linux (removed) 2.6.31.5-127.fc12.x86_64 #1 SMP Sat Nov 7 21:11:14 EST 2009 x86_64 x86_64 Alert Count 40 First Seen Wed 27 Jan 2010 01:50:32 PM GMT Last Seen Wed 27 Jan 2010 01:50:32 PM GMT Local ID de786c10-e05b-47dc-9ee6-ba2287c18390 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1264600232.970:37341): avc: denied { write } for pid=21059 comm="ip6tables-resto" path="/proc/mtrr" dev=proc ino=4026531909 scontext=unconfined_u:system_r:iptables_t:s0-s0:c0.c1023 tcontext=system_u:object_r:mtrr_device_t:s0 tclass=file node=(removed) type=AVC msg=audit(1264600232.970:37341): avc: denied { write } for pid=21059 comm="ip6tables-resto" path="/proc/mtrr" dev=proc ino=4026531909 scontext=unconfined_u:system_r:iptables_t:s0-s0:c0.c1023 tcontext=system_u:object_r:mtrr_device_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1264600232.970:37341): arch=c000003e syscall=59 success=yes exit=0 a0=1d39480 a1=1d39c70 a2=1cf61c0 a3=7fff7c877c40 items=0 ppid=21048 pid=21059 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="ip6tables-resto" exe="/sbin/ip6tables-multi" subj=unconfined_u:system_r:iptables_t:s0-s0:c0.c1023 key=(null) Hash String generated from selinux-policy-3.6.32-69.fc12,leaks,iptables,iptables_t,mtrr_device_t,file,write audit2allow suggests: #============= iptables_t ============== allow iptables_t mtrr_device_t:file write;
Were you using a gui when this happened?
Yes I was.
WHich one? I think it is leaking a file descriptor to /proc/mttr
I'm using gnome - I'm rather new to Linux so please have patience if my answers are not quit satisfying. Doing my best ;-)
Ingmar, no problem. But what tool were you using to modify firewall rules when this happened?
I had just installed the OS and had turned off ip6tables; chkconfig ip6tables off I didn't use GUI to config the ip6tables.
Well I have no idea what is happening, I will reassign to iptables to see if they have an idea. Does this happen everytime you boot? Or just once?
This just happened once, while I was in the process of setting up the system, maybe I was to hasty in filing this bug ;-)
Ok we will ignore. If it happens again, reopen please.
*** This bug has been marked as a duplicate of bug 561529 ***