Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 962444

Summary: nsupdate: mem.c:877: INSIST(ctx->stats[i].gets == 0U) failed.
Product: Red Hat Enterprise Linux 5 Reporter: Rob Crittenden <rcritten>
Component: bindAssignee: Tomáš Hozza <thozza>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.9CC: mkosek, rcritten
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-02 13:07:15 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:
Attachments:
Description Flags
Patch for the memory leak none

Description Rob Crittenden 2013-05-13 13:58:34 UTC
Description of problem:

In the context of the IPA client installer, ipa-client-install, we try to update the DNS A records. This is returning an error, though DNS is properly updated.

The update file looks like:

zone example.com.
update delete zeus.example.com. IN A
send
update add zeus.example.com. 1200 IN A 192.168.166.6
send

It is executed as:

/usr/bin/nsupdate -g /etc/ipa/.dns_update.txt 

On stderr we see:

mem.c:877: INSIST(ctx->stats[i].gets == 0U) failed.

And the return value is 6.

Version-Release number of selected component (if applicable):

bind-utils-9.3.6-20.P1.el5_8.5

Steps to Reproduce:
1. Install an IPA server, say in RHEL 6.4
2. ipa-client-install in RHEL 5.9
  
Actual results:

Failed to update DNS A record. (Command '/usr/bin/nsupdate -g /etc/ipa/.dns_update.txt' returned non-zero exit status 6)

Comment 1 Tomáš Hozza 2013-11-27 15:33:38 UTC
Hi.

Could you please attach the '/etc/ipa/.dns_update.txt' file?

I believe this issue is the same as Bug #1034824

Comment 2 Rob Crittenden 2013-11-27 15:39:08 UTC
It is included in the body of the initial report.

Comment 3 Tomáš Hozza 2013-11-27 15:44:09 UTC
(In reply to Rob Crittenden from comment #2)
> It is included in the body of the initial report.

Sorry, my bad. I missed it.

Comment 4 Tomáš Hozza 2013-12-09 15:09:24 UTC
Created attachment 834353 [details]
Patch for the memory leak

Comment 5 RHEL Program Management 2014-02-25 00:14:37 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 6 RHEL Program Management 2014-03-07 12:43:36 UTC
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.

Comment 7 RHEL Program Management 2014-06-02 13:07:15 UTC
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).