Bug 988787 - Need policy for OpenLMI-Fan
Need policy for OpenLMI-Fan
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2013-07-26 07:12 EDT by Jan Safranek
Modified: 2013-08-04 19:01 EDT (History)
2 users (show)

See Also:
Fixed In Version: selinux-policy-3.12.1-69.fc19
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-08-04 19:01:00 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
output of ausearch -m avc -ts today (5.82 KB, text/x-vhdl)
2013-07-26 07:12 EDT, Jan Safranek
no flags Details

  None (edit)
Description Jan Safranek 2013-07-26 07:12:53 EDT
Created attachment 778736 [details]
output of ausearch -m avc -ts today

OpenLMI Fan provider needs a policy. It is pretty simple one, it shows and sets system fan speeds.

AVCs are attached.
Comment 1 Miroslav Grepl 2013-07-29 07:00:48 EDT
Ok, I created 

pegasus_openlmi_system_t domain for it and others.

What is a path to this provider?
Comment 2 Jan Safranek 2013-07-29 07:27:12 EDT
The provider executables are in /usr/libexec/pegasus/:

ls -Z /usr/libexec/pegasus/
-rwxr-xr-x. root pegasus system_u:object_r:bin_t:s0       cimprovagt
-rwxr-xr-x. root root    system_u:object_r:pegasus_openlmi_account_exec_t:s0 cmpiLMI_Account-cimprovagt
-rwxr-xr-x. root root    system_u:object_r:bin_t:s0       cmpiLMI_Fan-cimprovagt
-rwxr-xr-x. root root    system_u:object_r:bin_t:s0       cmpiLMI_Hardware-cimprovagt
-rwxr-xr-x. root root    system_u:object_r:pegasus_openlmi_logicalfile_exec_t:s0 cmpiLMI_LogicalFile-cimprovagt
-rwxr-xr-x. root root    system_u:object_r:bin_t:s0       cmpiLMI_PowerManagement-cimprovagt
-rwxr-xr-x. root root    system_u:object_r:bin_t:s0       cmpiLMI_Realmd-cimprovagt
-rwxr-xr-x. root root    system_u:object_r:bin_t:s0       cmpiLMI_Service-cimprovagt
-rwxr-xr-x. root root    system_u:object_r:bin_t:s0       pycmpiLMI_Software-cimprovagt

It's cmpi<name>-cimprovagt or pycmpi<name>-cimprovagt.
Comment 3 Miroslav Grepl 2013-07-29 07:40:45 EDT
Ok, going to add labeling. The latest policy should have also fixes for

Comment 4 Miroslav Grepl 2013-07-29 08:03:52 EDT
commit 5a21b794283a0fa6d4d9078f8a9c7f4ddcc3eb8d
Author: Miroslav Grepl <mgrepl@redhat.com>
Date:   Mon Jul 29 13:58:30 2013 +0200

    Add labeling for cmpiLMI_Fan-cimprovagt
Comment 5 Fedora Update System 2013-08-02 09:30:31 EDT
selinux-policy-3.12.1-69.fc19 has been submitted as an update for Fedora 19.
Comment 6 Fedora Update System 2013-08-02 17:55:33 EDT
Package selinux-policy-3.12.1-69.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-69.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 7 Fedora Update System 2013-08-04 19:01:00 EDT
selinux-policy-3.12.1-69.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

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