-   Linux - Newbie (
-   -   SELINUX -- Enabled means BIND not working Why so?? (

anishkumarv 07-27-2011 08:05 AM

SELINUX -- Enabled means BIND not working Why so??

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?


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; 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 07:35 AM.