Bug 877597

Summary: SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'open' accesses on the file /tmp/.XauthcmMUfc.
Product: [Fedora] Fedora Reporter: nathury <nathury>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED INSUFFICIENT_DATA 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: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:0e0667af836f4c1d1e09498b0cc5d18f163e25ef5e19f2713c90b0100c884af8
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-07 07:33:12 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:
Attachments:
Description Flags
File: type
none
File: hashmarkername none

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.