Dump SELinux

In: Linux| Maintenance

8 Nov 2008

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

Share and Enjoy:

  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Live
  • MySpace
  • Netvibes
  • Reddit
  • Slashdot
  • SphereIt
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Twitter
  • Yahoo! Bookmarks

Related Posts:


2 Responses to Dump SELinux

Avatar

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?

Avatar

projection

August 29th, 2010 at 10:48 pm

Comment Form

Recent Posts