location of DHCP lease files



Hi -

I've noticed that the native Fedora "ifup-eth" script puts its lease files into

/var/lib/dhclient/dhclient-${DEVICE}.leases

but, NetworkManager puts the lease files into

/var/run/dhclient-${DEVICE}.lease

It looks like this is coming from nm-dhcp-manager.h, which builds NM_DHCP_MANAGER_RUN_DIR from LOCALSTATEDIR and the constant "/run". The localstatedir is set to /var in the top level Makefile.

Is this inconsistency related to running an SVN version (r4254), when compared to an official Fedora yum update? 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]