Bug 724999 - [abrt] (null): SELinux is preventing /usr/bin/abrt-dump-oops from 'open' accesses on the file /var/log/messages.
Summary: [abrt] (null): SELinux is preventing /usr/bin/abrt-dump-oops from 'open' acce...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b6450ecb550384503b047975163...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-22 14:44 UTC by Mads Kiilerich
Modified: 2011-07-22 20:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-22 20:22:21 UTC
Type: ---


Attachments (Terms of Use)

Description Mads Kiilerich 2011-07-22 14:44:00 UTC
abrt version: 2.0.5
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.0-0.rc7.git3.1.fc16.i686.PAE
reason:         SELinux is preventing /usr/bin/abrt-dump-oops from 'open' accesses on the file /var/log/messages.
time:           Fri Jul 22 16:43:27 2011

description:
:SELinux is preventing /usr/bin/abrt-dump-oops from 'open' accesses on the file /var/log/messages.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that abrt-dump-oops should be allowed open access on the messages 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:var_log_t:s0
:Target Objects                /var/log/messages [ 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-1.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-6.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed)
:                              3.0-0.rc7.git3.1.fc16.i686.PAE #1 SMP Fri Jul 15
:                              22:56:04 UTC 2011 i686 i686
:Alert Count                   1
:First Seen                    Fri 22 Jul 2011 04:19:50 PM CEST
:Last Seen                     Fri 22 Jul 2011 04:19:50 PM CEST
:Local ID                      0b324fab-7cd7-469a-b87d-5de05dcc305d
:
:Raw Audit Messages
:type=AVC msg=audit(1311344390.150:74): avc:  denied  { open } for  pid=2044 comm="abrt-dump-oops" name="messages" dev=dm-1 ino=15081 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1311344390.150:74): arch=i386 syscall=open success=yes exit=EINTR a0=bf9ccf7f a1=8000 a2=0 a3=9aec0a8 items=0 ppid=1 pid=2044 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,var_log_t,file,open
:
:audit2allow
:
:#============= abrt_dump_oops_t ==============
:allow abrt_dump_oops_t var_log_t:file open;
:
:audit2allow -R
:
:#============= abrt_dump_oops_t ==============
:allow abrt_dump_oops_t var_log_t:file open;
:

Comment 1 Daniel Walsh 2011-07-22 20:22:21 UTC
Fixed in selinux-policy-3.10.0-7.fc16.noarch


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