LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-09-2007, 09:56 AM   #1
aflack
LQ Newbie
 
Registered: May 2001
Posts: 3

Rep: Reputation: 0
Question Fedora C3 SELinux causing Free-Radius to fail startup


Hello.
Im not too great with linux and having a problem after being given the task to setup a Fedora Core3 machine.
i have Free-Radius 0.96, the command "service radius start" works without any problems and all looks well from the command line as root.
On a reboot the service (in /etc/rc3.d as firstly s70, then tried S99radius just incase ) will not start. Looking around on the internet i found that disabling SELinux resolves the problem, but im guessing this is not a solution, as nothing is ever that simple, SELinux is used to protect the machine.

Radius Log extract when run from system startup:

Wed Aug 8 21:38:18 2007 : Error: radiusd.conf[9] Failed to link to module 'rlm_eap': /usr/local/lib/rlm_eap-1.0.0.so: cannot restore segment prot after reloc: Permission denied

The library is installed, think this is correct:
-rwxr-xr-x root root system_u:object_r:shlib_t /usr/local/lib/rlm_eap-1.0.0.so

Can anyone shed some light on this for me, remembering i am a bit of a newbie at this and dont seem to be making progress.

Many Thanks.
Andy Flack.

Last edited by aflack; 08-09-2007 at 09:58 AM.
 
Old 08-09-2007, 10:47 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Try this command: "chcon -t texrel_shlib_t /usr/local/lib/rlm_eap-1.0.0.so".
 
Old 08-09-2007, 11:01 AM   #3
aflack
LQ Newbie
 
Registered: May 2001
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by unSpawn
Try this command: "chcon -t texrel_shlib_t /usr/local/lib/rlm_eap-1.0.0.so".
Many thanks, that done the trick.
 
  


Reply



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
SElinux causing Apache/httpd problem on Fedora 6 badengineer Linux - Security 1 06-04-2007 10:47 AM
MKDIR trying to use version 2.4 of libc, not 2.3.6 and causing step 6.5 to fail MrMark Linux From Scratch 1 01-30-2007 07:32 PM
app causing selinux audit message dansawyer Linux - Security 1 01-21-2007 11:44 AM
SELinux cause Squirrelmail to fail cojo Linux - Security 2 11-20-2005 04:51 PM
Fedora 2 with SELINUX startup errors Pisces107 Fedora 4 09-26-2004 01:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:51 AM.

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
Open Source Consulting | Domain Registration