Bug 540185

Summary: SELinux is preventing /usr/bin/abrt-pyhook-helper "search" access on /var/cache/abrt.
Product: [Fedora] Fedora Reporter: Dave <dave>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:708078087b14c5372a31bc36936c8aa7a4717ee1303faa78fc687f8c5df14d44
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-23 08:51:11 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 Dave 2009-11-22 17:36:04 UTC
Summary:

SELinux is preventing /usr/bin/abrt-pyhook-helper "search" access on
/var/cache/abrt.

Detailed Description:

SELinux denied access requested by abrt-pyhook-hel. It is not expected that this
access is required by abrt-pyhook-hel 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:kdumpgui_t:s0-s0:c0.c1023
Target Context                system_u:object_r:abrt_var_cache_t:s0
Target Objects                /var/cache/abrt [ dir ]
Source                        abrt-pyhook-hel
Source Path                   /usr/bin/abrt-pyhook-helper
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           abrt-addon-python-0.0.11-2.fc12
Target RPM Packages           abrt-0.0.11-2.fc12
Policy RPM                    selinux-policy-3.6.32-41.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.5-127.fc12.i686 #1
                              SMP Sat Nov 7 21:41:45 EST 2009 i686 i686
Alert Count                   1
First Seen                    Sat 21 Nov 2009 02:35:54 PM MST
Last Seen                     Sat 21 Nov 2009 02:35:54 PM MST
Local ID                      37683d5f-0ec9-4b83-b6ec-adfaf35f2118
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1258839354.787:176): avc:  denied  { search } for  pid=28498 comm="abrt-pyhook-hel" name="abrt" dev=dm-0 ino=23568 scontext=system_u:system_r:kdumpgui_t:s0-s0:c0.c1023 tcontext=system_u:object_r:abrt_var_cache_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1258839354.787:176): arch=40000003 syscall=195 success=no exit=-2 a0=8736094 a1=bfe1716c a2=4e7ff4 a3=3 items=0 ppid=28496 pid=28498 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="abrt-pyhook-hel" exe="/usr/bin/abrt-pyhook-helper" subj=system_u:system_r:kdumpgui_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-41.fc12,catchall,abrt-pyhook-hel,kdumpgui_t,abrt_var_cache_t,dir,search
audit2allow suggests:

#============= kdumpgui_t ==============
allow kdumpgui_t abrt_var_cache_t:dir search;

Comment 1 Miroslav Grepl 2009-11-23 08:51:11 UTC

*** This bug has been marked as a duplicate of bug 539581 ***