Bug 690295

Summary: tuned needs writing to /sys/devices/platform/eeepc/cpufv on EEEPC machines
Product: [Fedora] Fedora Reporter: Jaroslav Škarvada <jskarvad>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-23 22:23:15 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 Jaroslav Škarvada 2011-03-23 19:57:00 UTC
Description of problem:
tuned needs writing to /sys/devices/platform/eeepc/cpufv on EEEPC machines - it is new F15 PM feature

Version-Release number of selected component (if applicable):
selinux-policy-3.9.16-5

How reproducible:
Always

Steps to Reproduce:
1. You need EEEPC machine with Atom CPU
2. tuned-adm profile laptop-battery-powersave
3. Load CPU to 100% for cca 30 secs, then let it in active idle for cca 30 secs
  
Actual results:
AVC

Expected results:
No AVC

Additional info:

type=AVC msg=audit(1300894285.433:19): avc:  denied  { write } for  pid=1903 comm="tuned" name="cpufv" dev=sysfs ino=17074 scontext=system_u:system_r:tuned_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=file
                              
type=SYSCALL msg=audit(1300894285.433:19): arch=i386 syscall=open success=no exit=EACCES a0=9abe788 a1=8241 a2=1b6 a3=0 items=0 ppid=1 pid=1903 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=tuned exe=/usr/bin/python subj=system_u:system_r:tuned_t:s0 key=(null)

Comment 1 Daniel Walsh 2011-03-23 20:11:45 UTC
That is in selinux-policy-3.9.16-6

Comment 2 Miroslav Grepl 2011-03-23 22:23:15 UTC

*** This bug has been marked as a duplicate of bug 689113 ***