Bug 639569

Summary: SELinux is preventing /usr/bin/gtk-gnash "create" access on restore.sol.
Product: [Fedora] Fedora Reporter: Hicham HAOUARI <hicham.haouari>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 14CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:03110ee20532d2a786d7636a2650151184edc13424c9d2969461f18944a321bb
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-03 11:06:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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

SELinux is preventing /usr/bin/gtk-gnash "create" access on restore.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                restore.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                      daac3dc0-66db-4074-aa46-c2f910048595
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1286016684.230:18821): avc:  denied  { create } for  pid=6609 comm="gtk-gnash" name="restore.sol" 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.230:18821): arch=40000003 syscall=5 success=yes exit=7 a0=a42d92c 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,create
audit2allow suggests:

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

Comment 1 Daniel Walsh 2010-10-03 11:06:23 UTC

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