Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Previously, the dhcpd service with IPv6 support sometimes created a lease file that it was unable to parse. Consequently, once the service was restarted, it went into a loop and could not start. This bug has been fixed and now the service is able to properly parse all lease files it generates.
Created attachment 475182[details]
dhcp-4.1.1-parsing-fixes.patch
---Problem Description---
When testing IPv6 DHCP server, certain test cases cause the server to generate
a DHCP leases file with incorrect syntax. The next time the DHCP server
restarts, it is unable to parse this leases file and goes into an infinite
loop. Here is a sample of the output:
[root@athena3-nut7 ~]# dhcpd -6 -cf /tmp/tahi/dhcpd/dhcpd6.conf -lf
/tmp/tahi/dhcpd/dhcpd6.leases -pf /tmp/tahi/dhcpd/dhcpd6.pid eth0
Internet Systems Consortium DHCP Server 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not
specified in the config file
/tmp/tahi/dhcpd/dhcpd6.leases line 33: semicolon expected.
}
^
/tmp/tahi/dhcpd/dhcpd6.leases line 34: corrupt lease file; expecting ia_na
contents, got '
'
^
The second of these error messages is then repeated in an infinite loop, and
the DHCP server is never able to start.
I downloaded the source code for DHCP 4.1.2 from
http://www.isc.org/software/dhcp and found that this problem had already been
fixed. I ported the appropriate patches back to 4.1.1-P1 and rebuilt the rpm.
After re-running the tests, we no longer encounter the above errors.
---uname output---
Linux athena3-nut7.linuxperf9025.net 2.6.32-71.el6.x86_64 #1 SMP Wed Sep 1
01:33:01 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
Machine Type = KVM guest on a x3950m2 RHEL6 host
---Steps to Reproduce---
Install the Tahi IPv6-conformance test suite and the DHCPv6 package.
- http://www.tahi.org/
- http://www.tahi.org/logo/dhcpv6/
Install RHEL6 on the node-under-test.
Run the dhcpv6.p2 server tests.
I have a KVM setup where I can demonstrate this test in more detail if there
are any questions or issues with the proposed patch.
---Network Component Data---
Userspace tool common name: dhcp
Userspace rpm: dhcp-4.1.1-12.P1.el6.x86_64
=== In Red Hat Customer Portal Case 00410827 ===
--- Comment by IBM bug, proxy on 3/15/2011 1:13 PM ---
------- Comment From kevcorry.com 2011-03-15 13:03 EDT-------
I will test out the new dhcp packages in the next day or two and post the results.
------- Comment From prem.karat.ibm.com 2011-02-23 05:42 EDT-------
(In reply to comment #6)
> Hello,
> I have sent this up for engineering to review.
>
> Thank You
> Joe Kachuck
Hi Joe
Can you confirm if this is accepted?
Cheers,
Prem
------- Comment From kevcorry.com 2011-03-28 12:32 EDT-------
I reran the DHCP tests using the new RPMs, and the parsing errors in the leases file no longer occur.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Previously, the dhcpd service with IPv6 support sometimes created a lease file that it was unable to parse. Consequently, once the service was restarted, it went into a loop and could not start. This bug has been fixed and now the service is able to properly parse all lease files it generates.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.
http://rhn.redhat.com/errata/RHBA-2011-0697.html