Project

General

Profile

Bug #9383

dhcpleases kqueue error

Added by Jim Pingle over 1 year ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DHCP Server
Target version:
Start date:
03/06/2019
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.5.0
Affected Architecture:
All

Description

On 2.5.0 snapshots when DHCP lease integration is enabled for the DNS Resolver, the following error is logged at boot:

Mar 4 16:45:27     dhcpleases     79337     kqueue error: unkown

Associated revisions

Revision c968ef7e (diff)
Added by Luiz Souza 4 months ago

Make sure dhcpleases is killed before writing the hosts file.

Needs to happen before fopen($hosts, "w") as it is going to truncate the file
and that breaks the tracking of hosts size in dhcpleases.

Ticket: #9383

History

#1 Updated by Steve R over 1 year ago

this appears on a vanilla install with only DHCP / DNS Resolver turned on in 2.4.4_p2 on a J1900 NanoPC box

"DNS Query Forwarding" - Enable/Disabled - makes no difference to the error
"Register DHCP static mappings in the DNS Resolver" - Enable/Disabled - makes no difference to the error

the trigger for the error is "Register DHCP leases in the DNS Resolver"
- checked error occurs, unchecked no error

Error first appears immediately after boot and any time unbound is re-started

#2 Updated by Luiz Souza about 1 year ago

  • Assignee set to Luiz Souza

#3 Updated by Luiz Souza 4 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Fixed in dhcpleases-0.5.

#4 Updated by Max Leighton about 1 month ago

  • Status changed from Feedback to Resolved

Validated the behavior in 2.4.5_1

Tested again in

2.5.0-DEVELOPMENT (amd64)
built on Sun Sep 20 06:59:15 EDT 2020
FreeBSD 12.2-PRERELEASE

The error is no longer logged after restarting unbound/rebooting the firewall.

Marking ticket as resolved.

Also available in: Atom PDF