Actions
Bug #13573
closedDHCP Server generates an invalid configuration for static mappings when defining network booting and UEFI HTTPBoot URL
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
23.05
Release Notes:
Default
Affected Version:
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.
Related issues
Actions