Bug 638294 - SELinux is preventing /usr/libexec/totem-plugin-viewer "remove_name" access on registry.i386.bin.tmp0073JV.
Summary: SELinux is preventing /usr/libexec/totem-plugin-viewer "remove_name" access ...
Keywords:
Status: CLOSED DUPLICATE of bug 638296
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:3b28fec56aa...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-28 17:20 UTC by Hicham HAOUARI
Modified: 2010-09-28 20:08 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-09-28 20:08:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Hicham HAOUARI 2010-09-28 17:20:03 UTC
Summary:

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

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.tmp0073JV [ dir ]
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                   3
First Seen                    Tue 28 Sep 2010 05:14:05 PM WET
Last Seen                     Tue 28 Sep 2010 05:14:05 PM WET
Local ID                      2db3b665-6b00-4cd1-8d1a-653cf03b0f05
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1285694045.975:19010): avc:  denied  { remove_name } for  pid=2763 comm="totem-plugin-vi" name="registry.i386.bin.tmp0073JV" dev=sda1 ino=137738 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:gstreamer_home_t:s0 tclass=dir

node=(removed) type=AVC msg=audit(1285694045.975:19010): avc:  denied  { rename } for  pid=2763 comm="totem-plugin-vi" name="registry.i386.bin.tmp0073JV" dev=sda1 ino=137738 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.975:19010): avc:  denied  { unlink } 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.975:19010): arch=40000003 syscall=38 success=yes exit=0 a0=87e3100 a1=85d3000 a2=5a8d390 a3=87e4a40 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,dir,remove_name
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t gstreamer_home_t:dir remove_name;
allow mozilla_plugin_t gstreamer_home_t:file { rename unlink };

Comment 1 Daniel Walsh 2010-09-28 20:08:45 UTC

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


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