The rc script in the isc-dhcpd service throws eval: ${/...}: Bad substitution when all services are restarted (using `service -R`) To reproduce: $ pkg install isc-dhcp44-server $ service isc-dhcpd enable $ service -R
This was already fixed in net/isc-dhcp43-server in #225861 with a small patch https://svnweb.freebsd.org/ports/head/net/isc-dhcp43-server/files/isc-dhcpd.in?r1=461710&r2=461709&pathrev=461710 The same patch should be applied to isc-dhcp44-server :)
A commit references this bug: Author: zi Date: Wed May 22 12:31:27 UTC 2019 New revision: 502265 URL: https://svnweb.freebsd.org/changeset/ports/502265 Log: - Fix error when calling 'service -R' - Bump PORTREVISION PR: 234796 Reported by: Jose Luis Duran <jlduran@gmail.com> Changes: head/net/isc-dhcp44-server/Makefile head/net/isc-dhcp44-server/files/isc-dhcpd.in
Sorry, but now it is "eval: ${dhcpd....} Bad substitution". Though the fix described above IS there. BTW, the same happens to openvpn.
I'm talking about isc-dhcp44-server