Bug 882286 - SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'read' accesses on the directory VMwareDnD.
Summary: SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'read' acces...
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:076db762070ae9a5db72e7f5aee...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-30 15:14 UTC by markusN
Modified: 2012-12-03 09:00 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-03 09:00:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-11-30 15:14 UTC, markusN
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-11-30 15:14 UTC, markusN
no flags Details

Description markusN 2012-11-30 15:14:52 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.6.7-4.fc17.x86_64

description:
:SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'read' accesses on the directory VMwareDnD.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that plugin-container should be allowed read access on the VMwareDnD directory 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 pool /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                system_u:object_r:initrc_tmp_t:s0
:Target Objects                VMwareDnD [ dir ]
:Source                        pool
:Source Path                   /usr/lib64/xulrunner/plugin-container
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           xulrunner-17.0-3.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.7-4.fc17.x86_64 #1 SMP Tue Nov
:                              20 19:40:01 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    2012-11-27 17:57:31 CET
:Last Seen                     2012-11-30 13:41:40 CET
:Local ID                      3e615d25-3e0a-46e1-b1b6-4dd657e589f5
:
:Raw Audit Messages
:type=AVC msg=audit(1354279300.961:147): avc:  denied  { read } for  pid=16541 comm="pool" name="VMwareDnD" dev="sda1" ino=268754 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1354279300.961:147): arch=x86_64 syscall=open success=no exit=EACCES a0=7f5f5afb0fa0 a1=40000 a2=7f5f63a9abb0 a3=746163696c707061 items=0 ppid=2288 pid=16541 auid=1338 uid=1338 gid=500 euid=1338 suid=1338 fsuid=1338 egid=500 sgid=500 fsgid=500 tty=(none) ses=2 comm=pool exe=/usr/lib64/xulrunner/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: pool,mozilla_plugin_t,initrc_tmp_t,dir,read
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t initrc_tmp_t:dir read;
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t initrc_tmp_t:dir read;
:

Comment 1 markusN 2012-11-30 15:14:56 UTC
Created attachment 655114 [details]
File: type

Comment 2 markusN 2012-11-30 15:14:58 UTC
Created attachment 655115 [details]
File: hashmarkername

Comment 3 Daniel Walsh 2012-11-30 18:52:44 UTC
Do you have a directory named pool under /tmp? that a firefox plugin is trying to read?

Comment 4 markusN 2012-11-30 19:28:17 UTC
There is no directory /tmp/pool on my machine.

Comment 5 Daniel Walsh 2012-11-30 19:48:39 UTC
Sorry, it is the pool command reading VMwareDnD directory.

Comment 6 Miroslav Grepl 2012-12-03 09:00:41 UTC
Does everythin work correctly?

If no you will need to turn off plugin protection

# setsebool unconfined_mozilla_plugin_transition off

to make VMware working with a plugin.


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