]> git.ipfire.org Git - thirdparty/bind9.git/commit
Set DNS_JOURNALOPT_RESIGN when loading the secure journal for an inline-signed zone
authorMichał Kępień <michal@isc.org>
Wed, 22 Aug 2018 08:48:07 +0000 (10:48 +0200)
committerMichał Kępień <michal@isc.org>
Wed, 22 Aug 2018 08:56:42 +0000 (10:56 +0200)
commitde6b8ded56adea53dda729819d33fce290ab9ca5
tree2d20aa049afcdcbd5787f7f211e81859edd3b5b2
parent3628082cc9fce7b577abe30dd60d495f4e906fb3
Set DNS_JOURNALOPT_RESIGN when loading the secure journal for an inline-signed zone

When an inline-signed zone is loaded, the master file for its signed
version is loaded and then a rollforward of the journal for the signed
version of the zone is performed.  If DNS_JOURNALOPT_RESIGN is not set
during the latter phase, signatures loaded from the journal for the
signed version of the zone will not be scheduled for refresh.  Fix the
conditional expression determining which flags should be used for the
dns_journal_rollforward() call so that DNS_JOURNALOPT_RESIGN is set when
zone_postload() is called for the signed version of an inline-signed
zone.

Extend bin/tests/system/stop.pl so that it can use "rndc halt" instead
of "rndc stop" as the former allows master file flushing upon shutdown
to be suppressed.

(cherry picked from commit 8db550c42f94b619b554d4e1e7b7fac53d780c30)
bin/tests/system/inline/clean.sh
bin/tests/system/inline/ns3/named.conf.in
bin/tests/system/inline/ns3/sign.sh
bin/tests/system/inline/setup.sh
bin/tests/system/inline/tests.sh
bin/tests/system/stop.pl
lib/dns/zone.c