Linux and VLC error message Help.?

Question by Andrew A: Linux and VLC error message Help.?
I currently have Fedora 10 and I installed VLC media player. When ever I open it to play a song it gives me 2 errors and the song sounds real choppy. These are the errors I get… How do I fix them?
Summary:

SELinux is preventing vlc from loading /usr/lib/sse2/libswscale.so.0.6.1 which
requires text relocation.

Detailed Description:

The vlc application attempted to load /usr/lib/sse2/libswscale.so.0.6.1 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
/usr/lib/sse2/libswscale.so.0.6.1 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.

Allowing Access:

If you trust /usr/lib/sse2/libswscale.so.0.6.1 to run correctly, you can change
the file context to textrel_shlib_t. “chcon -t textrel_shlib_t
‘/usr/lib/sse2/libswscale.so.0.6.1′” You must also change the default file
context files on the system in order to preserve them even on a full relabel.
“semanage fcontext -a -t textrel_shlib_t ‘/usr/lib/sse2/libswscale.so.0.6.1′”

Fix Command:

chcon -t textrel_shlib_t ‘/usr/lib/sse2/libswscale.so.0.6.1’

Additional Information:

Source Context unconfined_u:unconfined_r:unconfined_execmem_t:s0
Target Context system_u:object_r:lib_t:s0
Target Objects /usr/lib/sse2/libswscale.so.0.6.1 [ file ]
Source vlc
Source Path /usr/bin/vlc
Port
Host Andrew.Altizer
Source RPM Packages vlc-core-0.9.8a-1.fc10
Target RPM Packages ffmpeg-libs-0.4.9-0.52.20080908.fc10
Policy RPM selinux-policy-3.5.13-18.fc10
Selinux Enabled True
Policy Type targeted
MLS Enabled True
Enforcing Mode Enforcing
Plugin Name allow_execmod
Host Name Andrew.Altizer
Platform Linux Andrew.Altizer 2.6.27.5-117.fc10.i686 #1 SMP
Tue Nov 18 12:19:59 EST 2008 i686 athlon
Alert Count 4
First Seen Mon 05 Jan 2009 01:43:28 PM AST
Last Seen Mon 05 Jan 2009 01:56:42 PM AST
Local ID 143b1d8e-4c8f-4189-a377-d97326d786c4
Line Numbers

Raw Audit Messages

node=Andrew.Altizer type=AVC msg=audit(1231153002.320:27): avc: denied { execmod } for pid=3452 comm=”vlc” path=”/usr/lib/sse2/libswscale.so.0.6.1″ dev=dm-0 ino=2551557 scontext=unconfined_u:unconfined_r:unconfined_execmem_t:s0 tcontext=system_u:object_r:lib_t:s0 tclass=file

node=Andrew.Altizer type=SYSCALL msg=audit(1231153002.320:27): arch=40000003 syscall=125 success=no exit=-13 a0=21c000 a1=2c000 a2=5 a3=bfb3d1e0 items=0 ppid=1 pid=3452 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm=”vlc” exe=”/usr/bin/vlc” subj=unconfined_u:unconfined_r:unconfined_execmem_t:s0 key=(null)

and……

Summary:

SELinux is preventing vlc from loading /usr/lib/sse2/libpostproc.so.51.2.0 which
requires text relocation.

Detailed Description:

The vlc application attempted to load /usr/lib/sse2/libpostproc.so.51.2.0 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
/usr/lib/sse2/libpostproc.so.51.2.0 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.

Allowing Access:

If you trust /usr/lib/sse2/libpostproc.so.51.2.0 to run correctly, you can
change the file context to textrel_shlib_t. “chcon -t textrel_shlib_t
‘/usr/lib/sse2/libpostproc.so.51.2.0′” You must also change the default file
context files on the system in order to preserve them even on a full relabel.
“semanage fcontext -a -t textrel_shlib_t ‘/usr/lib/sse2/libpostproc.so.51.2.0′”

Fix Command:

chcon -t textrel_shlib_t ‘/usr/lib/sse2/libpostproc.so.51.2.0’

Additional Information:

Source Context unconfined_u:unconfined_r:unconfined_execmem_t:s0
Target Context system_u:object_r:lib_t:s0
Target Objects /usr/lib/sse2/libpostp
Am I able to uninstall SELinux?

Best answer:

Answer by jerry t
SElinux is a very high security version of linux and is very limited in what it allows a
the computer to do. It is used mostly for servers and high risk situations. It will be a pain in the neck for use for a desktop/home computer.
I see in your post that you have a link to remove the requirement and allow VLC to function.
See the links below.

THis will probably just turn it off not remove it. Just use ‘System -> Administration -> Security Level and Firewall’ select the ‘SELinux’ and select disabled and reboot, now SELinux is turned off.

If you do a google search “how to remove SElinux” you will find some people who say the best solution is to reinstall. That is a call you will have to make. You could reinstall fedora or another distro.
http://linux.derkeiler.com/Mailing-Lists…

Know better? Leave your own answer in the comments!