Bug 1296379

Summary: selinux is preventing collectd ipmi module from working
Product: [Fedora] Fedora Reporter: Daniel Rowe <bart>
Component: selinux-policy-targetedAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 23CC: bart, dwalsh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-17 11:59:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Rowe 2016-01-07 02:26:39 UTC
Description of problem:

Unable to use the collectd ipmi module:

AVC avc:  denied  { read write } for  pid=5012 comm="collectd" name="ipmi0" dev="devtmpfs" ino=13972 scontext=system_u:system_r:collectd_t:s0 tcontext=system_u:object_r:ipmi_device_t:s0 tclass=chr_file permissive=0


Version-Release number of selected component (if applicable):

Latest F23 packages.


How reproducible:

Everytime.

Steps to Reproduce:
1. Install collectd and ipmid package on a box with ipmi (dell server in my case).
2. Run collectd with ipmid stats collection enabled
3. See fail

Actual results:

Denied  

Expected results:

Works

Additional info:

Comment 1 Miroslav Grepl 2016-01-21 10:56:59 UTC
Does it mean you use a collectd plugin?