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.
Cause:
When (IPv6 version of) dhcpd serves too many requests.
Consequence:
The leases file grows until it has many GB in size and dhcpd then refuses to restart with a message saying that 'file is too long to buffer'.
Fix:
Patch from upstream was back-ported.
Result:
dhcpd (for IPv6) rotates the leases file, so it can't grow so big.
Description of problem:
With buggy clients (200 renews per second) dhcpd6.leases grow fast to GB size and dhcpd refuses to restart. Mine was 2.4 GB. Today another ended at 2.7 GB.
dhcpd: /var/lib/dhcpd/dhcpd6.leases: file is too long to buffer.
Smaller leases file (388 MB) is parsed and shrinked.
Version-Release number of selected component (if applicable):
dhcp-4.1.1-38.P1.el6.centos.x86_64
How reproducible:
always
Actual results:
dhcpd: /var/lib/dhcpd/dhcpd6.leases: file is too long to buffer.
Expected results:
normal dhcpd start
Additional info:
They say that the bug was fixed in 4.2.4.
https://lists.isc.org/pipermail/dhcp-users/2013-November/017365.html
It would be nice to get to the ISC DHCP 4.3.0a1 (v6 uplift) for better RFC support. I'm waiting for ddns-update-style standard and primary6 in DDNS zone scope too.
Created attachment 851160[details]
possible patch
I looked into changelog and found this might be what we are looking for:
Changes since 4.2.4rc1
- Rotate the lease file when running in v6 mode.
Thanks to Christoph Moench-Tegeder at Astaro for the
report and the first version of the patch.
[ISC-Bugs #24887]
I isolated the changes between 4.2.4rc1 and 4.2.4rc2 and this patch seems it shall handle it.
I will try to apply it on the RHEL version and see whether it fixes it.
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2014-1406.html