Bug 592652

Summary: SELinux is preventing /usr/bin/cpufreq-selector "getattr" access on /usr/share/locale/locale.alias.
Product: [Fedora] Fedora Reporter: Gene Snider <genes1122>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: dwalsh, luca.giuzzi, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:0bbed2ece53f2e2c7d431342d4c8495daeba1d115cc991bf9b08fb1bb7ce8e15
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-17 13:10:03 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 Gene Snider 2010-05-15 23:53:43 UTC
Summary:

SELinux is preventing /usr/bin/cpufreq-selector "getattr" access on
/usr/share/locale/locale.alias.

Detailed Description:

[SELinux is in permissive mode. 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://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:cpufreqselector_t:s0-s0:c0.c1023
Target Context                system_u:object_r:locale_t:s0
Target Objects                /usr/share/locale/locale.alias [ file ]
Source                        cpufreq-selecto
Source Path                   /usr/bin/cpufreq-selector
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gnome-applets-2.30.0-1.fc13
Target RPM Packages           glibc-common-2.12-1
Policy RPM                    selinux-policy-3.7.19-15.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.33.4-95.fc13.x86_64 #1 SMP Thu
                              May 13 05:16:23 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Sat 15 May 2010 04:51:40 PM PDT
Last Seen                     Sat 15 May 2010 04:51:40 PM PDT
Local ID                      08d7c0bf-d514-426e-ab0c-2543fde089a5
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1273967500.706:21213): avc:  denied  { getattr } for  pid=6206 comm="cpufreq-selecto" path="/usr/share/locale/locale.alias" dev=dm-0 ino=6825 scontext=system_u:system_r:cpufreqselector_t:s0-s0:c0.c1023 tcontext=system_u:object_r:locale_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1273967500.706:21213): arch=c000003e syscall=5 success=yes exit=0 a0=3 a1=7ffffe4b67a0 a2=7ffffe4b67a0 a3=0 items=0 ppid=6205 pid=6206 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  catchall,cpufreq-selecto,cpufreqselector_t,locale_t,file,getattr
audit2allow suggests:

#============= cpufreqselector_t ==============
allow cpufreqselector_t locale_t:file getattr;

Comment 1 Daniel Walsh 2010-05-17 13:10:03 UTC

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