The real problem here is that I don’t have the time to understand the perks of SELinux.. and.. it always seems to be in my way. Current problem is with a yum install of bind.
Here’s the error:
Nov 8 07:21:24 localhost named: none:0: open: /etc/named.conf: permission denied
Nov 8 07:21:26 localhost setroubleshoot: SELinux is preventing the named-checkconf from using potentially mislabeled files (./named.conf). For complete SELinux messages. run sealert -l 82a8e3a9-7073-472c-b232-bec1d8e30374
To make it go away, we do this:
echo 0 > /selinux/enforce
If you want to bring it back:
echo 1 > /selinux/enforce
To make it permanent:
If you want it gone for good (after reboot), edit /etc/selinux/config and change this:
SELINUX=enforcing
to this:
SELINUX=permissive
Related Posts:
2 Responses to Dump SELinux
KonstantinMiller
July 6th, 2009 at 3:27 pm
Hello. I think the article is really interesting. I am even interested in reading more. How soon will you update your blog?
projection
August 29th, 2010 at 10:48 pm
projection http://aprojectionvbt-i0.03GMCPARTS.US/tag/projector+projection+TV/ : projector…
projector…