Bug 747006

Summary: SELinux is preventing abrt-dump-oops from 'open' accesses on the file /etc/abrt/abrt.conf.
Product: [Fedora] Fedora Reporter: James Cape <jamescape777>
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, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:b2fc8cec6827da24e1c2107fa229be4c229d341e928bc50349da9a4c8da8a8c0
Fixed In Version: selinux-policy-3.10.0-45.1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-25 03:34:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description James Cape 2011-10-18 14:54:20 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-0.rc9.git0.0.fc16.x86_64
reason:         SELinux is preventing abrt-dump-oops from 'open' accesses on the file /etc/abrt/abrt.conf.
time:           Tue Oct 18 09:54:10 2011

description:
:SELinux is preventing abrt-dump-oops from 'open' accesses on the file /etc/abrt/abrt.conf.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that abrt-dump-oops should be allowed open 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                /etc/abrt/abrt.conf [ file ]
:Source                        abrt-dump-oops
:Source Path                   abrt-dump-oops
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           abrt-2.0.4.981-2.fc16
:Policy RPM                    selinux-policy-3.10.0-38.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux orwell.ignore-your.tv
:                              3.1.0-0.rc9.git0.0.fc16.x86_64 #1 SMP Wed Oct 5
:                              15:30:54 UTC 2011 x86_64 x86_64
:Alert Count                   1
:First Seen                    Sun 16 Oct 2011 04:10:26 PM CDT
:Last Seen                     Sun 16 Oct 2011 04:10:26 PM CDT
:Local ID                      43c78886-75fa-4177-9585-1789d8096501
:
:Raw Audit Messages
:type=AVC msg=audit(1318799426.951:153): avc:  denied  { open } for  pid=1132 comm="abrt-dump-oops" name="abrt.conf" dev=dm-1 ino=1613772 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,open
:
:audit2allow
:
:#============= abrt_dump_oops_t ==============
:allow abrt_dump_oops_t abrt_etc_t:file open;
:
:audit2allow -R
:
:#============= abrt_dump_oops_t ==============
:allow abrt_dump_oops_t abrt_etc_t:file open;
:

Comment 1 Daniel Walsh 2011-10-18 14:59:45 UTC
Fixed in selinux-policy-3.10.0-40.fc16

Comment 2 Fedora Update System 2011-10-19 10:23:59 UTC
selinux-policy-3.10.0-43.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-43.fc16

Comment 3 Fedora Update System 2011-10-20 02:24:36 UTC
Package selinux-policy-3.10.0-43.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-43.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-14618
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-10-22 00:11:26 UTC
Package selinux-policy-3.10.0-45.1.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-45.1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-14618
then log in and leave karma (feedback).

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