Bug #13573
openAdding a UEFI HTTPBoot URL and enabling network booting with static mappings causes dhcpd to crash
0%
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.
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.
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.