Bug 544271 - SELinux is preventing /usr/bin/abrt-pyhook-helper access to a leaked /var/cache/yum/i386/12/updates/eb97d123257593c0da83dd8ff3a6c80a17e84a49aa18609481ded5dd65dee663-prestodelta.xml.gz file descriptor.
Summary: SELinux is preventing /usr/bin/abrt-pyhook-helper access to a leaked /var/cac...
Keywords:
Status: CLOSED DUPLICATE of bug 542770
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:a24f0e76fb7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-04 12:59 UTC by Rahul Sundaram
Modified: 2013-03-13 05:46 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-12-04 13:03:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rahul Sundaram 2009-12-04 12:59:04 UTC
Summary:

SELinux is preventing /usr/bin/abrt-pyhook-helper access to a leaked
/var/cache/yum/i386/12/updates/eb97d123257593c0da83dd8ff3a6c80a17e84a49aa18609481ded5dd65dee663-prestodelta.xml.gz
file descriptor.

Detailed Description:

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

SELinux denied access requested by the abrt-pyhook-hel command. It looks like
this is either a leaked descriptor or abrt-pyhook-hel output was redirected to a
file it is not allowed to access. Leaks usually can be ignored since SELinux is
just closing the leak and reporting the error. The application does not use the
descriptor, so it will run properly. If this is a redirection, you will not get
output in the
/var/cache/yum/i386/12/updates/eb97d123257593c0da83dd8ff3a6c80a17e84a49aa18609481ded5dd65dee663-prestodelta.xml.gz.
You should generate a bugzilla on selinux-policy, and it will get routed to the
appropriate package. You can safely ignore this avc.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385)

Additional Information:

Source Context                unconfined_u:system_r:abrt_helper_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:rpm_var_cache_t:s0
Target Objects                /var/cache/yum/i386/12/updates/eb97d123257593c0da8
                              3dd8ff3a6c80a17e84a49aa18609481ded5dd65dee663-pres
                              todelta.xml.gz [ file ]
Source                        abrt-pyhook-hel
Source Path                   /usr/bin/abrt-pyhook-helper
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           abrt-addon-python-1.0.0-1.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-49.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   leaks
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.6-145.fc12.i686 #1 SMP Sat
                              Nov 21 16:28:23 EST 2009 i686 i686
Alert Count                   1
First Seen                    Wed 02 Dec 2009 03:39:07 PM IST
Last Seen                     Wed 02 Dec 2009 03:39:07 PM IST
Local ID                      9c5c4c03-9cf5-47be-ba18-88c15184aa46
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1259748547.155:23947): avc:  denied  { write } for  pid=26797 comm="abrt-pyhook-hel" path="/var/cache/yum/i386/12/updates/eb97d123257593c0da83dd8ff3a6c80a17e84a49aa18609481ded5dd65dee663-prestodelta.xml.gz" dev=dm-1 ino=101897 scontext=unconfined_u:system_r:abrt_helper_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:rpm_var_cache_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1259748547.155:23947): arch=40000003 syscall=11 success=yes exit=0 a0=af59a80 a1=b2a1e80 a2=bfd2d3f8 a3=5 items=0 ppid=26674 pid=26797 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=479 sgid=479 fsgid=479 tty=(none) ses=1 comm="abrt-pyhook-hel" exe="/usr/bin/abrt-pyhook-helper" subj=unconfined_u:system_r:abrt_helper_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-49.fc12,leaks,abrt-pyhook-hel,abrt_helper_t,rpm_var_cache_t,file,write
audit2allow suggests:

#============= abrt_helper_t ==============
allow abrt_helper_t rpm_var_cache_t:file write;

Comment 1 Miroslav Grepl 2009-12-04 13:03:42 UTC

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


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