Bug 542574 - SELinux is preventing abrt-pyhook-hel "read write" access on unix_stream_socket.
Summary: SELinux is preventing abrt-pyhook-hel "read write" access on unix_stream_socket.
Keywords:
Status: CLOSED DUPLICATE of bug 539566
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:3b4268dcbed...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-30 08:27 UTC by Michal Nowak
Modified: 2013-03-08 02:07 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-11-30 12:01:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.