Bug 860527 - SELinux is preventing /usr/bin/evince-thumbnailer from 'setattr' accesses on the directory /home/gabriel2058/.fontconfig.
Summary: SELinux is preventing /usr/bin/evince-thumbnailer from 'setattr' accesses on ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:46599a72fda9628e754b2f43b3e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-26 04:35 UTC by Gabriel
Modified: 2012-12-20 15:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-20 15:20:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-09-26 04:35 UTC, Gabriel
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-09-26 04:35 UTC, Gabriel
no flags Details

Description Gabriel 2012-09-26 04:35:21 UTC
Additional info:
libreport version: 2.0.13
kernel:         3.5.4-1.fc17.x86_64

description:
:SELinux is preventing /usr/bin/evince-thumbnailer from 'setattr' accesses on the directory /home/gabriel2058/.fontconfig.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If você acredita que o evince-thumbnailer deva ser permitido acesso de setattr em .fontconfig directory  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 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:user_fonts_cache_t:s0
:Target Objects                /home/gabriel2058/.fontconfig [ dir ]
:Source                        evince-thumbnai
:Source Path                   /usr/bin/evince-thumbnailer
:Port                          <Desconhecido>
:Host                          (removed)
:Source RPM Packages           evince-3.4.0-2.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-149.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.5.4-1.fc17.x86_64 #1 SMP Mon Sep
:                              17 15:03:59 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    2012-09-26 01:33:13 BRT
:Last Seen                     2012-09-26 01:33:13 BRT
:Local ID                      3ceb24c2-853e-418f-822e-d8debd2201b6
:
:Raw Audit Messages
:type=AVC msg=audit(1348633993.467:90): avc:  denied  { setattr } for  pid=2986 comm="evince-thumbnai" name=".fontconfig" dev="sda5" ino=263674 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_fonts_cache_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1348633993.467:90): arch=x86_64 syscall=chmod success=no exit=EACCES a0=17578d0 a1=1ed a2=d a3=7fff113e8560 items=0 ppid=2972 pid=2986 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 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,user_fonts_cache_t,dir,setattr
:
:audit2allow
:
:#============= thumb_t ==============
:allow thumb_t user_fonts_cache_t:dir setattr;
:
:audit2allow -R
:
:#============= thumb_t ==============
:allow thumb_t user_fonts_cache_t:dir setattr;
:

Comment 1 Gabriel 2012-09-26 04:35:25 UTC
Created attachment 617383 [details]
File: type

Comment 2 Gabriel 2012-09-26 04:35:27 UTC
Created attachment 617384 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-09-26 13:18:45 UTC
Fixed.

Comment 4 Fedora Update System 2012-10-08 14:06:15 UTC
selinux-policy-3.10.0-153.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-153.fc17

Comment 5 Fedora Update System 2012-10-08 21:57:18 UTC
Package selinux-policy-3.10.0-153.fc17:
* should fix your issue,
* was pushed to the Fedora 17 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.10.0-153.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-15652/selinux-policy-3.10.0-153.fc17
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-12-20 15:20:55 UTC
selinux-policy-3.10.0-153.fc17 has been pushed to the Fedora 17 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.