[releng/13.0] make delete-old deletes /etc/host.conf, but isc-dhcpd need this file

From: Yaroslav Shvets <yaroslav_at_shvets.name>
Date: Wed, 23 Jun 2021 09:07:06 +0300 (EEST)
Hello All.

I'm not sure if I should write here.
During upgrading to releng/13.0 `make delete-old` deletes /etc/host.conf.
But isc-dhcpd can't start:

# service isc-dhcpd start
/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

# service isc-dhcpd status
dhcpd is not running.

-- cut --
dhcpd_enable="YES"                      # dhcpd enabled?
dhcpd_flags="-4"                        # command option(s)
dhcpd_conf="/usr/local/etc/dhcpd.conf"  # configuration file
dhcpd_ifaces="if_lan"                   # ethernet interface(s)
dhcpd_withumask="002"                   # file creation mask
dhcpd_chuser_enable="YES"               # runs w/o privileges?
dhcpd_withuser="dhcpd"                  # user name to run as
dhcpd_withgroup="dhcpd"                 # group name to run as
dhcpd_chroot_enable="YES"               # runs chrooted?
dhcpd_devfs_enable="YES"                # use devfs if available?
dhcpd_rootdir="/var/db/dhcpd"           # directory to run in
-- cut --

-- cut --
setup_chroot ()
         local _hconf _hosts _ltime _rconf

eval "safe_copy \${${name}_etcdir}/\$_hconf \${_dhcpd_etcdir}/\$_hconf"
-- cut --

What is not working correctly?
`make delete-old` or the file "/usr/local/etc/rc.d/isc-dhcpd"?

Yaroslav Shvets
Received on Wed Jun 23 2021 - 06:07:06 UTC

Original text of this message