[9216] in Athena Bugs

home help back first fref pref prev next nref lref last post

(VS3100) Version 7.3P: afs token race condition still there.

daemon@ATHENA.MIT.EDU ("Mark W. Eichin")
Fri Apr 17 10:10:12 1992

Date: Fri, 17 Apr 92 10:09:53 -0400
From: eichin@Athena.MIT.EDU ("Mark W. Eichin")
To: bugs@Athena.MIT.EDU

System type, version:	(VS3100) Version 7.3P
System name:		tsx-11
What's wrong:

Token handling code still has a race condition. .attach is mode 644 in
a directory with system:anyuser rl; *sometimes* (not 100% of the time,
but enough to be annoying...) I lose access to it immediately on doing
some other authentication. Note the following sequence; note that if I
put the "fs flushvol ." in between the two attaches it sometimes still
fails, but an "fs flush .attach" will succeed. Note also that I
explicitly aklog to the sipb, athena, media, and net cells in my
.login, as well as explicitly attach'ing eichin.

tsx-11+% source .work
[1] 10993
[2] 10995
/afs/athena.mit.edu/user/e/i/eichin/.attach: Permission denied
Exit 1
Usage: attach [options] filesystem [options] filesystem ...

[1]    Exit 1                 attach -q `cat $HOME/.attach`
tsx-11+% date
Fri Apr 17 10:01:36 EDT 1992
tsx-11+% fs la /afs/athena/user/e/i/eichin
Access list for /afs/athena/user/e/i/eichin is
Normal rights:
  system:anyuser rl
  eichin rlidwka
tsx-11+% more .work .attach .attach_path | cat
::::::::::::::
.work
::::::::::::::
attach -q `cat $HOME/.attach_path` ; rehash
# fs flushvol .
# the following is necessary:
#fs flush .attach
attach -q `cat $HOME/.attach` &
setenv DISPLAY dumber.cygnus.com:0
emacs &
setenv DISPLAY "Cygnus East (494-1068)"
/usr/etc/zwgc -d dumber.cygnus.com:0
setenv DISPLAY dumber.cygnus.com:0
xrs
::::::::::::::
.attach
::::::::::::::
emacsdev gnu discuss -w xpix kerberos source postscript games StaffTools c++ x11 eolcdev perl
::::::::::::::
.attach_path
::::::::::::::
tytso watchmaker -w sipb
tsx-11+% 


What should have happened:

It would be nice if AFS didn't lose like this; there's no real excuse
for the permission denied error.

				_Mark_ <eichin@athena.mit.edu>
				MIT Student Information Processing Board

home help back first fref pref prev next nref lref last post