Bug 597614 - SELinux is preventing /usr/libexec/gnome-system-monitor-mechanism "search" access on /usr/share/locale.
Summary: SELinux is preventing /usr/libexec/gnome-system-monitor-mechanism "search" ac...
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:59d9cc981f5...
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-29 19:36 UTC by robert fairb
Modified: 2010-07-05 12:28 UTC (History)
4 users (show)

Clone Of:
Last Closed: 2010-06-08 19:28:51 UTC

Attachments (Terms of Use)

Description robert fairb 2010-05-29 19:36:45 UTC

SELinux is preventing /usr/libexec/gnome-system-monitor-mechanism "search"
access on /usr/share/locale.

Detailed Description:

SELinux denied access requested by gnome-system-mo. It is not expected that this
access is required by gnome-system-mo 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

Additional Information:

Source Context                system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023
Target Context                system_u:object_r:locale_t:s0
Target Objects                /usr/share/locale [ dir ]
Source                        gnome-system-mo
Source Path                   /usr/libexec/gnome-system-monitor-mechanism
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gnome-system-monitor-2.28.1-1.fc13
Target RPM Packages           filesystem-2.4.31-1.fc13
Policy RPM                    selinux-policy-3.7.19-15.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                     #1 SMP Thu May 13
                              05:38:26 UTC 2010 i686 i686
Alert Count                   2
First Seen                    Thu 27 May 2010 08:31:24 PM MDT
Last Seen                     Thu 27 May 2010 08:33:05 PM MDT
Local ID                      12b36f82-2c4b-4801-aee0-b885d9b45a19
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1275013985.215:37): avc:  denied  { search } for  pid=2504 comm="gnome-system-mo" name="locale" dev=dm-3 ino=3276894 scontext=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:locale_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1275013985.215:37): arch=40000003 syscall=5 success=no exit=-13 a0=40360c a1=8000 a2=1b6 a3=3c7228 items=0 ppid=2503 pid=2504 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="gnome-system-mo" exe="/usr/libexec/gnome-system-monitor-mechanism" subj=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 key=(null)

Hash String generated from  catchall,gnome-system-mo,gnomesystemmm_t,locale_t,dir,search
audit2allow suggests:

#============= gnomesystemmm_t ==============
allow gnomesystemmm_t locale_t:dir search;

Comment 1 robert fairb 2010-05-29 19:40:05 UTC
at the time the alert appeared i was trying to enable auto-scan in klamav so i would scan my home directory it stopped and told me it was unable to load dazuko

Comment 2 Miroslav Grepl 2010-05-31 14:36:42 UTC
> #============= gnomesystemmm_t ==============
> allow gnomesystemmm_t locale_t:dir search;    

you can allow it for now using

# cat > local.te << _EOF
policy_module(local, 1.0)

require {
         type gnomesystemmm_t;


# make -f /usr/share/selinux/devel/Makefile
# semodule -i local.pp

Comment 3 Miroslav Grepl 2010-06-01 16:01:19 UTC
Fixed in selinux-policy-3.7.19-23.fc13

Comment 4 Fedora Update System 2010-06-02 09:04:39 UTC
selinux-policy-3.7.19-23.fc13 has been submitted as an update for Fedora 13.

Comment 5 Fedora Update System 2010-06-02 18:13:06 UTC
selinux-policy-3.7.19-23.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-23.fc13

Comment 6 Fedora Update System 2010-06-08 19:27:12 UTC
selinux-policy-3.7.19-23.fc13 has been pushed to the Fedora 13 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.