Bug 542574

Summary: SELinux is preventing abrt-pyhook-hel "read write" access on unix_stream_socket.
Product: [Fedora] Fedora Reporter: Michal Nowak <mnowak>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 12CC: dwalsh, mgrepl, ohudlick
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:3b4268dcbed58b4c3a9297fad20a8179256eec115da1d587e8741399db635660
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-30 12:01:55 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 2009-11-30 08:27:08 UTC
Summary:

SELinux is preventing abrt-pyhook-hel "read write" access on unix_stream_socket.

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                unconfined_u:unconfined_r:abrt_helper_t:s0
Target Context                unconfined_u:unconfined_r:unconfined_t:s0
Target Objects                unix_stream_socket [ unix_stream_socket ]
Source                        abrt-pyhook-hel
Source Path                   abrt-pyhook-hel
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-49.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux dhcp-lab-124.englab.brq.redhat.com
                              2.6.31.6-134.fc12.x86_64 #1 SMP Mon Nov 16
                              20:38:45 EST 2009 x86_64 x86_64
Alert Count                   3
First Seen                    Sun 29 Nov 2009 11:20:31 AM CET
Last Seen                     Sun 29 Nov 2009 11:20:31 AM CET
Local ID                      fe972fd8-030d-488b-b000-c6778141e285
Line Numbers                  

Raw Audit Messages            

node=dhcp-lab-124.englab.brq.redhat.com type=AVC msg=audit(1259490031.960:26416): avc:  denied  { read write } for  pid=16198 comm="abrt-pyhook-hel" path="socket:[14203839]" dev=sockfs ino=14203839 scontext=unconfined_u:unconfined_r:abrt_helper_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0 tclass=unix_stream_socket

node=dhcp-lab-124.englab.brq.redhat.com type=AVC msg=audit(1259490031.960:26416): avc:  denied  { read } for  pid=16198 comm="abrt-pyhook-hel" path=2F746D702F666669546541734238202864656C6574656429 dev=dm-1 ino=2048259 scontext=unconfined_u:unconfined_r:abrt_helper_t:s0 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file

node=dhcp-lab-124.englab.brq.redhat.com type=AVC msg=audit(1259490031.960:26416): avc:  denied  { read } for  pid=16198 comm="abrt-pyhook-hel" path=2F686F6D652F6E65776D616E2F4D757369632F646F706F686F64792F73696775722D726F732F73696775722D72C482C582732F73696775725F726F732D726F6B6B6C616769642D6C6976652E6D7033 dev=dm-1 ino=2368669 scontext=unconfined_u:unconfined_r:abrt_helper_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file



Hash String generated from  selinux-policy-3.6.32-49.fc12,catchall,abrt-pyhook-hel,abrt_helper_t,unconfined_t,unix_stream_socket,read,write
audit2allow suggests:

#============= abrt_helper_t ==============
allow abrt_helper_t unconfined_t:unix_stream_socket { read write };
allow abrt_helper_t user_home_t:file read;
allow abrt_helper_t user_tmp_t:file read;

Comment 1 Miroslav Grepl 2009-11-30 12:01:55 UTC

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