From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261723AbULZSSs (ORCPT ); Sun, 26 Dec 2004 13:18:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261726AbULZSSs (ORCPT ); Sun, 26 Dec 2004 13:18:48 -0500 Received: from ipcop.bitmover.com ([192.132.92.15]:36576 "EHLO work.bitmover.com") by vger.kernel.org with ESMTP id S261723AbULZSSn (ORCPT ); Sun, 26 Dec 2004 13:18:43 -0500 Date: Sun, 26 Dec 2004 10:18:37 -0800 From: Larry McVoy To: M?ns Rullg?rd Cc: Larry McVoy , linux-kernel@vger.kernel.org Subject: Re: lease.openlogging.org is unreachable Message-ID: <20041226181837.GA28786@work.bitmover.com> Mail-Followup-To: Larry McVoy , M?ns Rullg?rd , Larry McVoy , linux-kernel@vger.kernel.org References: <200412250121_MC3-1-91AF-7FBB@compuserve.com> <20041226011222.GA1896@work.bitmover.com> <20041226030957.GA8512@work.bitmover.com> <20041226160205.GB26574@work.bitmover.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 26, 2004 at 07:06:52PM +0100, M?ns Rullg?rd wrote: > Larry McVoy writes: > > > On Sun, Dec 26, 2004 at 11:26:42AM +0100, M?ns Rullg?rd wrote: > >> I've been bitten by that one, as I occasionally work off-line. Is > >> there some way I can make BK renew the leases a week or so before they > >> expire? > > > > In theory, we do that already. By you can always do a "bk lease renew" > > and that will get you a new lease. "bk lease show" will show you your > > lease. > > Looking closer, the problem is that my hostname keeps changing, > depending on which network the laptop is on, if any. I guess the > simple solution is to remember to renew the lease for the no-net > hostname before going offline. The other answer, which I'm happy to consider, is to come up with a unique id on a per host basis and use that for the leases. That's not a fun task, does anyone have code (BSD license please) which does that? -- --- Larry McVoy lm at bitmover.com http://www.bitkeeper.com