What Do I Do If "Failed to load SELinux policy, freezing" Is Reported When a Linux ECS Is Started?
Symptom
When a Linux ECS is started, the error message "Failed to load SELinux policy, freezing." is displayed, as shown in the following figure.

Possible Causes
SELinux is enabled in the current OS.
This document applies to CentOS. If SELinux is enabled on CentOS, this problem may be triggered.
Solution
- After the Linux ECS is started, press e when the kernel option is displayed to enter the kernel editing mode.

- Locate linux16 and add the following content after LANG=en_US.UTF-8. Note that there is a space after UTF-8.
init=/bin/sh

- Run the following command to boot into single-user mode:
- Run the following command to change the system file permission to read/write (rw):
- Go to the /etc/selinux directory.
cd /etc/selinux
- Run the following command to edit the config file:
cat config
- Change the setting to SELINUX=disabled, then save and exit.

- Restart the ECS.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot