Installing DHCP 4.1.1, 4.1.1-P1 or 4.2.0, nukes dhcpd.conf

Ray Phillips r.phillips at uq.edu.au
Thu Jul 22 07:23:08 UTC 2010


>ISC DHCP 4.2.0 is now available for download.

An existing dhcpd.conf file is overwritten with an example one when 
installing DHCP 4.1.1, 4.1.1-P1 or 4.2.0 (possibly other 4.x versions 
too, those are the only ones I've tried) on NetBSD/i386 5.0.2:

% /usr/bin/time sh -c 'CFLAGS="-static" ./configure --sysconfdir=/etc 
--disable-dhcpv6 > configure.log 2>&1'
        32.24 real        17.07 user        11.43 sys
% /usr/bin/time sh -c 'make > make.log 2>&1'
       672.91 real       528.69 user        93.26 sys
% su
Password:
# ls -l /etc/dhcpd.conf
-rw-r-----  1 root  wheel  121867 Jun 22 18:04 /etc/dhcpd.conf
# /usr/bin/time sh -c 'make install > make-install.log 2>&1'
         7.84 real         3.02 user         4.18 sys
# ls -l /etc/dhcpd.conf
-rw-r--r--  1 root  wheel  3262 Jul 21 16:58 /etc/dhcpd.conf
#

That's a bit unfriendly isn't it?  Would it be possible for that 
behaviour to be changed in future releases?


Ray



More information about the dhcp-users mailing list