Re: lease.openlogging.org is unreachable

From: Larry McVoy
Date: Sun Dec 26 2004 - 13:21:59 EST


On Sun, Dec 26, 2004 at 07:06:52PM +0100, M?ns Rullg?rd wrote:
> Larry McVoy <lm@xxxxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/