Bug 889156 - SELinux is preventing /opt/Adobe/Reader8/Reader/intellinux/bin/acroread from 'create' accesses on the message queue .
Summary: SELinux is preventing /opt/Adobe/Reader8/Reader/intellinux/bin/acroread from ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:8e9459edfea58fae0fc028f045a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-20 11:06 UTC by Ilario Pierbattista
Modified: 2013-01-07 03:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-07 03:58:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-12-20 11:06 UTC, Ilario Pierbattista
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-12-20 11:06 UTC, Ilario Pierbattista
no flags Details

Description Ilario Pierbattista 2012-12-20 11:06:47 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.6.10-2.fc17.i686

description:
:SELinux is preventing /opt/Adobe/Reader8/Reader/intellinux/bin/acroread from 'create' accesses on the message queue .
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If si crede che acroread dovrebbe avere possibilità di accesso create sui  msgq 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 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:unconfined_r:mozilla_plugin_t:s0-s0:c
:                              0.c1023
:Target Objects                 [ msgq ]
:Source                        acroread
:Source Path                   /opt/Adobe/Reader8/Reader/intellinux/bin/acroread
:Port                          <Sconosciuto>
:Host                          (removed)
:Source RPM Packages           AdobeReader_ita-8.1.7-1.i486
: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.10-2.fc17.i686 #1 SMP Tue Dec
:                              11 18:33:15 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    2012-12-20 12:03:54 CET
:Last Seen                     2012-12-20 12:03:54 CET
:Local ID                      d414263c-27a3-4258-b468-eed84fccdce4
:
:Raw Audit Messages
:type=AVC msg=audit(1356001434.355:84): avc:  denied  { create } for  pid=4387 comm="acroread" key=1107428242  scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tclass=msgq
:
:
:type=SYSCALL msg=audit(1356001434.355:84): arch=i386 syscall=ipc per=400000 success=no exit=EACCES a0=d a1=42020392 a2=3c0 a3=0 items=0 ppid=4382 pid=4387 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/Reader8/Reader/intellinux/bin/acroread subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: acroread,mozilla_plugin_t,mozilla_plugin_t,msgq,create
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t self:msgq create;
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t self:msgq create;
:

Comment 1 Ilario Pierbattista 2012-12-20 11:06:51 UTC
Created attachment 666597 [details]
File: type

Comment 2 Ilario Pierbattista 2012-12-20 11:06:56 UTC
Created attachment 666598 [details]
File: hashmarkername

Comment 3 Daniel Walsh 2012-12-20 14:59:46 UTC
We should allow this.

2642bb45850ab99ecf71f3945df3697eb0dca905 in F18.

Comment 4 Miroslav Grepl 2012-12-27 09:05:11 UTC
Added to F17.

commit 8f4c66cffee201b967876a48aa22c3ddf7f21cf5
Author: Miroslav Grepl <mgrepl>
Date:   Thu Dec 27 10:03:57 2012 +0100

    Allow chrome and mozilla_plugin to create msgq and semaphores

Comment 5 Fedora Update System 2013-01-03 13:06:05 UTC
selinux-policy-3.10.0-166.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-166.fc17

Comment 6 Fedora Update System 2013-01-05 06:38:14 UTC
Package selinux-policy-3.10.0-166.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-166.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-166.fc17
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-01-07 03:58:05 UTC
selinux-policy-3.10.0-166.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


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