After disabling SELinux, machine not booting up

Support for security such as Firewalls and securing linux
Post Reply
JohnathanSmith1969
Posts: 16
Joined: 2014/10/09 00:55:55

After disabling SELinux, machine not booting up

Post by JohnathanSmith1969 » 2014/10/09 12:54:51

After disabling SELinux, machine not booting up - Unable to load SELinux Policy.

Can someone please tell me how to fix this... i need to get into this machine again.... I changed the selinux file and now it will not boot

User avatar
TrevorH
Forum Moderator
Posts: 27706
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: After disabling SELinux, machine not booting up

Post by TrevorH » 2014/10/09 12:59:00

Boot from rescue media and undo whatever you did to disable it. You may need to touch /.autorelabel after this and before the reboot.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

JohnathanSmith1969
Posts: 16
Joined: 2014/10/09 00:55:55

Re: After disabling SELinux, machine not booting up

Post by JohnathanSmith1969 » 2014/10/09 13:10:02

i don't have any rescue media or drives... can someone please tell me how to change the boot menu.. i think i did this years ago

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: After disabling SELinux, machine not booting up

Post by gerald_clark » 2014/10/09 13:14:38

The Install DVD is your rescue media.

JohnathanSmith1969
Posts: 16
Joined: 2014/10/09 00:55:55

Re: After disabling SELinux, machine not booting up

Post by JohnathanSmith1969 » 2014/10/09 13:24:12

This is a machine that is on the network without any drive

User avatar
TrevorH
Forum Moderator
Posts: 27706
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: After disabling SELinux, machine not booting up

Post by TrevorH » 2014/10/09 13:35:17

If you did a PXE install then that can be used as rescue media too
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

JohnathanSmith1969
Posts: 16
Joined: 2014/10/09 00:55:55

Re: After disabling SELinux, machine not booting up

Post by JohnathanSmith1969 » 2014/10/09 16:10:40

thanks everyone I got it fixed..

Post Reply

Return to “CentOS 7 - Security Support”