Bug 1033458 - SELinux is preventing /usr/bin/gtk-gnash from 'write' accesses on the directory /dev/shm.
Summary: SELinux is preventing /usr/bin/gtk-gnash from 'write' accesses on the directo...
Keywords:
Status: CLOSED DUPLICATE of bug 1033459
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:91b722ca120f6775ab764cf3837...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-22 07:08 UTC by Nicolas Mailhot
Modified: 2013-11-22 10:11 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description Nicolas Mailhot 2013-11-22 07:08:58 UTC
Description of problem:
SELinux is preventing /usr/bin/gtk-gnash from 'write' accesses on the directory /dev/shm.

*****  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 write sur shm directory 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                system_u:object_r:device_t:s0
Target Objects                /dev/shm [ dir ]
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                   10
First Seen                    2013-11-16 21:59:05 CET
Last Seen                     2013-11-18 19:21:04 CET
Local ID                      633b7d5c-7439-4069-9b9e-9ca8bf7e0d5b

Raw Audit Messages
type=AVC msg=audit(1384798864.50:222): avc:  denied  { write } for  pid=3033 comm="gtk-gnash" name="/" dev="tmpfs" ino=6783 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=dir


type=SYSCALL msg=audit(1384798864.50:222): arch=x86_64 syscall=open success=no exit=EACCES a0=7fffcf83ad20 a1=a00c2 a2=1c0 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,dir,write

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

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


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