Bug 855420 - SELinux is preventing /usr/bin/okular from 'create' accesses on the lnk_file 504a2450e4906.
Summary: SELinux is preventing /usr/bin/okular from 'create' accesses on the lnk_file ...
Keywords:
Status: CLOSED CANTFIX
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:05c7c2d70efa44aac6a3e986722...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-07 16:56 UTC by Chris
Modified: 2012-09-10 07:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-10 07:20:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-09-07 16:56 UTC, Chris
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-09-07 16:56 UTC, Chris
no flags Details

Description Chris 2012-09-07 16:56:36 UTC
Additional info:
libreport version: 2.0.13
kernel:         3.5.3-1.fc17.x86_64

description:
:SELinux is preventing /usr/bin/okular from 'create' accesses on the lnk_file 504a2450e4906.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that okular should be allowed create access on the 504a2450e4906 lnk_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 okular /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
:                              0.c1023
:Target Context                unconfined_u:object_r:tmp_t:s0
:Target Objects                504a2450e4906 [ lnk_file ]
:Source                        okular
:Source Path                   /usr/bin/okular
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           okular-4.8.5-3.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-146.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.5.3-1.fc17.x86_64 #1 SMP Wed Aug
:                              29 18:46:34 UTC 2012 x86_64 x86_64
:Alert Count                   142
:First Seen                    2012-09-07 10:43:46 MDT
:Last Seen                     2012-09-07 10:44:00 MDT
:Local ID                      48779943-111d-4500-ac36-63a9e94e2b1f
:
:Raw Audit Messages
:type=AVC msg=audit(1347036240.935:23748): avc:  denied  { create } for  pid=17089 comm="okular" name="504a2450e4906" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:tmp_t:s0 tclass=lnk_file
:
:
:type=SYSCALL msg=audit(1347036240.935:23748): arch=x86_64 syscall=symlink success=no exit=EACCES a0=7fffaca22e80 a1=13e4564 a2=13e4576 a3=33 items=0 ppid=17088 pid=17089 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=18 comm=okular exe=/usr/bin/okular subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: okular,mozilla_plugin_t,tmp_t,lnk_file,create
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t tmp_t:lnk_file create;
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t tmp_t:lnk_file create;
:

Comment 1 Chris 2012-09-07 16:56:38 UTC
Created attachment 610797 [details]
File: type

Comment 2 Chris 2012-09-07 16:56:39 UTC
Created attachment 610798 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-09-10 07:20:27 UTC
If you want to use okular you will need to change the unconfined_mozilla_plugin_transition boolean

Execute in your terminal

# setsebool -P unconfined_mozilla_plugin_transition 0


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