Bug 1889902

Summary: inline re-signing stops [rhel-7.9.z]
Product: Red Hat Enterprise Linux 7 Reporter: Mason Loring Bliss <mbliss>
Component: bindAssignee: Tomas Korbar <tkorbar>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: high Docs Contact:
Priority: urgent    
Version: 7.7CC: aegorenk, cww, fkrska, jreznik, pemensik, psklenar, sbroz, tkorbar, yozone
Target Milestone: rcKeywords: Patch, TestCaseProvided, Triaged, ZStream
Target Release: ---Flags: thozza: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: bind-9.11.4-26.P2.el7_9.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 11:20:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mason Loring Bliss 2020-10-20 21:00:04 UTC
Description of problem:

Noted and fixed upstream, resigning stops.

Upstream bug is here:

https://gitlab.isc.org/isc-projects/bind9/-/issues/1627

As this is relatively new, it probably impacts RHEL 8 as well, but I have 
yet to confirm this given a missing build dependency issue I'm chasing down 
separately.

The fix, from upstream, is:

diff --git a/lib/dns/zone.c b/lib/dns/zone.c
index 3ef2394a5a..4ceff1caff 100644
--- a/lib/dns/zone.c
+++ b/lib/dns/zone.c
@@ -4999,6 +4999,14 @@ zone_postload(dns_zone_t *zone, dns_db_t *db, isc_time_t loadtime,
            DNS_ZONE_FLAG(zone->secure, DNS_ZONEFLG_LOADED))
        {
                DNS_ZONE_CLRFLAG(zone->secure, DNS_ZONEFLG_LOADPENDING);
+               /*
+                * Re-start zone maintenance if it had been stalled
+                * due to DNS_ZONEFLG_LOADPENDING being set when
+                * zone_maintenance was called.
+                */
+               if (zone->secure->task != NULL) {
+                       zone_settimer(zone->secure, &now);
+               }
        }

I don't see that zone->secure->task check anywhere in our source, nor do I 
see the comment.

Comment 14 errata-xmlrpc 2020-12-15 11:20:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (bind bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:5456

Comment 15 Red Hat Bugzilla 2023-09-15 00:49:59 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days