Project

General

Profile

Actions

Bug #13573

open

Adding a UEFI HTTPBoot URL and enabling network booting with static mappings causes dhcpd to crash

Added by Jason Montleon 4 months ago. Updated about 1 month ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
DHCP Server (IPv4)
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Release Notes:
Default
Affected Plus Version:
22.05
Affected Architecture:

Description

If I go down to Network Booting, check enable, and add a UEFI HTTPBoot URL pfSense adds an option for every static mapping

host s_lan_0 { hardware ethernet ... fixed-address ... option host-name ... option custom-s_lan_0-0 "HTTPClient"; }

On service restart logs show Oct 18 09:46:13 dhcpd 2326 /etc/dhcpd.conf line 43: unknown option dhcp.custom-s_lan_0-0 for each static lease and then the server crashes.

I nuked all these on the CLI and restarted the server with /usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid and everything worked as expected until the next service restart when the config was overwritten.

If I disable network booting and restart these are removed and the server starts.

Actions #1

Updated by Jason Montleon 4 months ago

May be the same or related to https://redmine.pfsense.org/issues/13554, but this was referencing vlan configuration instead of static mappings, so I am not certain.

Actions #2

Updated by Kris Phillips about 2 months ago

I'm unable to reproduce this in pfSense Plus 23.01. Can you please test this on the latest development version to verify it's fixed?

I did the following:

1. Added static mapping
2. Enabled Network Booting, set a "Next Server IP", and a HTTPBoot path.
3. Saved, applied, and restarted dhcpd

The service seems to have started each time without issue.

Actions #3

Updated by Jim Pingle about 1 month ago

  • Status changed from New to Feedback
Actions

Also available in: Atom PDF