Bug 639568 - SELinux is preventing /usr/bin/gtk-gnash "write" access on /home/hicham/.gnash/SharedObjects/s.ytimg.com/soundData.sol.
Summary: SELinux is preventing /usr/bin/gtk-gnash "write" access on /home/hicham/...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:0e780074107...
: 639570 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-02 10:53 UTC by Hicham HAOUARI
Modified: 2010-10-05 13:10 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.9.5-10.fc14
Clone Of:
Environment:
Last Closed: 2010-10-05 13:10:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Hicham HAOUARI 2010-10-02 10:53:13 UTC
Summary:

SELinux is preventing /usr/bin/gtk-gnash "write" access on
/home/hicham/.gnash/SharedObjects/s.ytimg.com/soundData.sol.

Detailed Description:

[gtk-gnash has a permissive type (mozilla_plugin_t). This access was not
denied.]

SELinux denied access requested by gtk-gnash. It is not expected that this
access is required by gtk-gnash and this access may signal an intrusion attempt.
It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

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                /home/hicham/.gnash/SharedObjects/s.ytimg.com/soun
                              dData.sol [ file ]
Source                        gtk-gnash
Source Path                   /usr/bin/gtk-gnash
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gnash-0.8.8-2.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.5-8.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.6-37.fc14.i686
                              #1 SMP Fri Oct 1 06:20:51 UTC 2010 i686 i686
Alert Count                   1
First Seen                    Sat 02 Oct 2010 10:51:24 AM WET
Last Seen                     Sat 02 Oct 2010 10:51:24 AM WET
Local ID                      1e460d2b-4ebe-4fcb-95f7-1fe96bb6b0ad
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1286016684.31:18820): avc:  denied  { write } for  pid=6609 comm="gtk-gnash" name="soundData.sol" dev=sda1 ino=406917 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1286016684.31:18820): arch=40000003 syscall=5 success=yes exit=7 a0=a0f322c a1=8241 a2=1b6 a3=b2c7de items=0 ppid=6606 pid=6609 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="gtk-gnash" exe="/usr/bin/gtk-gnash" subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,gtk-gnash,mozilla_plugin_t,user_home_t,file,write
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t user_home_t:file write;

Comment 1 Daniel Walsh 2010-10-03 11:12:09 UTC
Adding label for .gnash should fix this.

/home/hicham/.gnash/SharedObjects/s.ytimg.com/soun

Comment 2 Daniel Walsh 2010-10-03 11:12:32 UTC
*** Bug 639570 has been marked as a duplicate of this bug. ***

Comment 3 Hicham HAOUARI 2010-10-03 11:29:34 UTC
Oh, so users should manually do this ?

Comment 4 Daniel Walsh 2010-10-04 16:49:08 UTC
Well it should work fine in the future.

Comment 5 Fedora Update System 2010-10-04 19:38:17 UTC
selinux-policy-3.9.5-10.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.5-10.fc14

Comment 6 Fedora Update System 2010-10-05 13:07:36 UTC
selinux-policy-3.9.5-10.fc14 has been pushed to the Fedora 14 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.