How to disable SELinux in Fedora CoreOS
Warning: Depending on your application, disabling the SELinux security layer might be a bad idea since it might introduce new security risks especially if the container system has security issues.
In order to disable SELinux on Fedora CoreOS, run this:
sed-disable-selinux.sh
sudo sed -i -e 's/SELINUX=/SELINUX=disabled #/g' /etc/selinux/config
sudo systemctl rebootNote that this will reboot your system in order for the changes to take effect.
The sed command will replace the default
selinux-config.txt
SELINUX=enforcingin /etc/selinux/config to
selinux-config.txt
SELINUX=disabledIf this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow