31 Jan 2021
sed -i "s/^SELINUX=disabled.*$/SELINUX=permissive/g" /etc/selinux/config reboot
详情看下面的参考链接,基本上如果机器是新安装的,用以下三个命令检查出来没有denied信息,就可以继续下一步了
ausearch -m AVC,USER_AVC,SELINUX_ERR,USER_SELINUX_ERR -ts recent journalctl -t setroubleshoot dmesg | grep -i -e type=1300 -e type=1400
redhat access: identify selinux denials troubleshooting problem
sed -i "s/^SELINUX=permissive.*$/SELINUX=permissive/g" /etc/selinux/config reboot
redhat access: enable selinux on systems that previously had it disabled