Bug 812969

Summary: SELinux is preventing /usr/bin/evince-thumbnailer from 'read' accesses on the lnk_file scuola.
Product: [Fedora] Fedora Reporter: Giovanni Campagna <scampa.giovanni>
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, jamescape777, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:0b1079fafcf8e4faa191a4fc1b9c10cf1b40b8ef3052a09b46b7a781028a6407
Fixed In Version: selinux-policy-3.10.0-116.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-18 23:08:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Giovanni Campagna 2012-04-16 17:03:43 UTC
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.3.1-5.fc17.x86_64
time:           lun 16 apr 2012 19:03:22 CEST

description:
:SELinux is preventing /usr/bin/evince-thumbnailer from 'read' accesses on the lnk_file scuola.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If si crede che evince-thumbnailer dovrebbe avere possibilità di accesso read sui scuola lnk_file in modo predefinito.
:Then si dovrebbe riportare il problema come bug.
:E' possibile generare un modulo di politica locale per consentire questo accesso.
:Do
:consentire questo accesso per il momento eseguendo:
:# 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_home_t:s0
:Target Objects                scuola [ lnk_file ]
:Source                        evince-thumbnai
:Source Path                   /usr/bin/evince-thumbnailer
:Port                          <Sconosciuto>
:Host                          (removed)
:Source RPM Packages           evince-3.4.0-1.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-114.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.1-5.fc17.x86_64 #1
:                              SMP Tue Apr 10 20:42:28 UTC 2012 x86_64 x86_64
:Alert Count                   17
:First Seen                    lun 16 apr 2012 19:02:25 CEST
:Last Seen                     lun 16 apr 2012 19:02:26 CEST
:Local ID                      4e9de0b0-626a-42d7-8fd3-64501b4552bb
:
:Raw Audit Messages
:type=AVC msg=audit(1334595746.958:115): avc:  denied  { read } for  pid=2824 comm="evince-thumbnai" name="scuola" dev="sda8" ino=8782101 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=lnk_file
:
:
:type=SYSCALL msg=audit(1334595746.958:115): arch=x86_64 syscall=open success=no exit=EACCES a0=1785e60 a1=0 a2=0 a3=aaaaaaaaaaaaaaab items=0 ppid=2748 pid=2824 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 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_home_t,lnk_file,read
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:

Comment 1 Miroslav Grepl 2012-04-16 18:15:53 UTC
This is fixed in the -115.fc17.

Comment 2 Fedora Update System 2012-04-16 21:29:07 UTC
selinux-policy-3.10.0-116.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-116.fc17

Comment 3 Fedora Update System 2012-04-18 23:08:29 UTC
selinux-policy-3.10.0-116.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.