Bug 473762

Summary: SELinux is preventing totem from loading.
Product: [Fedora] Fedora Reporter: Michael <michael1>
Component: totemAssignee: Bastien Nocera <bnocera>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 10CC: bnocera, s.adam
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-28 15:51:37 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 Michael 2008-11-30 12:03:27 UTC
Description of problem:

Summary:

SELinux is preventing totem from loading
/home/y2k103/.gstreamer-0.10/plugins/libgstflumpeg4videodec.so which requires
text relocation.

Detailed Description:

The totem application attempted to load
/home/y2k103/.gstreamer-0.10/plugins/libgstflumpeg4videodec.so which requires
text relocation. This is a potential security problem. Most libraries do not
need this permission. Libraries are sometimes coded incorrectly and request this
permission. The SELinux Memory Protection Tests
(http://people.redhat.com/drepper/selinux-mem.html) web page explains how to
remove this requirement. You can configure SELinux temporarily to allow
/home/y2k103/.gstreamer-0.10/plugins/libgstflumpeg4videodec.so to use relocation
as a workaround, until the library is fixed. Please file a bug report
(http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package.


Raw Audit Messages            

node=localhost.localdomain type=AVC msg=audit(1228001787.112:156): avc:  denied  { execmod } for  pid=21750 comm="totem" path="/home/y2k103/.gstreamer-0.10/plugins/libgstflumpeg4videodec.so" dev=dm-0 ino=6414526 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file

node=localhost.localdomain type=SYSCALL msg=audit(1228001787.112:156): arch=40000003 syscall=125 success=no exit=-13 a0=87fd000 a1=8a000 a2=5 a3=b03af350 items=0 ppid=1 pid=21750 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="totem" exe="/usr/bin/totem" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)




Version-Release number of selected component (if applicable): 10


How reproducible: Happen during an update.


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Bastien Nocera 2009-04-28 15:51:37 UTC
This is a bug in the Fluendo provided codecs, not Totem itself. Details and work-around on Fluendo's bug tracker:
https://core.fluendo.com/gstreamer/trac/ticket/24