Bug 540186

Summary: SELinux is preventing /usr/bin/abrt-pyhook-helper "create" access on pyhook-1258839354-28496.
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:fe72e8aeeb6c9b2f29804fbb901b4ddfcb9ecee75feec79836053199534d1b28
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-23 08:51:49 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:39 UTC
Summary:

SELinux is preventing /usr/bin/abrt-pyhook-helper "create" access on
pyhook-1258839354-28496.

Detailed Description:

[abrt-pyhook-hel has a permissive type (kdumpgui_t). This access was not
denied.]

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                pyhook-1258839354-28496 [ 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           
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                      adc2980b-0a71-4a24-8f16-ccf5342bc817
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1258839354.787:178): avc:  denied  { create } for  pid=28498 comm="abrt-pyhook-hel" name="pyhook-1258839354-28496" 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:178): arch=40000003 syscall=39 success=yes exit=0 a0=8736094 a1=1c0 a2=d51990 a3=bfe17304 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,create
audit2allow suggests:

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

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

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