Bug 543672

Summary: SELinux is preventing cpufreq-selecto (cpufreqselector_t) "read" security_t.
Product: [Fedora] Fedora Reporter: S. Tobias Zetterkvist <tobzet>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:e0c649749eb0b25e76b3fecc250cb210569dd045bc6e2184ff16e4dc9b0844f7
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-02 21:12:30 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 S. Tobias Zetterkvist 2009-12-02 20:27:43 UTC
Summary:

SELinux is preventing cpufreq-selecto (cpufreqselector_t) "read" security_t.

Detailed Description:

[cpufreq-selecto has a permissive type (cpufreqselector_t). This access was not
denied.]

SELinux denied access requested by cpufreq-selecto. It is not expected that this
access is required by cpufreq-selecto and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Additional Information:

Source Context                system_u:system_r:cpufreqselector_t:s0-s0:c0.c1023
Target Context                system_u:object_r:security_t:s0
Target Objects                mls [ file ]
Source                        cpufreq-selecto
Source Path                   /usr/bin/cpufreq-selector
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gnome-applets-2.26.2-1.fc11
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.12-50.fc11
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.29.4-167.fc11.i586 #1 SMP Wed May 27 17:14:37
                              EDT 2009 i686 i686
Alert Count                   6
First Seen                    Sun 21 Jun 2009 09:58:34 AM CEST
Last Seen                     Mon 22 Jun 2009 10:00:01 PM CEST
Local ID                      e0fe2e1f-6316-43b1-a89d-069a194d6b3a
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1245700801.413:37): avc:  denied  { read } for  pid=2980 comm="cpufreq-selecto" name="mls" dev=selinuxfs ino=12 scontext=system_u:system_r:cpufreqselector_t:s0-s0:c0.c1023 tcontext=system_u:object_r:security_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1245700801.413:37): avc:  denied  { open } for  pid=2980 comm="cpufreq-selecto" name="mls" dev=selinuxfs ino=12 scontext=system_u:system_r:cpufreqselector_t:s0-s0:c0.c1023 tcontext=system_u:object_r:security_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1245700801.413:37): arch=40000003 syscall=5 success=yes exit=3 a0=bfce48a8 a1=8000 a2=0 a3=bfce48a8 items=0 ppid=2979 pid=2980 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="cpufreq-selecto" exe="/usr/bin/cpufreq-selector" subj=system_u:system_r:cpufreqselector_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.12-50.fc11,catchall,cpufreq-selecto,cpufreqselector_t,security_t,file,read
audit2allow suggests:

#============= cpufreqselector_t ==============
allow cpufreqselector_t security_t:file { read open };

Comment 1 Daniel Walsh 2009-12-02 21:12:30 UTC

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