Bug 745188 - SELinux is preventing /usr/bin/abrt-dump-oops from 'getattr' accesses on the file /etc/abrt/abrt.conf.
Summary: SELinux is preventing /usr/bin/abrt-dump-oops from 'getattr' accesses on the ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:c63ef12f518b865dcac7ef6d110...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-11 15:38 UTC by Ronald Pottol
Modified: 2011-10-19 04:32 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.10.0-40.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-19 04:32:07 UTC
Type: ---


Attachments (Terms of Use)

Description Ronald Pottol 2011-10-11 15:38: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 /usr/bin/abrt-dump-oops from 'getattr' accesses on the file /etc/abrt/abrt.conf.
time:           Tue Oct 11 08:38:06 2011

description:
:SELinux is preventing /usr/bin/abrt-dump-oops from 'getattr' accesses on the file /etc/abrt/abrt.conf.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that abrt-dump-oops should be allowed getattr 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                   /usr/bin/abrt-dump-oops
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           abrt-addon-kerneloops-2.0.4.981-3.fc16
:Target RPM Packages           abrt-2.0.4.981-3.fc16
:Policy RPM                    selinux-policy-3.10.0-38.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 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                   6
:First Seen                    Mon 10 Oct 2011 09:16:36 PM PDT
:Last Seen                     Tue 11 Oct 2011 08:33:00 AM PDT
:Local ID                      4a51a356-c714-43bc-9aa3-8cf32d57626c
:
:Raw Audit Messages
:type=AVC msg=audit(1318347180.77:114): avc:  denied  { getattr } for  pid=949 comm="abrt-dump-oops" path="/etc/abrt/abrt.conf" dev=dm-1 ino=27825 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:object_r:abrt_etc_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1318347180.77:114): arch=x86_64 syscall=fstat success=yes exit=0 a0=6 a1=7fffb43dc780 a2=7fffb43dc780 a3=80 items=0 ppid=1 pid=949 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=abrt-dump-oops exe=/usr/bin/abrt-dump-oops subj=system_u:system_r:abrt_dump_oops_t:s0 key=(null)
:
:Hash: abrt-dump-oops,abrt_dump_oops_t,abrt_etc_t,file,getattr
:
:audit2allow
:
:#============= abrt_dump_oops_t ==============
:allow abrt_dump_oops_t abrt_etc_t:file getattr;
:
:audit2allow -R
:
:#============= abrt_dump_oops_t ==============
:allow abrt_dump_oops_t abrt_etc_t:file getattr;
:

Comment 1 Miroslav Grepl 2011-10-11 18:20:57 UTC
Fixed in selinux-policy-3.10.0-40.fc16

Comment 2 Fedora Update System 2011-10-14 16:18:53 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 3 Fedora Update System 2011-10-15 14:32:31 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 4 Fedora Update System 2011-10-19 04:32:07 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.


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