Bug 864624 - SELinux is preventing /usr/bin/gtk-gnash from 'read' accesses on the file pulse-shm-954421147.
SELinux is preventing /usr/bin/gtk-gnash from 'read' accesses on the file pul...
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-10-09 15:07 EDT by Alberto Salvador Rivera
Modified: 2012-12-20 10:21 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-12-20 10:20:59 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-10-09 15:07 EDT, Alberto Salvador Rivera
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-10-09 15:07 EDT, Alberto Salvador Rivera
no flags Details

  None (edit)
Description Alberto Salvador Rivera 2012-10-09 15:07:14 EDT
Additional info:
libreport version: 2.0.14
kernel:         3.5.5-2.fc17.x86_64

:SELinux is preventing /usr/bin/gtk-gnash from 'read' accesses on the file pulse-shm-954421147.
:*****  Plugin catchall (100. confidence) suggests  ***************************
:If cree que de manera predeterminada, gtk-gnash debería permitir acceso read sobre  pulse-shm-954421147 file.     
:Then debería reportar esto como un error.
:Puede generar un módulo de política local para permitir este acceso.
:permita el acceso momentáneamente executando:
:# grep gtk-gnash /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:tmpfs_t:s0
:Target Objects                pulse-shm-954421147 [ file ]
:Source                        gtk-gnash
:Source Path                   /usr/bin/gtk-gnash
:Port                          <Desconocido>
:Host                          (removed)
:Source RPM Packages           gnash-0.8.10-2.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-149.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.5.5-2.fc17.x86_64 #1 SMP Wed Oct
:                              3 13:20:37 UTC 2012 x86_64 x86_64
:Alert Count                   4
:First Seen                    2012-10-09 23:02:12 CEST
:Last Seen                     2012-10-09 23:02:14 CEST
:Local ID                      31bafb4d-0b9a-4518-9686-057877d203de
:Raw Audit Messages
:type=AVC msg=audit(1349816534.236:252): avc:  denied  { read } for  pid=25267 comm="gtk-gnash" name="pulse-shm-954421147" dev="tmpfs" ino=6996997 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:tmpfs_t:s0 tclass=file
:type=SYSCALL msg=audit(1349816534.236:252): arch=x86_64 syscall=open success=no exit=EACCES a0=7fff5e1e0210 a1=a0000 a2=0 a3=0 items=0 ppid=23174 pid=25267 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=gtk-gnash exe=/usr/bin/gtk-gnash subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:Hash: gtk-gnash,mozilla_plugin_t,tmpfs_t,file,read
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t tmpfs_t:file read;
:audit2allow -R
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t tmpfs_t:file read;
Comment 1 Alberto Salvador Rivera 2012-10-09 15:07:17 EDT
Created attachment 624238 [details]
File: type
Comment 2 Alberto Salvador Rivera 2012-10-09 15:07:20 EDT
Created attachment 624239 [details]
File: hashmarkername
Comment 3 Daniel Walsh 2012-10-10 08:50:58 EDT
I always wonder where these files come from.  If the pulseaudio file was created by a user process it should be labelled user_tmpfs_t, 

I wonder if unconfined_dbusd_t could have created this file?
Comment 4 Daniel Walsh 2012-10-10 08:59:10 EDT
ps -eZ | grep pulse
Comment 5 Miroslav Grepl 2012-10-17 03:39:16 EDT
We added some fixes which should fix it.
Comment 6 Fedora Update System 2012-10-17 08:35:16 EDT
selinux-policy-3.10.0-156.fc17 has been submitted as an update for Fedora 17.
Comment 7 Fedora Update System 2012-10-17 20:26:36 EDT
Package selinux-policy-3.10.0-156.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-156.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 8 Fedora Update System 2012-12-20 10:21:06 EST
selinux-policy-3.10.0-156.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

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