Centos 7.2 failed to load SELinux policy freezing

Adjust the SELINUX = permissive; A very serious problem is that the server cannot boot. The main error was to modify SELinuxType =disabled. Instead of changing SELinuxType =disabled, you should have changed SELinux because you were in a hurry and you changed it incorrectly. Cause unnecessary trouble.

The error is shown in the figure
https://img-my.csdn.net/uploads/201709/03/1504438099_6968.png

Solutions:

1. When rebooting the system, select the kernel you want to enter from the following page, and press E, grub to edit the page.
https://img-my.csdn.net/uploads/201709/03/1504438099_7830.png
2. Find linux16 that line in LANG = zh_CN. Utf-8 Spaces with selinux = 0 or enforcing = 0 (I was the first to solve the problem)
3. After that, Ctrl+ X will launch, and you will see the familiar page in a moment. On the other hand, you might be stuck on the page below for a while, but you’ll be fine later
https://img-my.csdn.net/uploads/201709/03/1504438100_7681.png
4. After entering the system, remember to modify the configuration correctly.
5. Modify the “SELinux” parameter in /etc/selinux/config file
# SELINUX = enforcing the original configuration
SELINUX = disabled correctly
   
But I was looking at the wrong modification; Modified the selinuxType parameter by treating “selinuxType =target” as “SELINUX”

# selinuxType =targeted The original configuration is unchanged
SELINUXTYPE = disabled errors

Read More: