Share your love
Fix Error Failed to load SELinux policy freezing
In this guide, we want to show you How To Fix or Resolve the Error that Failed to load the SELinux policy, freezing.
The SELinux Policy is the set of rules that guide the SELinux security engine. It defines types for file objects and domains for processes. It uses roles to limit the domains that can be entered and has user identities to specify the roles that can be attained. In essence, types and domains are equivalent, the difference being that types apply to objects while domains apply to processes.
Fix Error “Failed to load SELinux policy, freezing”
When I want to start one of my VM (Centos 7), it doesn’t start. And I get the following error that said
[ !!!!!! ] Failed to load SELinux policy, freezing
So when I fixed it, I decided to share it with you.
The reason that I get the SELinux policy freezing error is that somewhere I had messed up the settings of SELinux. To resolve this, follow the steps below.
When your server opens kernel list will appear on your screen. You use the arrow keys to a kernel line like “Centos Linux 7 (Core) with Linux….” and type the “e” button to edit.
Find the line which starts with Linux add “selinux=0” like this below and type Ctrl button+x.
Your server will open normally. SELinux Policy error freezing will be solved.
At this point, you need to reinstall SELinux Policy targeted package with the command below:
sudo yum reinstall selinux-policy-targeted
When your installation is completed, edit your SELinux config file:
sudo vi /etc/selinux/config
At the file set SELinux to disabled:
SELINUX=disabled
When you are done, save and close the file. Now your system is booting well.
Conclusion
At this point, you have learned to Fix the Error Failed to load SELinux policy freezing.
Hope you enjoy it. You may be like these articles on the Orcacore website:
Fix Java Error – Failed To Validate Certificate For IPMI or KVM