Temporarily copy unbound.log in cleanup_host
In order to try and track down pervasive name resolution failures, unbound has been configured to log errors to /var/log/unbound.log recent images. Collect these along with the usual auxiliary logs so we will be able to analyze them for clues following job completion. Change-Id: Id9de9ac63523e91620c3db2292bbc753ce48c387
This commit is contained in:
parent
9d61c91532
commit
ec35f37047
|
@ -879,6 +879,9 @@ function cleanup_host {
|
|||
sudo cp -r /var/core $BASE/logs/
|
||||
fi
|
||||
|
||||
# unbound
|
||||
save_file /var/log/unbound.log
|
||||
|
||||
# Make sure the current user can read all the logs and configs
|
||||
sudo chown -RL $USER:$USER $BASE/logs/
|
||||
# (note X not x ... execute/search only if the file is a directory
|
||||
|
|
Loading…
Reference in New Issue