Bug 878203 - SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'write' accesses on the sock_file /home/heiko/.cache/keyring-Jhpzef/pkcs11.
Summary: SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'write' acce...
Keywords:
Status: CLOSED ERRATA
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:c21d333dae2f8632d6c2ebb7eca...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-19 20:44 UTC by Heiko Adams
Modified: 2013-07-07 07:31 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-07-07 07:31:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-11-19 20:44 UTC, Heiko Adams
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-11-19 20:44 UTC, Heiko Adams
no flags Details

Description Heiko Adams 2012-11-19 20:44:24 UTC
Description of problem:
Tried to watch an mp4 video inside firefox

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 'write' accesses on the sock_file /home/heiko/.cache/keyring-Jhpzef/pkcs11.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If sie denken, dass plugin-container standardmässig erlaubt sein sollte, write Zugriff auf pkcs11 sock_file zu erhalten.
:Then sie sollten dies als Fehler melden.
:Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
:Do
:zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
:# 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-s0:c
:                              0.c1023
:Target Context                unconfined_u:object_r:cache_home_t:s0
:Target Objects                /home/heiko/.cache/keyring-Jhpzef/pkcs11 [
:                              sock_file ]
:Source                        plugin-containe
:Source Path                   /usr/lib64/xulrunner/plugin-container
:Port                          <Unbekannt>
:Host                          (removed)
:Source RPM Packages           xulrunner-17.0-2.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                   1
:First Seen                    2012-11-19 21:43:00 CET
:Last Seen                     2012-11-19 21:43:00 CET
:Local ID                      555e8939-222e-4e91-97c5-c1d73d1e7cb9
:
:Raw Audit Messages
:type=AVC msg=audit(1353357780.893:283): avc:  denied  { write } for  pid=14581 comm="plugin-containe" name="pkcs11" dev="dm-1" ino=15204370 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:cache_home_t:s0 tclass=sock_file
:
:
:type=SYSCALL msg=audit(1353357780.893:283): arch=x86_64 syscall=connect success=no exit=EACCES a0=13 a1=7f45354f4000 a2=6e a3=fffffffffffff85e items=0 ppid=1369 pid=14581 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=plugin-containe exe=/usr/lib64/xulrunner/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: plugin-containe,mozilla_plugin_t,cache_home_t,sock_file,write
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t cache_home_t:sock_file write;
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t cache_home_t:sock_file write;
:

Comment 1 Heiko Adams 2012-11-19 20:44:46 UTC
Created attachment 648117 [details]
File: type

Comment 2 Heiko Adams 2012-11-19 20:44:48 UTC
Created attachment 648118 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-11-20 14:31:44 UTC
Heiko,
do you know which plugin did it cause (what were you doing)?

Comment 4 Heiko Adams 2012-11-20 14:44:32 UTC
It was the vlc web plugin

Comment 5 Daniel Walsh 2012-11-21 15:12:50 UTC
34c9474fa73a76cfee4fe32bf7be2ea352efb432 fixes this in F18.

Comment 6 Fedora End Of Life 2013-07-04 00:53:20 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.

Comment 7 Miroslav Grepl 2013-07-07 07:31:38 UTC
Has been fixed.


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