As SELinux is turned off only temporarily with 'setenforce 0', the next time the autotest server is rebooted, the SELinux related problems will start to pop out again, so change default enforcing mode to permissive.
Signed-off-by: Lucas Meneghel Rodrigues <[email protected]> --- contrib/install-autotest-server.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contrib/install-autotest-server.sh b/contrib/install-autotest-server.sh index ec0f5d9..acf92ca 100755 --- a/contrib/install-autotest-server.sh +++ b/contrib/install-autotest-server.sh @@ -208,6 +208,11 @@ then echo 0 > /selinux/enforce fi setenforce 0 + +if [ -x /etc/selinux/config ] +then + /usr/local/bin/substitute 'SELINUX=enforcing' 'SELINUX=permissive' /etc/selinux/config +fi } setup_mysql_service() { -- 1.7.10.1 _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
