Bug 850619

Summary: SELinux is preventing /opt/Adobe/Reader9/Reader/intellinux/bin/acroread from 'create' accesses on the lnk_file 503440272781f.
Product: [Fedora] Fedora Reporter: Oswaldo Vazquez <geros76>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG 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: i686   
OS: Unspecified   
Whiteboard: abrt_hash:50866c0c9b64b1aa3e11a37c0802fa6f59c3e17c5297605c7f9274c15c186ed7
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 10:54:51 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:

Description Oswaldo Vazquez 2012-08-22 02:18:34 UTC
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.5.2-1.fc17.i686
time:           mar 21 ago 2012 21:17:22 CDT

description:
:SELinux is preventing /opt/Adobe/Reader9/Reader/intellinux/bin/acroread from 'create' accesses on the lnk_file 503440272781f.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If cree que de manera predeterminada, acroread debería permitir acceso create sobre  503440272781f lnk_file.     
:Then debería reportar esto como un error.
:Puede generar un módulo de política local para permitir este acceso.
:Do
:permita el acceso momentáneamente executando:
:# grep acroread /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                503440272781f [ lnk_file ]
:Source                        acroread
:Source Path                   /opt/Adobe/Reader9/Reader/intellinux/bin/acroread
:Port                          <Desconocido>
:Host                          (removed)
:Source RPM Packages           AdobeReader_enu-9.5.1-1.i486
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-145.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.5.2-1.fc17.i686 #1 SMP Wed Aug
:                              15 16:52:27 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    2012-08-21 21:12:55 CDT
:Last Seen                     2012-08-21 21:12:55 CDT
:Local ID                      211f2192-50e8-4cc8-9299-06922c4f0041
:
:Raw Audit Messages
:type=AVC msg=audit(1345601575.160:6408): avc:  denied  { create } for  pid=10205 comm="acroread" name="503440272781f" 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(1345601575.160:6408): arch=i386 syscall=symlink success=no exit=EACCES a0=bff54688 a1=cc46b78 a2=4ab1605c a3=cc46b78 items=0 ppid=10194 pid=10205 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=acroread exe=/opt/Adobe/Reader9/Reader/intellinux/bin/acroread subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: acroread,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 Miroslav Grepl 2012-08-22 10:54:51 UTC
You can either remove the mozplugger package by executing 

yum remove mozplugger 

or you can turn off the unconfined_mozilla_plugin_transition boolean using 

setsebool -P unconfined_mozilla_plugin_transition 0.