LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-27-2009, 12:24 AM   #1
kuwaitikid
Member
 
Registered: Dec 2003
Location: Kuwait
Posts: 46

Rep: Reputation: 15
SE Linux is preventing a Codec from Loading in Fedora 10


I am running Fedora 10, and I have this problem where all the Codecs dont load for MPlayer (I want to watch streaming video from my country)
The error message I receive is:

SELinux is preventing mplayer from loading /usr/lib/codecs/drv3.so.6.0 which requires text relocation.

If someone could please help me to fix this it would be much appreciated.
 
Old 11-27-2009, 12:54 AM   #2
JD50
Member
 
Registered: Nov 2007
Location: Virginia
Distribution: Fedora, RHEL, CentOS
Posts: 67

Rep: Reputation: 17
I'd just disable selinux.
 
0 members found this post helpful.
Old 11-27-2009, 01:25 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
Quote:
Originally Posted by JD50 View Post
I'd just disable selinux.
Yes, you probably would. I'd say please don't give that kind of "advice". If you don't know SE Linux I'd say read up on it or keep yourself from "answering".

To the OP:
The Fedora online documentation, Setroubleshoot(d), or whatever else Fedora uses these days should show you an informative message you can allow this by running:
Code:
chcon -t textrel_shlib_t /usr/lib/codecs/drv3.so.6.0
semanage fcontext -a -t textrel_shlib_t /usr/lib/codecs/drv3.so.6.0
 
1 members found this post helpful.
Old 11-27-2009, 02:03 PM   #4
kuwaitikid
Member
 
Registered: Dec 2003
Location: Kuwait
Posts: 46

Original Poster
Rep: Reputation: 15
I ran the commands you recommended and they fixed the problem. Thank you.

Quote:
Originally Posted by unSpawn View Post
Yes, you probably would. I'd say please don't give that kind of "advice". If you don't know SE Linux I'd say read up on it or keep yourself from "answering".

To the OP:
The Fedora online documentation, Setroubleshoot(d), or whatever else Fedora uses these days should show you an informative message you can allow this by running:
Code:
chcon -t textrel_shlib_t /usr/lib/codecs/drv3.so.6.0
semanage fcontext -a -t textrel_shlib_t /usr/lib/codecs/drv3.so.6.0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Preventing udev from loading kernel modules vharishankar Debian 6 04-27-2006 02:58 AM
Preventing kernel module (rootkits) from loading shubb Linux - Security 7 12-06-2005 08:48 PM
Preventing Module cdc_acm From Loading fortezza Linux - Newbie 1 07-10-2005 03:09 AM
Mandrake 10.1: Preventing KDE from loading at boot MercuryRaz0r Linux - Networking 1 11-01-2004 10:41 PM


All times are GMT -5. The time now is 12:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration