]> git.ipfire.org Git - thirdparty/bind9.git/commit
Only warn if we could not delete signature
authorMatthijs Mekking <matthijs@isc.org>
Fri, 3 Dec 2021 15:18:13 +0000 (16:18 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Thu, 6 Jan 2022 08:35:29 +0000 (09:35 +0100)
commit8e31f6981a4e080bc02158a74f4f99f70144cf45
tree5b5c8a5f3f9bff44f23de46b026a33f55593a83d
parent0c2e37a064fd4e14af04a97c97033098d9fda591
Only warn if we could not delete signature

BIND can log this warning:

    zone example.ch/IN (signed): Key example.ch/ECDSAP256SHA256/56340
      missing or inactive and has no replacement: retaining signatures.

This log can happen when BIND tries to remove signatures because the
are about to expire or to be resigned. These RRsets may be signed with
the KSK if the ZSK files has been removed from disk. When we have
created a new ZSK we can replace the signatures creeated by the KSK
with signatures from the new ZSK.

It complains about the KSK being missing or inactive, but actually it
takes the key id from the RRSIG.

The warning is logged if BIND detects the private ZSK file is missing.

The warning is logged even if we were able to delete the signature.

With the change from this commit it only logs this warning if it is not
okay to delete the signature.

(cherry picked from commit 2d2858841a8a749792f50ff077d03cf50f730981)
lib/dns/zone.c