Bug 906769 - SELinux is preventing /usr/bin/kbuildsycoca4 from 'write' accesses on the file /usr/share/locale/en_US/entry.desktop.
Summary: SELinux is preventing /usr/bin/kbuildsycoca4 from 'write' accesses on the fil...
Keywords:
Status: CLOSED DUPLICATE of bug 906767
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:be8b885ecbf7e510a8fa159a0b1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-01 12:47 UTC by Wesklay Vinicius
Modified: 2013-02-01 13:59 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-01 13:59:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Wesklay Vinicius 2013-02-01 12:47:18 UTC
Description of problem:
SELinux is preventing /usr/bin/kbuildsycoca4 from 'write' accesses on the file /usr/share/locale/en_US/entry.desktop.

*****  Plugin catchall (100. confidence) suggests  ***************************

If você acredita que o kbuildsycoca4 deva ser permitido acesso de write em entry.desktop file  por default.
Then você precisa reportar este como um erro.
Você pode gerar um módulo de política local para permitir este acesso.
Do
permitir este acesso agora executando:
# grep kbuildsycoca4 /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Target Context                system_u:object_r:locale_t:s0
Target Objects                /usr/share/locale/en_US/entry.desktop [ file ]
Source                        kbuildsycoca4
Source Path                   /usr/bin/kbuildsycoca4
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           kdelibs-4.9.5-2.fc18.x86_64
Target RPM Packages           kdelibs-common-4.9.5-2.fc18.x86_64
Policy RPM                    selinux-policy-3.11.1-73.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.6.10-4.fc18.x86_64 #1 SMP Tue
                              Dec 11 18:01:27 UTC 2012 x86_64 x86_64
Alert Count                   7
First Seen                    2013-02-01 09:37:44 BRT
Last Seen                     2013-02-01 09:39:14 BRT
Local ID                      c8c3f4f0-f538-4980-b579-dae32b37ae95

Raw Audit Messages
type=AVC msg=audit(1359722354.877:452): avc:  denied  { write } for  pid=14902 comm="kbuildsycoca4" name="entry.desktop" dev="sda7" ino=143657 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:locale_t:s0 tclass=file


type=SYSCALL msg=audit(1359722354.877:452): arch=x86_64 syscall=access success=no exit=EACCES a0=9895e8 a1=2 a2=989501 a3=2 items=0 ppid=14897 pid=14902 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm=kbuildsycoca4 exe=/usr/bin/kbuildsycoca4 subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)

Hash: kbuildsycoca4,mozilla_plugin_t,locale_t,file,write

audit2allow

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t locale_t:file write;

audit2allow -R

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t locale_t:file write;


Additional info:
hashmarkername: setroubleshoot
kernel:         3.6.10-4.fc18.x86_64
type:           libreport

Comment 1 Daniel Walsh 2013-02-01 13:59:17 UTC

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


Note You need to log in before you can comment on or make changes to this bug.