Re: lease.openlogging.org is unreachable

From: Larry McVoy
Date: Sun Dec 26 2004 - 20:46:03 EST


On Sun, Dec 26, 2004 at 09:31:11PM -0300, Horst von Brand wrote:
> > 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?
>
> MAC of eth0?

As others have pointed out that won't work.

I'm trying to remember why we get leases on a per host basis and I think
it is for a simple reason, NFS. We update the leases in your home
directory and if your home directory is nfs mounted then we can corrupt
the leases file due to races (yes, we saw this all the time when we had
one leases file). So we stick the leases for a particular host in that
host's file.
--
---
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/