Bug 488985

Summary: SELinux is preventing kerneloops (kerneloops_t) "read" inotifyfs_t
Product: [Fedora] Fedora Reporter: Allen Kistler <ackistler>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwalsh, jkubin, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-07 15:18:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Allen Kistler 2009-03-06 16:35:54 UTC
Description of problem:
(Today in the saga of selinux and kerneloops...)
SELinux is interfering with kerneloops reporting a kernel oops that occurs during boot.

Version-Release number of selected component (if applicable):
selinux-policy-3.6.7-2.fc11

How reproducible:
Always

Steps to Reproduce:
1. boot
2. read the setroubleshoot browser pop-up (or the audit log directly)
  
Actual results:
AVC denial (see below)

Expected results:
No AVC denial

Additional info:
kerneloops-0.12-3.fc11

node=vtest type=AVC msg=audit(1236356481.313:12): avc: denied { read } for
pid=2551 comm="kerneloops" path="inotify" dev=inotifyfs ino=1
scontext=system_u:system_r:kerneloops_t:s0-s0:c0.c1023
tcontext=system_u:object_r:inotifyfs_t:s0 tclass=dir

Comment 1 Daniel Walsh 2009-03-07 15:18:53 UTC
Fixed in selinux-policy-3.6.8-1.fc11.noarch