Files location in DHCP 4.0.0

gagadget at free.fr gagadget at free.fr
Tue Apr 29 14:14:11 UTC 2008


Dear listers,

I have troubles to get the right files in the right places when compiling dhcp
4.0.0 :

./configure --prefix=$INSTALL_DIR --disable-dhcpv6
where $INSTALL_DIR is where I want to install everthing.

What I got is a dhcpd that use these files :
/var/run/dhcpd.pid
/var/db/dhcpd.leases
/etc/dhcpd.conf

Instead of :
$INSTALL_DIR/var/run/dhcpd.pid
$INSTALL_DIR/var/db/dhcpd.leases
$INSTALL_DIR/etc/dhcpd.conf

as documented in ./configure --help

If I set manually the directories like that :
--prefix=$INSTALL_DIR --disable-dhcpv6 --sysconfdir=$INSTALL_DIR/etc
--localstatedir=$INSTALL_DIR/var

dhcpd is still looking for dhcpd.conf in /etc ... no way to configure that at
compile time.

Am I missing something ?

Regards,
Gael.


More information about the dhcp-users mailing list