Bug 770556 - SELinux is preventing /sbin/audispd from 'read' accesses on the file online.
Summary: SELinux is preventing /sbin/audispd from 'read' accesses on the file online.
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:6e214ed28d2fc032f1ae3029b10...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-27 12:06 UTC by LAZA
Modified: 2011-12-28 07:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-28 07:40:54 UTC
Type: ---


Attachments (Terms of Use)

Description LAZA 2011-12-27 12:06:02 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-0.rc9.git0.0.fc16.x86_64
reason:         SELinux is preventing /sbin/audispd from 'read' accesses on the file online.
time:           Di 27 Dez 2011 13:05:16 CET

description:
:SELinux is preventing /sbin/audispd from 'read' accesses on the file online.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that audispd should be allowed read access on the online 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 audispd /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:audisp_t:s0
:Target Context                system_u:object_r:sysfs_t:s0
:Target Objects                online [ file ]
:Source                        audispd
:Source Path                   /sbin/audispd
:Port                          <Unbekannt>
:Host                          (removed)
:Source RPM Packages           audit-2.1.3-4.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-51.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
: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                   1
:First Seen                    Di 27 Dez 2011 13:02:10 CET
:Last Seen                     Di 27 Dez 2011 13:02:10 CET
:Local ID                      f3f5119d-058a-4e5a-9b62-b1c4857f7c3f
:
:Raw Audit Messages
:type=AVC msg=audit(1324987330.829:5): avc:  denied  { read } for  pid=635 comm="audispd" name="online" dev=sysfs ino=34 scontext=system_u:system_r:audisp_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1324987330.829:5): arch=x86_64 syscall=open success=no exit=EACCES a0=7f7b6d05d668 a1=80000 a2=2003ff a3=7f7b6cee4c80 items=0 ppid=609 pid=635 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=audispd exe=/sbin/audispd subj=system_u:system_r:audisp_t:s0 key=(null)
:
:Hash: audispd,audisp_t,sysfs_t,file,read
:
:audit2allow
:
:#============= audisp_t ==============
:allow audisp_t sysfs_t:file read;
:
:audit2allow -R
:
:#============= audisp_t ==============
:allow audisp_t sysfs_t:file read;
:

Comment 1 Miroslav Grepl 2011-12-28 07:40:54 UTC
You need to update to latest policy.

yum update selinux-policy-targeted


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