Results 1 to 4 of 4
I edited my /etc/selinux/config file, in it I change (selinux=targeted) to (selinux=disabled) and now I'm unable to boot my system. My system just hangs after trying to boot and I ...
- 11-24-2011 #1Just Joined!
- Join Date
- Nov 2011
- Posts
- 3
Boot error "Failed to load SELinux policy!"
I edited my /etc/selinux/config file, in it I change (selinux=targeted) to (selinux=disabled) and now I'm unable to boot my system. My system just hangs after trying to boot and I keep getting an error that says "Failed to load SELinux policy!", what can I possibly do to fix the problem??? Please take mercy on me I'm new to the linux world!!
- 11-24-2011 #2Linux Guru
- Join Date
- May 2011
- Posts
- 1,838
I thought that was all you needed to do to disable SELinux...how about this as a way to at least boot: reboot and at the grub prompt, press the a key to append to the kernel line and add
then boot. Does that work?Code:selinux=0 noselinux
- 11-24-2011 #3Just Joined!
- Join Date
- Nov 2011
- Posts
- 3
You are a genious
Thank you very much, you are a genious!!! It worked, I got in and am able to edit SELinux, now my question is how do I edit it so that it doesn't prevent Samba from working because that's the reason I edited it in the first place because I thought that it might have been the reason I couldn't get Samba to share files.
- 11-25-2011 #4Linux Guru
- Join Date
- May 2011
- Posts
- 1,838
Well, I *thought* all you need was this:
in the file /etc/selinux/config and reboot. But if that doesn't work, you can certainly put the above kernel parameters in the appropriate kernel line(s) in your grub config file (/etc/grub.conf typically).Code:SELINUX=disabled
Edit: I just re-read your initial post - is it case-sensitive maybe?Last edited by atreyu; 11-25-2011 at 12:30 AM. Reason: case?


Reply With Quote
