Bug 714843 - SELinux is preventing /sbin/iptables-multi from read, write access on the file /tmp/ffifGpIMR (deleted).
Summary: SELinux is preventing /sbin/iptables-multi from read, write access on the fil...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:fe3bf48f9b4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-21 04:12 UTC by Nikita Bige
Modified: 2012-08-07 20:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 20:26:06 UTC
Type: ---


Attachments (Terms of Use)

Description Nikita Bige 2011-06-21 04:12:32 UTC
SELinux is preventing /sbin/iptables-multi from read, write access on the file /tmp/ffifGpIMR (deleted).

*****  Plugin catchall (50.5 confidence) suggests  ***************************

If you believe that iptables-multi should be allowed read write access on the ffifGpIMR (deleted) file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep iptables /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

*****  Plugin leaks (50.5 confidence) suggests  ******************************

If you want to ignore iptables-multi trying to read write access the ffifGpIMR (deleted) file, because you believe it should not need this access.
Then you should report this as a bug.  
You can generate a local policy module to dontaudit this access.
Do
# grep /sbin/iptables-multi /var/log/audit/audit.log | audit2allow -D -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:iptables_t:s0
Target Context                system_u:object_r:fail2ban_tmp_t:s0
Target Objects                /tmp/ffifGpIMR (deleted) [ file ]
Source                        iptables
Source Path                   /sbin/iptables-multi
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           iptables-1.4.10-2.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-29.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38.8-32.fc15.x86_64
                              #1 SMP Mon Jun 13 19:49:05 UTC 2011 x86_64 x86_64
Alert Count                   3
First Seen                    Mon 20 Jun 2011 04:19:18 PM MSD
Last Seen                     Mon 20 Jun 2011 04:19:18 PM MSD
Local ID                      c1b3cb37-f849-4192-87a3-c0abe8d8e334

Raw Audit Messages
type=AVC msg=audit(1308572358.884:31): avc:  denied  { read write } for  pid=1803 comm="iptables" path=2F746D702F666669664770494D52202864656C6574656429 dev=dm-1 ino=783409 scontext=system_u:system_r:iptables_t:s0 tcontext=system_u:object_r:fail2ban_tmp_t:s0 tclass=file


type=SYSCALL msg=audit(1308572358.884:31): arch=x86_64 syscall=execve success=yes exit=0 a0=c9f710 a1=c9f790 a2=c9f280 a3=1 items=0 ppid=1788 pid=1803 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=iptables exe=/sbin/iptables-multi subj=system_u:system_r:iptables_t:s0 key=(null)

Hash: iptables,iptables_t,fail2ban_tmp_t,file,read,write

audit2allow

#============= iptables_t ==============
allow iptables_t fail2ban_tmp_t:file { read write };

audit2allow -R

#============= iptables_t ==============
allow iptables_t fail2ban_tmp_t:file { read write };

Comment 1 Miroslav Grepl 2011-06-21 06:34:44 UTC
Fixed in selinux-policy-3.9.16-30.fc15.

Comment 2 Fedora End Of Life 2012-08-07 20:26:09 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached 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, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

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


Note You need to log in before you can comment on or make changes to this bug.