Monday, January 04, 2010

Unable to load Selinux Policy

on boot: unable to load selinux policy. Machine is in enforcing mode. Halting now.

boot with enforcing=0 at grub menu

edit /etc/grub.conf and append enforcing=0 to the kernel line:

example:


# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/cciss/c0d0
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-92.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-92.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet enforcing=0
initrd /initrd-2.6.18-92.el5.img


also:

[root@rhel 5 ~]# grep SELINUX /etc/selinux/config
# SELINUX= can take one of these three values:
SELINUX=disabled

echo 0 > /selinux/enforce 

Labels: , , , , , ,

0 Comments:

Post a Comment

<< Home