Summary: | dhclient does not store it's lease info in /var/lib/dhcp/dhclient.leases | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Eric Pretorious <epretorious> |
Component: | [OLD] Server | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | maxwang_tw |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 31840 |
Description
Eric Pretorious
2003-08-28 00:40:37 UTC
*** This bug has been marked as a duplicate of 27079 *** This bug is NOT a duplicate of 27079: Bug 27079 relates to dhcpd-3.0. This bug relates to dhcpcd-1.3. Eric, in your original comment, you describe things that are related to dhcp (not dhcpcd). I.e. /var/lib/dhcp/dhclient.leases is part of dhcp. The client program dhcpcd has nothing to do with that file -- it uses /var/lib/dhcpc in which it places a file like "dhcpcd-eth0.info". Therefore, obviously, dhclient.leases will remain empty. Please confirm that /var/lib/dhcpc/dhcpcd-eth0.info gets populated with some data. You are correct! I apologize. Did I misread the documentation?... from the dhclient man-page: In order to keep track of leases across system reboots and server restarts, dhclient keeps a list of leases it has been assigned in the dhclient.leases(5) file.... When a new lease is acquired, it is appended to the end of the dhclient.leases file. The DHCP client normally gets its configuration information from ETCDIR/dhclient.conf, its lease database from DBDIR/dhclient.leases, stores its process ID in a file called RUNDIR/dhclient.pid, and configures the network interface using CLIENTBINDIR/dhclient-script ...or is it just wrong? |