LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SELINUX -- Enabled means BIND not working Why so?? (http://www.linuxquestions.org/questions/linux-newbie-8/selinux-enabled-means-bind-not-working-why-so-894057/)

anishkumarv 07-27-2011 08:05 AM

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.

dafydd2277 07-27-2011 11:20 AM

Hello, Anish,

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

Regards,
dafydd

unSpawn 07-27-2011 11:42 AM

AFAIK not /var/log/secure but /var/log/audit/*, /var/log/messages and /var/log/setroubleshoot/*...

chrism01 07-27-2011 07:23 PM

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.


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