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 <Unknown>
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?

Tagged with:

Filed under: rpm

Like this post? Subscribe to my RSS feed and get loads more!