From owner-freebsd-questions@FreeBSD.ORG Mon Nov 14 17:39:54 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78DDB16A41F for ; Mon, 14 Nov 2005 17:39:54 +0000 (GMT) (envelope-from LukeD@pobox.com) Received: from orb.pobox.com (orb.pobox.com [207.8.226.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9A9B43D49 for ; Mon, 14 Nov 2005 17:39:53 +0000 (GMT) (envelope-from LukeD@pobox.com) Received: from orb (localhost [127.0.0.1]) by orb.pobox.com (Postfix) with ESMTP id 6997B7C4 for ; Mon, 14 Nov 2005 12:40:38 -0500 (EST) Received: from pool-71-112-205-160.sttlwa.dsl-w.verizon.net (pool-71-112-205-160.sttlwa.dsl-w.verizon.net [71.112.205.160]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by orb.sasl.smtp.pobox.com (Postfix) with ESMTP id D2F2D89 for ; Mon, 14 Nov 2005 12:40:37 -0500 (EST) Date: Mon, 14 Nov 2005 09:39:48 -0800 (PST) From: Luke Dean X-X-Sender: lukas@border.crystalsphere.multiverse To: freebsd-questions@freebsd.org Message-ID: <20051114093334.N5133@border.crystalsphere.multiverse> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: dhclient.leases grows forever? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Luke Dean List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2005 17:39:54 -0000 I've recently upgraded to version 6, and I'm using the new dhclient. It seems to be working happily, but I've noticed that /var/db/dhclient.leases.rl0 just keeps growing and growing, with new leases being added to the end. Leases that expired several hours ago remain in the file. According to the manpage for dhclient.leases, this database is supposed to contain only leases that are "still valid", yet the expiration time on many of them has long since passed. Is there a bug, a misconfiguration, or am I responsible for setting up my own script for purging this thing? I can't find any cron-driven script that cleans up this file, so I'm wondering if dhclient is supposed to handle this itself, and if so, when?