Bug 638292

Summary: SELinux is preventing /usr/libexec/totem-plugin-viewer "read" access on registry.i386.bin.
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:35129e84718619d81e6e9cb55b5d2171d32a736c22b3ba4db6014a45b5426fd8
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-28 20:09:05 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-09-28 17:15:33 UTC
Summary:

SELinux is preventing /usr/libexec/totem-plugin-viewer "read" access on
registry.i386.bin.

Detailed Description:

[totem-plugin-vi has a permissive type (mozilla_plugin_t). This access was not
denied.]

SELinux denied access requested by totem-plugin-vi. It is not expected that this
access is required by totem-plugin-vi 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:gstreamer_home_t:s0
Target Objects                registry.i386.bin [ file ]
Source                        totem-plugin-vi
Source Path                   /usr/libexec/totem-plugin-viewer
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           totem-mozplugin-2.31.6-3.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.5-7.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.35.6-33.rc1.fc14.i686 #1 SMP Sat Sep 25
                              13:44:10 UTC 2010 i686 i686
Alert Count                   2
First Seen                    Tue 28 Sep 2010 05:14:05 PM WET
Last Seen                     Tue 28 Sep 2010 05:14:05 PM WET
Local ID                      572a55a3-1b24-4ca8-b02d-f8b32f59dcdc
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1285694045.366:19007): avc:  denied  { read } for  pid=2763 comm="totem-plugin-vi" name="registry.i386.bin" dev=sda1 ino=140900 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:gstreamer_home_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1285694045.366:19007): avc:  denied  { open } for  pid=2763 comm="totem-plugin-vi" name="registry.i386.bin" dev=sda1 ino=140900 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:gstreamer_home_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1285694045.366:19007): arch=40000003 syscall=5 success=yes exit=8 a0=85d3000 a1=8000 a2=0 a3=bfdb5430 items=0 ppid=1 pid=2763 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="totem-plugin-vi" exe="/usr/libexec/totem-plugin-viewer" subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,totem-plugin-vi,mozilla_plugin_t,gstreamer_home_t,file,read
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t gstreamer_home_t:file { read open };

Comment 1 Daniel Walsh 2010-09-28 20:09:05 UTC

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