mirror of
				https://salsa.debian.org/freeipa-team/freeipa.git
				synced 2025-02-25 18:55:28 -06:00 
			
		
		
		
	FIX: named_enable_dnssec should verify if DNS is installed
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
This commit is contained in:
		
				
					committed by
					
						 Petr Viktorin
						Petr Viktorin
					
				
			
			
				
	
			
			
			
						parent
						
							00309f8e42
						
					
				
				
					commit
					42d035f64c
				
			| @@ -598,6 +598,11 @@ def named_enable_dnssec(): | ||||
|     """ | ||||
|     Enable dnssec in named.conf | ||||
|     """ | ||||
|     if not bindinstance.named_conf_exists(): | ||||
|         # DNS service may not be configured | ||||
|         root_logger.info('DNS is not configured') | ||||
|         return False | ||||
|  | ||||
|     if not sysupgrade.get_upgrade_state('named.conf', 'dnssec_enabled'): | ||||
|         root_logger.info('[Enabling "dnssec-enable" configuration in DNS]') | ||||
|         try: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user