Bug 745485

Summary: SELinux is preventing abrt-dump-oops from 'read' accesses on the file abrt.conf.
Product: [Fedora] Fedora Reporter: Mads Kiilerich <mads>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, jamescape777, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:c5d325522bcfe06f1f220bd990a614dba8f3d8b66cf9e3017059452b378cf6cd
Fixed In Version: selinux-policy-3.10.0-40.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-19 04:32:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mads Kiilerich 2011-10-12 13:50:43 UTC
libreport version: 2.0.5.982
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-0.rc9.git0.0.fc16.i686.PAE
reason:         SELinux is preventing abrt-dump-oops from 'read' accesses on the file abrt.conf.
time:           Wed Oct 12 13:50:37 2011

description:
:SELinux is preventing abrt-dump-oops from 'read' accesses on the file abrt.conf.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that abrt-dump-oops should be allowed read access on the abrt.conf file by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep abrt-dump-oops /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:abrt_dump_oops_t:s0
:Target Context                system_u:object_r:abrt_etc_t:s0
:Target Objects                abrt.conf [ file ]
:Source                        abrt-dump-oops
:Source Path                   abrt-dump-oops
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-38.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux localhost.localdomain
:                              3.1.0-0.rc9.git0.0.fc16.i686.PAE #1 SMP Wed Oct 5
:                              15:51:55 UTC 2011 i686 i686
:Alert Count                   1
:First Seen                    Wed 12 Oct 2011 01:15:57 PM GMT
:Last Seen                     Wed 12 Oct 2011 01:15:57 PM GMT
:Local ID                      a4bf89c3-b7f3-4f52-883b-4088c6537ce1
:
:Raw Audit Messages
:type=AVC msg=audit(1318425357.885:30): avc:  denied  { read } for  pid=859 comm="abrt-dump-oops" name="abrt.conf" dev=dm-0 ino=29824 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:object_r:abrt_etc_t:s0 tclass=file
:
:
:Hash: abrt-dump-oops,abrt_dump_oops_t,abrt_etc_t,file,read
:
:audit2allow
:
:#============= abrt_dump_oops_t ==============
:allow abrt_dump_oops_t abrt_etc_t:file read;
:
:audit2allow -R
:
:#============= abrt_dump_oops_t ==============
:allow abrt_dump_oops_t abrt_etc_t:file read;
:

Comment 1 Mads Kiilerich 2011-10-12 13:54:51 UTC
- and open and getattr

Comment 2 Miroslav Grepl 2011-10-12 13:58:31 UTC
Fixed in selinux-policy-3.10.0-40.fc16

Comment 3 Fedora Update System 2011-10-14 16:18:57 UTC
selinux-policy-3.10.0-40.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-40.fc16

Comment 4 Fedora Update System 2011-10-15 14:32:37 UTC
Package selinux-policy-3.10.0-40.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-40.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-14363
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-10-19 04:32:12 UTC
selinux-policy-3.10.0-40.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.