DHCP 4.2.4 install overwriting dhcpd.conf
Lyle Giese
lyle at lcrcomputer.net
Wed Jun 13 00:48:05 UTC 2012
I have a failover pair that was running ISC DHCP 4.1.1(built from source
downloaded from www.isc.org). I needed to replace one of the servers
and I downloaded DHCP 4.2.4 from www.isc.org and installed it on the new
server.
On the new server, I ran make install and then placed the old dhcpd.conf
and dhcpd.leases in place and started the daemon on the new server and
all was well.
Today, I got around to updating the old server so that it would be
running the newer version. I downloaded DHCP 4.2.4 and compiled it. I
ran ./configure, then make, stopped the old daemon, ran make install and
then started the new version. I start the daemon via:
/usr/sbin/dhcpd -4 -cf /usr/etc/dhcpd.conf -lf /usr/etc/dhcpd.lease
I was quite surprised that 'make install' overwrote the existing
dhcpd.conf with it's default. I had to go back to my backups and
restore that file. Then the daemon started normally and read in the
dhcpd.lease file just fine.
I don't think the install should be overwriting existing config files.
This is one of the few times I have seen that happen when installing
from source.
For what it's worth this system is running SLES 11 kernel
2.6.27.19-5-default 64 bit SMP.
Lyle Giese
LCR Computer Services, Inc.
More information about the dhcp-users
mailing list