mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
wait for post 'rndc freeze' writes to complete
This commit is contained in:
@@ -769,15 +769,17 @@ grep 'addition 1' dig.out.1.test$n >/dev/null || ret=1
|
|||||||
if [ $ret != 0 ]; then echo_i "failed"; fi
|
if [ $ret != 0 ]; then echo_i "failed"; fi
|
||||||
status=$((status+ret))
|
status=$((status+ret))
|
||||||
|
|
||||||
|
nextpart ns7/named.run > /dev/null
|
||||||
|
|
||||||
echo_i "rndc freeze"
|
echo_i "rndc freeze"
|
||||||
$RNDCCMD 10.53.0.7 freeze | sed 's/^/ns7 /' | cat_i | cat_i
|
$RNDCCMD 10.53.0.7 freeze | sed 's/^/ns7 /' | cat_i | cat_i
|
||||||
|
|
||||||
|
wait_for_log 3 "dump_done: zone test/IN/internal: enter" ns7/named.run
|
||||||
|
|
||||||
echo_i "edit zone files"
|
echo_i "edit zone files"
|
||||||
cp ns7/test.db.in ns7/test.db
|
cp ns7/test.db.in ns7/test.db
|
||||||
cp ns7/include2.db.in ns7/include.db
|
cp ns7/include2.db.in ns7/include.db
|
||||||
|
|
||||||
nextpart ns7/named.run > /dev/null
|
|
||||||
|
|
||||||
echo_i "rndc thaw"
|
echo_i "rndc thaw"
|
||||||
$RNDCCMD 10.53.0.7 thaw | sed 's/^/ns7 /' | cat_i
|
$RNDCCMD 10.53.0.7 thaw | sed 's/^/ns7 /' | cat_i
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user