Bug 885293 - SELinux is preventing /usr/bin/evince-thumbnailer from 'execute' accesses on the file /opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0.
Summary: SELinux is preventing /usr/bin/evince-thumbnailer from 'execute' accesses on ...
Keywords:
Status: CLOSED NOTABUG
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:8f16d0e0a0b450f115361b3b9f6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-08 10:21 UTC by Jörg BUCHMANN
Modified: 2012-12-10 09:36 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-10 09:36:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-12-08 10:21 UTC, Jörg BUCHMANN
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-12-08 10:21 UTC, Jörg BUCHMANN
no flags Details

Description Jörg BUCHMANN 2012-12-08 10:21:34 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.6.9-2.fc17.x86_64

description:
:SELinux is preventing /usr/bin/evince-thumbnailer from 'execute' accesses on the file /opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0.
:
:*****  Plugin restorecon (94.8 confidence) suggests  *************************
:
:If you want to fix the label. 
:/opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0 default label should be lib_t.
:Then you can run restorecon.
:Do
:# /sbin/restorecon -v /opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0
:
:*****  Plugin catchall_labels (5.21 confidence) suggests  ********************
:
:If you want to allow evince-thumbnailer to have execute access on the libjpeg.so.62.0.0 file
:Then you need to change the label on /opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0
:Do
:# semanage fcontext -a -t FILE_TYPE '/opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0'
:where FILE_TYPE is one of the following: gstreamer_home_t, thumb_tmp_t, bin_t, ld_so_t, lib_t, shell_exec_t, thumb_exec_t, abrt_helper_exec_t, textrel_shlib_t, lib_t, textrel_shlib_t. 
:Then execute: 
:restorecon -v '/opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0'
:
:
:*****  Plugin catchall (1.44 confidence) suggests  ***************************
:
:If you believe that evince-thumbnailer should be allowed execute access on the libjpeg.so.62.0.0 file 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:usr_t:s0
:Target Objects                /opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.
:                              62.0.0 [ file ]
:Source                        evince-thumbnai
:Source Path                   /usr/bin/evince-thumbnailer
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           evince-3.4.0-2.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-161.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.9-2.fc17.x86_64 #1 SMP Tue Dec
:                              4 13:26:04 UTC 2012 x86_64 x86_64
:Alert Count                   4
:First Seen                    2012-12-08 10:13:56 CET
:Last Seen                     2012-12-08 10:14:02 CET
:Local ID                      66e4377f-64c9-4983-99cf-e46dfa32ade1
:
:Raw Audit Messages
:type=AVC msg=audit(1354958042.822:138): avc:  denied  { execute } for  pid=12934 comm="evince-thumbnai" path="/opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0" dev="dm-1" ino=1193390 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:usr_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1354958042.822:138): arch=x86_64 syscall=mmap success=no exit=EACCES a0=0 a1=223278 a2=5 a3=802 items=0 ppid=12831 pid=12934 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,usr_t,file,execute
:
:audit2allow
:
:#============= thumb_t ==============
:allow thumb_t usr_t:file execute;
:
:audit2allow -R
:
:#============= thumb_t ==============
:allow thumb_t usr_t:file execute;
:

Comment 1 Jörg BUCHMANN 2012-12-08 10:21:38 UTC
Created attachment 659796 [details]
File: type

Comment 2 Jörg BUCHMANN 2012-12-08 10:21:41 UTC
Created attachment 659797 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-12-10 09:36:14 UTC
The alert tells you what to do.


:If you want to fix the label. 
:/opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0 default label should be lib_t.
:Then you can run restorecon.
:Do
:# /sbin/restorecon -v /opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0


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