[1385] in NetBSD-Development
hesiod.gen patch for linux/netbsd
daemon@ATHENA.MIT.EDU (Dan Winship)
Sun Sep 29 17:52:53 1996
Date: Sun, 29 Sep 1996 17:52:38 -0400
From: danw@MIT.EDU (Dan Winship)
To: cfyi@MIT.EDU, sipb-athena@MIT.EDU
A new version of hesiod.gen (the program that produces the data files
for the hesiod server from the moira database) will be going onto the
moira server tonight to fix the problem with attach with the newer
versions of BIND used by Linux (and soon NetBSD).
The only difference is that filesystems that exist in multiple
locations will have an additional field in their hesiod entries,
indicating preference values:
SOS# diff hesiod.old/filsys.db hesiod.new/filsys.db
26947,26960c26947,26960
< sipb.filsys HS UNSPECA "AFS /afs/sipb.mit.edu/project/sipb n /mit/sipb"
< sipb.filsys HS UNSPECA "AFS /afs/athena.mit.edu/contrib/sipb n /mit/sipb"
...
---
> sipb.filsys HS UNSPECA "AFS /afs/sipb.mit.edu/project/sipb n /mit/sipb 1"
> sipb.filsys HS UNSPECA "AFS /afs/athena.mit.edu/contrib/sipb n /mit/sipb 2"
Old versions of attach should just ignore the extra field. Linux
systems with the new attach will use it to determine that they want to
attach the sipb cell version of the sipb locker instead of the athena
cell version. (Linux systems with the old attach will alternate
between the two, losing every other time.)
Noboby should lose because of this (and in particular, people on suns,
sgis, decs, etc, shouldn't notice any difference in behavior at all).
Recent linux installs will suddenly start working because they already
have the new-and-improved attach. Older linux installs might not start
working (they should contact linux-help or rebuild attach themselves
out of the sipb-athena locker if they continue to have problems
attaching the sipb locker). People who use the official SIPB NetBSD
1.2 upgrade (which doesn't exist yet) will get a working version of
attach, but people who upgrade on their own might start losing the way
the Linux people had been losing before (and should contact
netbsd-help or build their own version of attach).
-- Dan
PS - This affects people who have homedirs in multiple cells as well,
but since all of those people read sipb-athena or cfyi or both, I'm
not sending a separate message :)