Bug 594600 - SELinux is preventing /usr/bin/python "create" access on rpmfusion-free-debuginfo.
Summary: SELinux is preventing /usr/bin/python "create" access on rpmfusion-free-debug...
Keywords:
Status: CLOSED CURRENTRELEASE
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:fb5877a752f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-21 06:43 UTC by Afriadi Alamsyah H.
Modified: 2010-05-21 08:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-21 08:20:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Afriadi Alamsyah H. 2010-05-21 06:43:43 UTC
Summary:

SELinux is preventing /usr/bin/python "create" access on
rpmfusion-free-debuginfo.

Detailed Description:

[yum has a permissive type (abrt_t). This access was not denied.]

SELinux denied access requested by yum. It is not expected that this access is
required by yum 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:abrt_t:s0
Target Context                system_u:object_r:rpm_var_cache_t:s0
Target Objects                rpmfusion-free-debuginfo [ dir ]
Source                        yum
Source Path                   /usr/bin/python
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           python-2.6.2-2.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-46.fc12
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
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                   1
First Seen                    Fri 21 May 2010 11:36:11 AM WIT
Last Seen                     Fri 21 May 2010 11:36:11 AM WIT
Local ID                      31b53a01-2966-455d-a282-1dccb840c4d9
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1274416571.187:63): avc:  denied  { create } for  pid=8600 comm="yum" name="rpmfusion-free-debuginfo" scontext=system_u:system_r:abrt_t:s0 tcontext=system_u:object_r:rpm_var_cache_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1274416571.187:63): arch=40000003 syscall=39 success=yes exit=0 a0=9be11a8 a1=1ed a2=758b868 a3=96e5050 items=0 ppid=8599 pid=8600 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="yum" exe="/usr/bin/python" subj=system_u:system_r:abrt_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-46.fc12,catchall,yum,abrt_t,rpm_var_cache_t,dir,create
audit2allow suggests:

#============= abrt_t ==============
allow abrt_t rpm_var_cache_t:dir create;

Comment 1 Miroslav Grepl 2010-05-21 08:20:09 UTC
Please run:

yum update


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