Troubleshooting SELinux in Fedora 27?
-
If SELinux gets messed up, would it be best to fix it by editing `/etc/sysconfig/selinux file to set SELINUX=permissive and then run the following command:
https://fedoramagazine.org/troubleshooting-selinux/sudo fixfiles -F onboot reboot
Or by doing this?
https://www.timothygruber.com/web/creating-modern-wiki-wordpress/#Extra_Fix_SELinux_if_neededsetenforce 0 dnf remove selinux-policy rm -rf /etc/selinux/targeted /etc/selinux/config dnf install selinux-policy-targeted touch /.autorelabel; reboot
Or just reinstall Fedora?
-
Reinstalling seems a bit drastic.
-
@scottalanmiller said in Troubleshooting SELinux in Fedora 27?:
Reinstalling seems a bit drastic.
That's why I kept it has a last resort.