[OpenAFS-devel] Bug in CellAlias

Quanah Gibson-Mount quanah@stanford.edu
Thu, 04 Sep 2003 15:52:45 -0700


--On Thursday, September 04, 2003 3:38 PM -0700 Quanah Gibson-Mount 
<quanah@stanford.edu> wrote:

> Hello,
>
> I'm running OpenAFS 1.2.10.  I find a problem with how OpenAFS seems to
> be using the CellAlias file (note that there IS a bug in my CellAlias
> file, but I think the behavior I see here is wrong).
>
> My CellAlias file is:
>
> tribes:/usr/vice/etc> cat CellAlias
> ir.stanford.edu ir
> .ir.stanford.edu ir
>
> tribes:/usr/vice/etc> cd /afs
> tribes:/afs> ls -altr
> ir -> .ir.stanford.edu/
> .ir -> ..ir.stanford.edu
> ./
> ir.stanford.edu/
> .ir.stanford.edu/
> ../
>
> Note how ir points to ".ir.stanford.edu" instead of "ir.stanford.edu",
> and .ir points to "..ir.stanford.edu".  Given that my CellAlias file
> points BOTH of these to "ir.stanford.edu" neither of these links is
> correct.

Further notes on this -- I fixed my CellAlias file to be:
ir.stanford.edu ir
.ir.stanford.edu .ir

Now my /afs directory has:

ir -> ir.stanford.edu
.ir -> .ir.stanford.edu
.ir -> .ir.stanford.edu
..ir -> ..ir.stanford.edu
./
ir.stanford.edu
.ir.stanford.edu

Note that ".ir" shows up twice (??) and "..ir" is still present (??).

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/TSS/Computing Systems
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html