[4068] in Athena Bugs
Circular mountpoint strikes again
daemon@ATHENA.MIT.EDU (marc@ATHENA.MIT.EDU)
Sun Jan 28 19:46:12 1990
From: marc@ATHENA.MIT.EDU
To: bug-afs@ATHENA.MIT.EDU
Cc: bugs@ATHENA.MIT.EDU
Reply-To: marc@MIT.EDU
Date: Sun, 28 Jan 90 19:45:48 EST
This is steve-dallas, an rt in the SIPB office running 6.4R.
Note to bugs: There is a csh and a libc bug in here...
<56> steve-dallas:~> fs lsm /afs/athena/user/m/marc/Sipb
'/afs/athena/user/m/marc/Sipb' is a mount point for volume '#sipb.mit.edu:user.marc'
<58> steve-dallas:~> fs lsm /afs/sipb/user/marc/Athena
'/afs/sipb/user/marc/Athena' is a mount point for volume '%athena.mit.edu:user.marc'
My prompt says ~/bin, and "ls -l ." confirms this. Now, "ls -l .."
shows me my athena homedir, "ls -l ../.." is my sipb homedir, "ls -l
../../.." is my athena homedir, "ls -l ../../../.." is my sipb
homedir.... I think you get the idea. Now, for the trick. pwd
doesn't work, it says "Can't stat ..\nDid you su in a fascist
directory?" <Insert flame about broken error message. pwd isn't even
setuid> I'm guessing that the getpwd() syscall (function?) times out
trying to trace an infinite chain of circular .. links. Well, I typed
~/ and then tried to complete. The shell is now apparently stuck in
the kernel (kill -9 fails). Apparently, the shell does something
which should never lose, but AFS is broken, and well, I lose.
If that didn't all make sense, find me and I'll be more explicit.
I'll also try to replicate the bug.
Ctrl-Alt-Pause is your friend....
Marc