Bug 877597 - SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'open' accesses on the file /tmp/.XauthcmMUfc.
Summary: SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'open' acces...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
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:0e0667af836f4c1d1e09498b0cc...
: 877598 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-17 05:19 UTC by nathury
Modified: 2013-07-07 07:33 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-07-07 07:33:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-11-17 05:19 UTC, nathury
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-11-17 05:19 UTC, nathury
no flags Details

Description nathury 2012-11-17 05:19:50 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.6.6-1.fc17.x86_64

description:
:SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'open' accesses on the file /tmp/.XauthcmMUfc.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If cree que de manera predeterminada, plugin-container debería permitir acceso open sobre  .XauthcmMUfc 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 plugin-containe /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0
:Target Context                system_u:object_r:initrc_tmp_t:s0
:Target Objects                /tmp/.XauthcmMUfc [ file ]
:Source                        plugin-containe
:Source Path                   /usr/lib64/xulrunner/plugin-container
:Port                          <Desconocido>
:Host                          (removed)
:Source RPM Packages           xulrunner-16.0.2-1.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-159.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.6-1.fc17.x86_64 #1 SMP Mon Nov
:                              5 21:59:35 UTC 2012 x86_64 x86_64
:Alert Count                   16
:First Seen                    2012-11-16 22:51:03 CST
:Last Seen                     2012-11-16 23:20:29 CST
:Local ID                      0e605c22-8add-4a3e-83ca-b981c13b01ec
:
:Raw Audit Messages
:type=AVC msg=audit(1353129629.708:134): avc:  denied  { open } for  pid=1877 comm="plugin-containe" path="/tmp/.XauthcmMUfc" dev="sda2" ino=4149 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1353129629.708:134): arch=x86_64 syscall=open success=no exit=EACCES a0=7fff83ae8e42 a1=0 a2=1b6 a3=fffffffffffffe4e items=0 ppid=1808 pid=1877 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm=plugin-containe exe=/usr/lib64/xulrunner/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0 key=(null)
:
:Hash: plugin-containe,mozilla_plugin_t,initrc_tmp_t,file,open
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t initrc_tmp_t:file open;
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t initrc_tmp_t:file open;
:

Comment 1 nathury 2012-11-17 05:19:54 UTC
Created attachment 646695 [details]
File: type

Comment 2 nathury 2012-11-17 05:19:56 UTC
Created attachment 646696 [details]
File: hashmarkername

Comment 3 Daniel Walsh 2012-11-17 12:00:27 UTC
Ok something is strange here or you are using an applicaiton we do not know about.

You have an Xauth file that was created by a process running as initrc_t, and then you are running user programs using it.

ps -eZ | grep initrc_t

How did you start this X session?

Comment 4 Daniel Walsh 2012-11-17 12:00:51 UTC
*** Bug 877598 has been marked as a duplicate of this bug. ***

Comment 5 Fedora End Of Life 2013-07-04 00:53:07 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.


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