It fails with error: /usr/local/etc/rc.d/isc-dhcpd: ERROR: unable to copy /etc/host.conf to /var/db/dhcpd/etc/host.conf -- not a file or a directory After r359068 there is no /etc/host.conf anymore.
And, I think, nsswitch.conf should be copied instead.
For now I use conditional copying, if the file exists. I'm not sure whether it's the best way, but works for me with 12 and 13.
Created attachment 225294 [details] isc-dhcp44-server.conditional-copy.diff
/etc/rc.d/nsswitch was responsible for creating host.conf for legacy binaries, but that file was removed somewhere between 12.2 and 13.0. New installations won't have either file and rc.d/isc-dhcpd must not depend on its presence.
(In reply to Lev A. Serebryakov from comment #1) > And, I think, nsswitch.conf should be copied instead. I agree, that seems to be the correct file starting with FreeBSD 5.0. And since this affects every new 13.0 installation, can the importance of this bugreport be upgraded from "Affects only me" to something more severe?
Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=48ac5fb485dc9271286eb93789a6bf70ba6f5f4a commit 48ac5fb485dc9271286eb93789a6bf70ba6f5f4a Author: Ryan Steinmetz <zi@FreeBSD.org> AuthorDate: 2021-06-02 16:01:50 +0000 Commit: Ryan Steinmetz <zi@FreeBSD.org> CommitDate: 2021-06-02 16:03:20 +0000 net/isc-dhcp44-server: Fix chroot support on 13.x - Bump PORTREVISION PR: 245362 net/isc-dhcp44-server/Makefile | 2 +- net/isc-dhcp44-server/files/isc-dhcpd.in | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-)