Project

General

Profile

Actions

Bug #6750

closed

dhcpleases shouldn't start when DHCP Relay is configured

Added by Gary Dezern over 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Low
Category:
DHCP (IPv4)
Target version:
Start date:
08/30/2016
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3.2
Affected Architecture:

Description

As well, unbound's config page (Services->"DNS Resolver"->"General Settings") shouldn't allow the "register DHCP leases" option if DHCP relay is enabled.

It doesn't make sense to have a process watch a lease file that will never be populated (because dhcpd isn't running.) I set the priority as "low" as there's really no noticeable negative impact of dhcpleases running and doing absolutely nothing.

Actions #2

Updated by Renato Botelho about 7 years ago

  • Category set to DHCP (IPv4)
  • Status changed from New to Feedback
  • Assignee set to Renato Botelho
  • Target version set to 2.4.0
  • % Done changed from 0 to 100

PR has been merged, thanks

Actions #3

Updated by Jim Pingle about 7 years ago

  • Status changed from Feedback to Resolved

Looks good. Input validation prevents the incorrect configuration from happening, and even if the incorrect configuration is in place, the daemon is not launched when it shouldn't be.

Actions #4

Updated by Jim Pingle almost 7 years ago

  • Target version changed from 2.4.0 to 2.3.4
Actions

Also available in: Atom PDF