Bug 860527

Summary: SELinux is preventing /usr/bin/evince-thumbnailer from 'setattr' accesses on the directory /home/gabriel2058/.fontconfig.
Product: [Fedora] Fedora Reporter: Gabriel <gabriel2058>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:46599a72fda9628e754b2f43b3ef5d3532d0d1576e273d9c5e673311fff34c4c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-20 15:20:49 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:
Attachments:
Description Flags
File: type
none
File: hashmarkername none

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.