Bug 864624 - SELinux is preventing /usr/bin/gtk-gnash from 'read' accesses on the file pulse-shm-954421147.
Summary: SELinux is preventing /usr/bin/gtk-gnash from 'read' accesses on the file pul...
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:8fdd346fdc9457f7d8f0abd9274...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-09 19:07 UTC by Alberto Salvador Rivera
Modified: 2012-12-20 15:21 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-20 15:20:59 UTC
Type: ---
Embargoed:


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

Description Alberto Salvador Rivera 2012-10-09 19:07:14 UTC
Additional info:
libreport version: 2.0.14
kernel:         3.5.5-2.fc17.x86_64

description:
: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.
:Do
: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
:
:audit2allow
:
:#============= 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 19:07:17 UTC
Created attachment 624238 [details]
File: type

Comment 2 Alberto Salvador Rivera 2012-10-09 19:07:20 UTC
Created attachment 624239 [details]
File: hashmarkername

Comment 3 Daniel Walsh 2012-10-10 12:50:58 UTC
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 12:59:10 UTC
ps -eZ | grep pulse

Comment 5 Miroslav Grepl 2012-10-17 07:39:16 UTC
We added some fixes which should fix it.

Comment 6 Fedora Update System 2012-10-17 12:35:16 UTC
selinux-policy-3.10.0-156.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-156.fc17

Comment 7 Fedora Update System 2012-10-18 00:26:36 UTC
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:
https://admin.fedoraproject.org/updates/FEDORA-2012-16347/selinux-policy-3.10.0-156.fc17
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2012-12-20 15:21:06 UTC
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.