Bug 549428 (abrtpython) - SELinux is preventing /usr/libexec/abrt-hook-python "create" access on pyhook-1261325229-6221.lock.
Summary: SELinux is preventing /usr/libexec/abrt-hook-python "create" access on pyhook...
Keywords:
Status: CLOSED ERRATA
Alias: abrtpython
Product: Fedora
Classification: Fedora
Component: abrt
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jiri Moskovcak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:6cb20095780...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-21 17:09 UTC by Joel Gomberg
Modified: 2015-02-01 22:50 UTC (History)
11 users (show)

Fixed In Version: 1.0.3-1.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-07 00:59:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joel Gomberg 2009-12-21 17:09:58 UTC
Summary:

SELinux is preventing /usr/libexec/abrt-hook-python "create" access on
pyhook-1261325229-6221.lock.

Detailed Description:

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                system_u:system_r:logrotate_t:SystemLow-SystemHigh
Target Context                system_u:object_r:abrt_var_cache_t:SystemLow
Target Objects                pyhook-1261325229-6221.lock [ lnk_file ]
Source                        abrt-hook-pytho
Source Path                   /usr/libexec/abrt-hook-python
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           abrt-addon-python-1.0.2-1.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-59.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.6-166.fc12.x86_64 #1 SMP
                              Wed Dec 9 10:46:22 EST 2009 x86_64 x86_64
Alert Count                   1
First Seen                    Sun 20 Dec 2009 08:07:09 AM PST
Last Seen                     Sun 20 Dec 2009 08:07:09 AM PST
Local ID                      a6018652-bfe7-492f-aac6-e252d14a6efd
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1261325229.811:40452): avc:  denied  { create } for  pid=6222 comm="abrt-hook-pytho" name="pyhook-1261325229-6221.lock" scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:abrt_var_cache_t:s0 tclass=lnk_file

node=(removed) type=SYSCALL msg=audit(1261325229.811:40452): arch=c000003e syscall=88 success=no exit=-13 a0=7fff29c80fe0 a1=2392078 a2=7fff29c80fe4 a3=3232353233313632 items=0 ppid=6221 pid=6222 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=327 sgid=327 fsgid=327 tty=(none) ses=5 comm="abrt-hook-pytho" exe="/usr/libexec/abrt-hook-python" subj=system_u:system_r:logrotate_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-59.fc12,catchall,abrt-hook-pytho,logrotate_t,abrt_var_cache_t,lnk_file,create
audit2allow suggests:
audit2allow is not installed.

Comment 1 Daniel Walsh 2009-12-21 17:22:12 UTC
Abrt changed the name of the helper app, without changing the selinux file context.

chcon -t abrt_helper_exec_t /usr/libexec/abrt-hook-python

Will fix until we get an update out for selinux-policy

Fixed in selinux-policy-3.6.32-61.fc12.noarch

Comment 2 Fedora Update System 2010-01-05 21:00:23 UTC
abrt-1.0.3-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/abrt-1.0.3-1.fc12

Comment 3 Fedora Update System 2010-01-07 00:59:05 UTC
abrt-1.0.3-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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