mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	the dns configure file on ubuntu /etc/bind/named.conf owner group should be bind
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14452 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -932,7 +932,12 @@ sub update_namedconf { | ||||
|     for my $l  (@newnamed) { print $newnameconf $l; } | ||||
|     flock($newnameconf,LOCK_UN); | ||||
|     close($newnameconf); | ||||
|     chown (scalar(getpwnam('root')),scalar(getgrnam('named')),$namedlocation); | ||||
|     if ( $distro =~ /ubuntu.*/ ){ | ||||
|         chown (scalar(getpwnam('root')),scalar(getgrnam('bind')),$namedlocation); | ||||
|     } | ||||
|     else{ | ||||
|         chown (scalar(getpwnam('root')),scalar(getgrnam('named')),$namedlocation); | ||||
|     } | ||||
| } | ||||
|  | ||||
| sub add_or_delete_records { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user