Add the parameter selinux=0 to the end of the line that begins with the following syntax: linux16.
Press Ctrl+x to save the settings.
After booting, run the reinstall command for selinux-policy-targeted
Code: Select all
[root @ CentOS ~]$ yum reinstall selinux-policy-targeted -y
Code: Select all
[root @ CentOS ~]$ yum install selinux-policy-targeted -y
Code: Select all
[root @ CentOS ~]$ touch /.autorelabel
Code: Select all
[root @ CentOS ~]$ reboot -h now
Code: Select all
[root @ CentOS ~]$ sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: enforcing
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 31