Bug 770556

Summary: SELinux is preventing /sbin/audispd from 'read' accesses on the file online.
Product: [Fedora] Fedora Reporter: LAZA <laza74>
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:6e214ed28d2fc032f1ae3029b10e620f0b6724922c84f81cd17e486bdfe42555
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-28 07:40:54 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 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