Bug 250302 - confusing nsupdate errors
confusing nsupdate errors
Product: Fedora
Classification: Fedora
Component: bind (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Adam Tkac
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-07-31 13:49 EDT by Curtis Doty
Modified: 2013-04-30 19:36 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-08-01 08:10:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Curtis Doty 2007-07-31 13:49:44 EDT
An old ddns script that worked fine on FC6/bind-9.3.4 now fails on F7/9.4.1 with
this error:

mem.c:866: INSIST((((ctx->pools).head == ((void *)0)) ? isc_boolean_true :
isc_boolean_false)) failed.

I *think* this is because it can no longer handle leading blank lines on stdin.
In my case, it was an easy-to-read bash script using a here string:

        nsupdate -k $1 <<<"
                server $DDNSSERVER
                zone $DDNSZONE
                update delete $LHOSTNAME A
                update add $LHOSTNAME $TTL A $IPADDR

The confusing and misleading error is the bug.
Comment 1 Adam Tkac 2007-08-01 08:10:51 EDT
(In reply to comment #0)
> I *think* this is because it can no longer handle leading blank lines on stdin.

> The confusing and misleading error is the bug.

It's memory-leak checking (if ctx->pools->head isn't NULL that means some memory
have been allocated but not dealocated). It's low-severity bug because records
are updated as expected (yes, in the end of nsupdate is some memory isn't
dealocated but kernel take care about it ;) ). Already fixed in rawhide. I don't
think that this has to be fixed in F7. If you want fix in F7, please reopen.

Regards, Adam

Comment 2 Curtis Doty 2007-08-01 12:38:02 EDT
Agreed. The F7 workaround is to clean up the input and thus appease nsupdate's

Note You need to log in before you can comment on or make changes to this bug.