Bug 538488

Summary: SELinux is preventing /usr/bin/abrt-pyhook-helper "remove_name" access on pyhook-1258563924-12624.lock.
Product: [Fedora] Fedora Reporter: Eric Jansen <janseneric>
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: captain.insano, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:392391fb0c003f543e320649271a340da4b417f4d3d7a20d3b01e0f0a42225f7
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-18 18:14:21 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 Eric Jansen 2009-11-18 17:15:49 UTC
Summary:

SELinux is preventing /usr/bin/abrt-pyhook-helper "remove_name" access on
pyhook-1258563924-12624.lock.

Detailed Description:

[SELinux is in permissive mode. 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:sambagui_t:s0-s0:c0.c1023
Target Context                system_u:object_r:abrt_var_cache_t:s0
Target Objects                pyhook-1258563924-12624.lock [ 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-1.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-41.fc12
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7
                              21:25:57 EST 2009 i686 i686
Alert Count                   2
First Seen                    Thu 19 Nov 2009 01:05:47 AM SGT
Last Seen                     Thu 19 Nov 2009 01:05:47 AM SGT
Local ID                      2846bb45-f2a0-4079-a9c3-8b952ce152e4
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1258563947.144:30055): avc:  denied  { remove_name } for  pid=16730 comm="abrt-pyhook-hel" name="pyhook-1258563924-12624.lock" dev=sda2 ino=119791 scontext=system_u:system_r:sambagui_t:s0-s0:c0.c1023 tcontext=system_u:object_r:abrt_var_cache_t:s0 tclass=dir

node=(removed) type=AVC msg=audit(1258563947.144:30055): avc:  denied  { unlink } for  pid=16730 comm="abrt-pyhook-hel" name="pyhook-1258563924-12624.lock" dev=sda2 ino=119791 scontext=system_u:system_r:sambagui_t:s0-s0:c0.c1023 tcontext=system_u:object_r:abrt_var_cache_t:s0 tclass=lnk_file

node=(removed) type=SYSCALL msg=audit(1258563947.144:30055): arch=40000003 syscall=10 success=yes exit=0 a0=96c6604 a1=0 a2=d5d890 a3=96c6604 items=0 ppid=12624 pid=16730 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:sambagui_t:s0-s0:c0.c1023 key=(null)



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

#============= sambagui_t ==============
allow sambagui_t abrt_var_cache_t:dir remove_name;
allow sambagui_t abrt_var_cache_t:lnk_file unlink;

Comment 1 Daniel Walsh 2009-11-18 18:14:21 UTC

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