LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 07-27-2011, 07:05 AM   #1
anishkumarv
Member
 
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 289

Rep: Reputation: 10
SELINUX -- Enabled means BIND not working Why so??


Hi,

I configured DNS in my server while That time SELINUX enabled means It show permission denied error and some errors, but i checked all the directory permissions and all its every thing correct only but not worked..

At last I just disabled the SELINUX then its working fine.

I Heard SELINUX is for security for Linux operating systems, but why i disabled means only its working??

Is that any Security issues behind in this??

Please share your ideas.
 
Old 07-27-2011, 10:20 AM   #2
dafydd2277
Member
 
Registered: Mar 2010
Posts: 58

Rep: Reputation: 5
Hello, Anish,

Have you looked in /var/log/secure and /var/log/setroubleshoot/* for clues?

Regards,
dafydd
 
Old 07-27-2011, 10:42 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,367
Blog Entries: 54

Rep: Reputation: 2867Reputation: 2867Reputation: 2867Reputation: 2867Reputation: 2867Reputation: 2867Reputation: 2867Reputation: 2867Reputation: 2867Reputation: 2867Reputation: 2867
AFAIK not /var/log/secure but /var/log/audit/*, /var/log/messages and /var/log/setroubleshoot/*...
 
Old 07-27-2011, 06:23 PM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,280

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You can use

ls -Z

in the affected dirs to check SELinux contexts,

getsebool -a|grep named

to check boolean settings

By default, Centos will expect bind/named to be installed chrooted http://www.linuxtopia.org/online_boo..._ch-bind.html; you might want to check that.
There's a good chapter on SELinux in that docco also.
 
  


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
403 error when NamedVirtualHost is enabled - *not* SELinux related gharvey Fedora 1 05-04-2009 03:33 PM
Is anyone running grsecurity with SELinux enabled? abefroman Linux - Security 1 04-17-2008 06:52 AM
how do i tell of selinux is enabled or not? sneakyimp Linux - Newbie 2 10-22-2007 07:13 PM
FollowSymLinks and SELinux enabled piforever Linux - Security 9 02-27-2006 10:09 PM
Sendmail won't work with SELinux enabled? jimwillsher Linux - Security 1 03-15-2005 08:16 AM


All times are GMT -5. The time now is 11:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration