Bug 894966 - SELinux is preventing /usr/bin/evince-thumbnailer from 'create' accesses on the directory fontconfig.
Summary: SELinux is preventing /usr/bin/evince-thumbnailer from 'create' accesses on t...
Keywords:
Status: CLOSED CURRENTRELEASE
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:777c2c0da8316930663ef02f914...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-14 07:20 UTC by Hedayat Vatankhah
Modified: 2013-01-23 01:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-23 01:55:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Hedayat Vatankhah 2013-01-14 07:20:33 UTC
Description of problem:
SELinux is preventing /usr/bin/evince-thumbnailer from 'create' accesses on the directory fontconfig.

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

If you believe that evince-thumbnailer should be allowed create access on the fontconfig directory by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep evince-thumbnai /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:cache_home_t:s0
Target Objects                fontconfig [ dir ]
Source                        evince-thumbnai
Source Path                   /usr/bin/evince-thumbnailer
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           evince-3.6.1-2.fc18.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-66.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                   4
First Seen                    2013-01-14 10:44:54 IRST
Last Seen                     2013-01-14 10:44:54 IRST
Local ID                      284aff6b-6008-4522-9c56-79fcbf8fa97f

Raw Audit Messages
type=AVC msg=audit(1358147694.885:421): avc:  denied  { create } for  pid=6970 comm="evince-thumbnai" name="fontconfig" scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:cache_home_t:s0 tclass=dir


type=SYSCALL msg=audit(1358147694.885:421): arch=x86_64 syscall=mkdir success=no exit=EACCES a0=133d3a0 a1=1ed a2=13515d0 a3=15 items=0 ppid=2642 pid=6970 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=9 comm=evince-thumbnai exe=/usr/bin/evince-thumbnailer subj=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 key=(null)

Hash: evince-thumbnai,thumb_t,cache_home_t,dir,create

audit2allow
audit2allow -R

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

Comment 1 Miroslav Grepl 2013-01-14 09:40:37 UTC
Fixed in selinux-policy-3.11.1-71.fc18

Comment 2 Fedora Update System 2013-01-15 22:20:15 UTC
selinux-policy-3.11.1-71.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-71.fc18

Comment 3 Fedora Update System 2013-01-18 20:41:14 UTC
Package selinux-policy-3.11.1-71.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-71.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-0945/selinux-policy-3.11.1-71.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-01-23 01:55:36 UTC
selinux-policy-3.11.1-71.fc18 has been pushed to the Fedora 18 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.