mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	fix for bug 3496: disable SELinux on RHEL, check rc problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15969 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -442,7 +442,9 @@ if ($::INITIALINSTALL || $::FORCE) | ||||
|      if (-f "/etc/redhat-release") | ||||
|      { | ||||
|          my $rc=xCAT::Utils->isSELINUX(); | ||||
|          if ($rc != 0) | ||||
|          # rc 0 means SELinux is enabled | ||||
|          # rc 1 means SELinux is not enabled | ||||
|          if ($rc == 0) | ||||
|          { | ||||
|              xCAT::MsgUtils->message('W', "SELINUX is not disabled, disabling it now..."); | ||||
|              # Disable selinux for running system | ||||
|   | ||||
		Reference in New Issue
	
	Block a user