mirror of
				https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
				synced 2025-10-30 23:05:58 +00:00 
			
		
		
		
	FreeIPA: get verbose logs from BIND
This was necessary for debugging the FreeIPA 4.8 pre-release update bug, so let's have it for all runs, just in case. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
		
							parent
							
								
									6c22b55be5
								
							
						
					
					
						commit
						0d38d3f292
					
				| @ -97,6 +97,11 @@ sub post_fail_hook { | ||||
|         upload_logs "/var/lib/systemd/coredump/coredump.tar.gz"; | ||||
|     } | ||||
| 
 | ||||
|     # upload bind log (for FreeIPA server test) | ||||
|     unless (script_run 'test -f /var/named/data/named.run') { | ||||
|         upload_logs "/var/named/data/named.run"; | ||||
|     } | ||||
| 
 | ||||
|     # Upload /var/log | ||||
|     # lastlog can mess up tar sometimes and it's not much use | ||||
|     unless (script_run "tar czvf /tmp/var_log.tar.gz --exclude='lastlog' /var/log") { | ||||
|  | ||||
| @ -27,6 +27,9 @@ sub run { | ||||
|     # in error_log | ||||
|     assert_script_run 'mkdir -p /etc/ipa'; | ||||
|     assert_script_run 'printf "[global]\ndebug = True\n" > /etc/ipa/server.conf'; | ||||
|     # per ab, this gets us more debugging for bind | ||||
|     assert_script_run 'mkdir -p /etc/systemd/system/named-pkcs11.service.d'; | ||||
|     assert_script_run 'printf "[Service]\nEnvironment=OPTIONS=-d5\n" > /etc/systemd/system/named-pkcs11.service.d/debug.conf'; | ||||
|     # read DNS server IPs from host's /etc/resolv.conf for passing to | ||||
|     # ipa-server-install / rolectl | ||||
|     my @forwards = get_host_dns(); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user