Enabling SELinux After the Upgrade

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

  1. To enable SELinux run the following commands:
    1. Run these commands:
      sed -i -e "s/^SELINUX=.*/SELINUX=enforcing/" /etc/selinux/config
      
      sed -i -e "s/^SELINUXTYPE=.*/SELINUXTYPE=targeted/" /etc/selinux/config
      
      reboot
    2. Install the new customized SELinux policy modules for Session monitor using the command:
      cd /opt/oracle/ocsm/
      ./ocsm_ext.sh
      ip link add dummy0 type dummy
      ifconfig dummy0 up