Search
StarWind is a hyperconverged (HCI) vendor with focus on Enterprise ROBO, SMB & Edge

[Azure] SELinux error at boot for Linux

  • November 7, 2019
  • 2 min read
Cloud and Virtualization Architect. Florent is specializing in public, hybrid, and private cloud technologies. He is a Microsoft MVP in Cloud and Datacenter Management and an MCSE in Private Cloud.
Cloud and Virtualization Architect. Florent is specializing in public, hybrid, and private cloud technologies. He is a Microsoft MVP in Cloud and Datacenter Management and an MCSE in Private Cloud.

wp-image-13316

Today, one of my clients made a modification of SELinux on a VM on Azure, with the result, the following message as an error in the Serial Console of Azure:

Failed to load SELinux policy. Freezing.

SELinux policy

To correct this, click on the small power button and click Restart VM then press e on your keyboard to modify the boot:

Restart VM

Choose the first line and go down to the bottom. Add in line linux16 after root = … this:

selinux = 0

This will make the SELinux go by the boot:

SELinux feedback

Do Ctrl + X and the server should start without worry:

SELinux feedback

Found Florent’s article helpful? Looking for a reliable, high-performance, and cost-effective shared storage solution for your production cluster?
Dmytro Malynka
Dmytro Malynka StarWind Virtual SAN Product Manager
We’ve got you covered! StarWind Virtual SAN (VSAN) is specifically designed to provide highly-available shared storage for Hyper-V, vSphere, and KVM clusters. With StarWind VSAN, simplicity is key: utilize the local disks of your hypervisor hosts and create shared HA storage for your VMs. Interested in learning more? Book a short StarWind VSAN demo now and see it in action!