Bug 902944 - SELinux is preventing /usr/sbin/xtables-multi from read, write access on the file /dev/shm/ffi0qotUv (deleted).
Summary: SELinux is preventing /usr/sbin/xtables-multi from read, write access on the ...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: firewalld
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3a5a4fc5221d44c4866e8ac8867...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-22 19:07 UTC by david
Modified: 2015-02-17 14:41 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-17 14:41:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description david 2013-01-22 19:07:52 UTC
Description of problem:
updated rawhide, rebooted, saw error message. 
SELinux is preventing /usr/sbin/xtables-multi from read, write access on the file /dev/shm/ffi0qotUv (deleted).

*****  Plugin leaks (86.2 confidence) suggests  ******************************

If you want to ignore xtables-multi trying to read write access the ffi0qotUv (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 /usr/sbin/xtables-multi /var/log/audit/audit.log | audit2allow -D -M mypol
# semodule -i mypol.pp

*****  Plugin catchall (14.7 confidence) suggests  ***************************

If you believe that xtables-multi should be allowed read write access on the ffi0qotUv (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

Additional Information:
Source Context                system_u:system_r:iptables_t:s0
Target Context                system_u:object_r:firewalld_tmpfs_t:s0
Target Objects                /dev/shm/ffi0qotUv (deleted) [ file ]
Source                        iptables
Source Path                   /usr/sbin/xtables-multi
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           iptables-1.4.16.2-6.fc19.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-5.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.8.0-0.rc4.git1.1.fc19.x86_64 #1
                              SMP Sat Jan 19 20:02:55 UTC 2013 x86_64 x86_64
Alert Count                   9
First Seen                    2013-01-22 14:05:46 EST
Last Seen                     2013-01-22 14:05:46 EST
Local ID                      8110d6f7-87b1-41e4-aa02-8d7b445bee1a

Raw Audit Messages
type=AVC msg=audit(1358881546.654:350): avc:  denied  { read write } for  pid=1648 comm="iptables" path=2F6465762F73686D2F66666930716F745576202864656C6574656429 dev="tmpfs" ino=17959 scontext=system_u:system_r:iptables_t:s0 tcontext=system_u:object_r:firewalld_tmpfs_t:s0 tclass=file


type=SYSCALL msg=audit(1358881546.654:350): arch=x86_64 syscall=execve success=yes exit=0 a0=2b44d40 a1=2ad8c90 a2=28ee210 a3=1 items=0 ppid=629 pid=1648 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=iptables exe=/usr/sbin/xtables-multi subj=system_u:system_r:iptables_t:s0 key=(null)

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

audit2allow

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

audit2allow -R

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


Additional info:
hashmarkername: setroubleshoot
kernel:         3.8.0-0.rc4.git1.1.fc19.x86_64
type:           libreport

Comment 1 Fedora End Of Life 2013-04-03 17:55:21 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 2 Fedora End Of Life 2015-01-09 17:36:08 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

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.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 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, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

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.

Comment 3 Fedora End Of Life 2015-02-17 14:41:35 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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