ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Troubleshooting SELinux in Fedora 27?

    Scheduled Pinned Locked Moved IT Discussion
    3 Posts 2 Posters 419 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • black3dynamiteB
      black3dynamite
      last edited by black3dynamite

      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_needed

      setenforce 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?

      1 Reply Last reply Reply Quote 3
      • scottalanmillerS
        scottalanmiller
        last edited by

        Reinstalling seems a bit drastic.

        black3dynamiteB 1 Reply Last reply Reply Quote 0
        • black3dynamiteB
          black3dynamite @scottalanmiller
          last edited by

          @scottalanmiller said in Troubleshooting SELinux in Fedora 27?:

          Reinstalling seems a bit drastic.

          That's why I kept it has a last resort.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post