Bug 234642

Summary: AVC when turning on 'cpuspeed' service from GUI
Product: [Fedora] Fedora Reporter: Tom London <selinux>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
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: 2007-04-13 18:35:14 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 Tom London 2007-03-30 19:05:52 UTC
Description of problem:


Version-Release number of selected component (if applicable):
Using s-c-services to enable 'cpuspeed' causes the following AVCs:

type=AVC msg=audit(1175281223.797:26): avc:  denied  { write } for  pid=4031
comm="modprobe" name="[16553]" dev=pipefs ino=16553
scontext=system_u:system_r:insmod_t:s0
tcontext=system_u:system_r:unconfined_t:s0 tclass=fifo_file
type=SYSCALL msg=audit(1175281223.797:26): arch=40000003 syscall=11 success=yes
exit=0 a0=84c0938 a1=84c0b58 a2=84a9a60 a3=0 items=0 ppid=4026 pid=4031 auid=500
uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none)
comm="modprobe" exe="/sbin/modprobe" subj=system_u:system_r:insmod_t:s0 key=(null)
type=AVC_PATH msg=audit(1175281223.797:26):  path="pipe:[16553]"
type=AVC msg=audit(1175281223.916:27): avc:  denied  { write } for  pid=4039
comm="modprobe" name="[16553]" dev=pipefs ino=16553
scontext=system_u:system_r:insmod_t:s0
tcontext=system_u:system_r:unconfined_t:s0 tclass=fifo_file
type=AVC msg=audit(1175281223.916:27): avc:  denied  { write } for  pid=4039
comm="modprobe" name="[16553]" dev=pipefs ino=16553
scontext=system_u:system_r:insmod_t:s0
tcontext=system_u:system_r:unconfined_t:s0 tclass=fifo_file
type=SYSCALL msg=audit(1175281223.916:27): arch=40000003 syscall=11 success=yes
exit=0 a0=84c02f8 a1=84c0808 a2=84a9a60 a3=0 items=0 ppid=4026 pid=4039 auid=500
uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none)
comm="modprobe" exe="/sbin/modprobe" subj=system_u:system_r:insmod_t:s0 key=(null)
type=AVC_PATH msg=audit(1175281223.916:27):  path="pipe:[16553]"
type=AVC_PATH msg=audit(1175281223.916:27):  path="pipe:[16553]"


How reproducible:
every time

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Daniel Walsh 2007-04-10 19:00:52 UTC
Fixed in selinux-policy-2.5.11-8.fc7

Comment 2 Tom London 2007-04-13 18:35:14 UTC
Fixed.