Bug 586689

Summary: SELinux is preventing /usr/sbin/abrtd "open" access on sosreport-netop-20100428101743-4ca1.tar.bz2.
Product: [Fedora] Fedora Reporter: Mihai Harpau <mishu>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwalsh, mgrepl, mishu, mmalik
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:33341900ea5e602dc21f70c6055cbc014a847e65e51ed4aeb786d9a365e45950
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-28 13:48:34 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 Mihai Harpau 2010-04-28 07:32:17 UTC
Summary:

SELinux is preventing /usr/sbin/abrtd "open" access on
sosreport-(removed)-20100428101743-4ca1.tar.bz2.

Detailed Description:

SELinux denied access requested by abrtd. It is not expected that this access is
required by abrtd 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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:abrt_t:s0-s0:c0.c1023
Target Context                system_u:object_r:sosreport_tmp_t:s0
Target Objects                sosreport-(removed)-20100428101743-4ca1.tar.bz2 [ file
                              ]
Source                        abrtd
Source Path                   /usr/sbin/abrtd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           abrt-1.0.7-5.el6
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.17-5.el6
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.32-19.el6.x86_64 #1 SMP Tue Mar 9
                              17:48:46 EST 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Mi 28 apr 2010 10:17:43 +0000
Last Seen                     Mi 28 apr 2010 10:17:43 +0000
Local ID                      6ec6d509-a0a3-49b9-ae8b-d2a179c16249
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1272439063.528:34976): avc:  denied  { open } for  pid=1970 comm="abrtd" name="sosreport-(removed)-20100428101743-4ca1.tar.bz2" dev=dm-0 ino=142573 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sosreport_tmp_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1272439063.528:34976): arch=c000003e syscall=2 success=no exit=-13 a0=24f39a8 a1=0 a2=1a4 a3=3330393334323732 items=0 ppid=1 pid=1970 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="abrtd" exe="/usr/sbin/abrtd" subj=system_u:system_r:abrt_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.7.17-5.el6,catchall,abrtd,abrt_t,sosreport_tmp_t,file,open
audit2allow suggests:

#============= abrt_t ==============
#!!!! This avc is allowed in the current policy

allow abrt_t sosreport_tmp_t:file open;

Comment 1 Daniel Walsh 2010-04-28 13:48:34 UTC
yum -y update

Comment 2 Mihai Harpau 2010-04-28 14:52:26 UTC
I am now on Rhel6 Beta1 so command "yum -y update" does not bring anything new.

Comment 3 Daniel Walsh 2010-04-28 15:42:05 UTC
You can grab updated selinux RHEL6 packages off of the yum repository on 
http://people.redhat.com/dwalsh/SELinux/RHEL6