Bug 612544

Summary: SELinux is preventing iptables "append" access on /var/spool/abrt/kerneloops-1278596403-2/dhcp-lab-222-2010070815401278596412/sos_logs/sos.log.
Product: Red Hat Enterprise Linux 6 Reporter: Michal Nowak <mnowak>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED CURRENTRELEASE QA Contact: Milos Malik <mmalik>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: borgan, mgrepl, mmalik, ohudlick, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:c05829dcd23b00136d6ad99d7094c37309cf8c33a5e86cf4d3e8419a01dac9f8
Fixed In Version: selinux-policy-3.7.19-31.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-10 21:35:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Nowak 2010-07-08 13:42:31 UTC
Summary:

SELinux is preventing iptables "append" access on
/var/spool/abrt/kerneloops-1278596403-2/dhcp-lab-222-2010070815401278596412/sos_logs/sos.log.

Detailed Description:

SELinux denied access requested by iptables. It is not expected that this access
is required by iptables and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:unconfined_r:iptables_t:s0-s0:c0.c102
                              3
Target Context                unconfined_u:object_r:abrt_var_cache_t:s0
Target Objects                /var/spool/abrt/kerneloops-1278596403-2/dhcp-
                              lab-222-2010070815401278596412/sos_logs/sos.log [
                              file ]
Source                        iptables
Source Path                   iptables
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-30.el6
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.32-44.el6.x86_64 #1 SMP Wed Jul 7 15:47:50 EDT
                              2010 x86_64 x86_64
Alert Count                   4
First Seen                    Thu 08 Jul 2010 03:40:09 PM CEST
Last Seen                     Thu 08 Jul 2010 03:40:14 PM CEST
Local ID                      a86e15ab-18c2-405d-8099-538f41078a98
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1278596414.519:32352): avc:  denied  { append } for  pid=6393 comm="iptables" path="/var/spool/abrt/kerneloops-1278596403-2/dhcp-lab-222-2010070815401278596412/sos_logs/sos.log" dev=dm-0 ino=795982 scontext=unconfined_u:unconfined_r:iptables_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:abrt_var_cache_t:s0 tclass=file


crashed dumpoops from abrt package sosreport was trigged
Hash String generated from  catchall,iptables,iptables_t,abrt_var_cache_t,file,append
audit2allow suggests:

#============= iptables_t ==============
allow iptables_t abrt_var_cache_t:file append;

Comment 2 Miroslav Grepl 2010-07-09 11:52:54 UTC
Fixed in selinux-policy-3.7.19-31.el6.noarch

Comment 6 releng-rhel@redhat.com 2010-11-10 21:35:14 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.