Bug 1033459 - SELinux is preventing /usr/bin/gtk-gnash from 'read' accesses on the file pulse-shm-3082875261.
Summary: SELinux is preventing /usr/bin/gtk-gnash from 'read' accesses on the file pul...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ff56b90e2339738aa46edf69b17...
: 1033458 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-22 07:09 UTC by Nicolas Mailhot
Modified: 2013-11-22 10:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-22 10:12:16 UTC
Type: ---


Attachments (Terms of Use)

Description Nicolas Mailhot 2013-11-22 07:09:13 UTC
Description of problem:
SELinux is preventing /usr/bin/gtk-gnash from 'read' accesses on the file pulse-shm-3082875261.

*****  Plugin mozplugger (99.1 confidence) suggests   ************************

If vous voulez utiliser le paquet spice-xpi
Then vous devez désactiver les contrôles SELinux sur les extensions Firefox.
Do
# setsebool -P unconfined_mozilla_plugin_transition 0

*****  Plugin catchall (1.81 confidence) suggests   **************************

If vous pensez que gtk-gnash devrait être autorisé à accéder read sur pulse-shm-3082875261 file par défaut.
Then vous devriez rapporter ceci en tant qu'anomalie.
Vous pouvez générer un module de stratégie local pour autoriser cet accès.
Do
autoriser cet accès pour le moment en exécutant :
# 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:device_t:s0
Target Objects                pulse-shm-3082875261 [ file ]
Source                        gtk-gnash
Source Path                   /usr/bin/gtk-gnash
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gnash-0.8.10-11.fc20.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-3.fc21.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.13.0-0.rc0.git6.1.fc21.x86_64 #1
                              SMP Sun Nov 17 17:01:17 UTC 2013 x86_64 x86_64
Alert Count                   32
First Seen                    2013-11-16 21:59:05 CET
Last Seen                     2013-11-18 19:21:04 CET
Local ID                      d32ed2ac-f876-4607-ae9b-6df50e5f6529

Raw Audit Messages
type=AVC msg=audit(1384798864.63:227): avc:  denied  { read } for  pid=3033 comm="gtk-gnash" name="pulse-shm-3082875261" dev="tmpfs" ino=25244 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:device_t:s0 tclass=file


type=SYSCALL msg=audit(1384798864.63:227): arch=x86_64 syscall=open success=no exit=EACCES a0=7fffcf83ab10 a1=a0000 a2=0 a3=36e7bc1440 items=0 ppid=2362 pid=3033 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=2 tty=(none) 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,device_t,file,read

Additional info:
reporter:       libreport-2.1.9
hashmarkername: setroubleshoot
kernel:         3.13.0-0.rc0.git10.1.fc21.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-11-22 10:11:15 UTC
*** Bug 1033458 has been marked as a duplicate of this bug. ***

Comment 2 Miroslav Grepl 2013-11-22 10:12:16 UTC
Has been fixed in the latest rawhide build.

commit e8f7ae47ff2058f1033cc21026c905d0e2f0ebd4
Author: Miroslav Grepl <mgrepl>
Date:   Mon Nov 18 16:08:58 2013 +0100

    Add back /dev/shm labeling


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