Bug 882707

Summary: SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'write' accesses on the file .pulse-cookie.
Product: [Fedora] Fedora Reporter: jnelson+fedora
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE 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:0192f8194cb6bea10538bafdb2525fae551a34bc8e1c946fd76657db2dd4e322
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-02 19:53:52 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 jnelson+fedora 2012-12-02 19:45:56 UTC
Description of problem:
firefox plus anything that uses plugin-container and sound with pulseaudio

Additional info:
libreport version: 2.0.18
kernel:         3.6.8-2.fc17.x86_64

description:
:SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'write' accesses on the file .pulse-cookie.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that plugin-container should be allowed write access on the .pulse-cookie file 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 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:user_home_t:s0
:Target Objects                .pulse-cookie [ file ]
:Source                        plugin-containe
: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.8-2.fc17.x86_64 #1 SMP Tue Nov
:                              27 19:35:02 UTC 2012 x86_64 x86_64
:Alert Count                   16
:First Seen                    2012-12-02 12:26:18 CST
:Last Seen                     2012-12-02 12:44:08 CST
:Local ID                      3e76a7de-a35d-4a27-a410-cecbf4aff8f6
:
:Raw Audit Messages
:type=AVC msg=audit(1354473848.622:86): avc:  denied  { write } for  pid=2340 comm="plugin-containe" name=".pulse-cookie" dev="dm-1" ino=8391182 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1354473848.622:86): arch=x86_64 syscall=open success=no exit=EACCES a0=7f142e5fe4a0 a1=80142 a2=180 a3=ffffe000 items=0 ppid=2207 pid=2340 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-s0:c0.c1023 key=(null)
:
:Hash: plugin-containe,mozilla_plugin_t,user_home_t,file,write
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t user_home_t:file write;
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t user_home_t:file write;
:


Potential duplicate bug: 678136

Comment 1 jnelson+fedora 2012-12-02 19:45:59 UTC
Created attachment 656200 [details]
File: type

Comment 2 jnelson+fedora 2012-12-02 19:46:01 UTC
Created attachment 656201 [details]
File: hashmarkername

Comment 3 jnelson+fedora 2012-12-02 19:53:52 UTC

*** This bug has been marked as a duplicate of bug 678136 ***