Bug 559188 - SELinux is preventing /usr/libexec/abrt-hook-python "sendto" access on /dev/log.
Summary: SELinux is preventing /usr/libexec/abrt-hook-python "sendto" access on /dev/log.
Keywords:
Status: CLOSED DUPLICATE of bug 558728
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:0cf0882ac5a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-27 12:20 UTC by ORLANDO MARCUCCI
Modified: 2010-01-31 09:28 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-27 15:44:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description ORLANDO MARCUCCI 2010-01-27 12:20:10 UTC
Summary:

SELinux is preventing /usr/libexec/abrt-hook-python "sendto" access on /dev/log.

Detailed Description:

[abrt-hook-pytho has a permissive type (abrt_helper_t). This access was not
denied.]

SELinux denied access requested by abrt-hook-pytho. It is not expected that this
access is required by abrt-hook-pytho 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-s0:c0.c
                              1023
Target Context                system_u:system_r:syslogd_t:s0
Target Objects                /dev/log [ unix_dgram_socket ]
Source                        abrt-hook-pytho
Source Path                   /usr/libexec/abrt-hook-python
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           abrt-addon-python-1.0.4-1.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-69.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.12-174.2.3.fc12.i686 #1
                              SMP Mon Jan 18 20:22:46 UTC 2010 i686 i686
Alert Count                   1
First Seen                    Wed 27 Jan 2010 06:02:40 AM EST
Last Seen                     Wed 27 Jan 2010 06:02:40 AM EST
Local ID                      99457ef6-c507-4278-95ca-76da9c2350fe
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1264590160.624:62): avc:  denied  { sendto } for  pid=2431 comm="abrt-hook-pytho" path="/dev/log" scontext=unconfined_u:unconfined_r:abrt_helper_t:s0-s0:c0.c1023 tcontext=system_u:system_r:syslogd_t:s0 tclass=unix_dgram_socket

node=(removed) type=SYSCALL msg=audit(1264590160.624:62): arch=40000003 syscall=102 success=yes exit=0 a0=3 a1=bfb5bb6c a2=9b4ff4 a3=ffffffb8 items=0 ppid=2345 pid=2431 auid=500 uid=500 gid=500 euid=481 suid=481 fsuid=481 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="abrt-hook-pytho" exe="/usr/libexec/abrt-hook-python" subj=unconfined_u:unconfined_r:abrt_helper_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-69.fc12,catchall,abrt-hook-pytho,abrt_helper_t,syslogd_t,unix_dgram_socket,sendto
audit2allow suggests:

#============= abrt_helper_t ==============
allow abrt_helper_t syslogd_t:unix_dgram_socket sendto;

Comment 1 Miroslav Grepl 2010-01-27 15:44:33 UTC

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


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