Enable SELinux on Ubuntu 20.04.1 LTS
Sebastian Wright
I followed step by step the following guide to enable SELinux on Ubuntu 20.04.1 LTS: but after following the instructions the system fails to boot.
1 Answer
If system fails to boot, it will be good to boot in safe/rescue/emergency mode. once you have access to bash or sh prompt, edit the following file using VIM or any editor of choice. /etc/selinux/config look for the line SELINUX=enforcing change it to SELINUX=permissive save the file. Reboot the system and see if it boots up.
If it boots up then check logfile /var/log/syslog for SELINUX related messages. This may give some clue.
You can also check /var/log/boot.log file and find out at what stage system booting stopped.