Disabling SELinux After the Upgrade

After the upgrade, it is mandatory to enable or disable SELinux again as per your requirement.

  1. To disable SELinux:
    1. Run the following commands:
      sed -i -e "s/^SELINUX=.*/SELINUX=disabled/" /etc/selinux/config
      reboot