[8243] in Athena Bugs

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

xlogin fails when fileserver is down

daemon@ATHENA.MIT.EDU (Mark Rosenstein)
Fri Sep 20 18:13:36 1991

Date: Fri, 20 Sep 91 18:14:09 -0400
From: Mark Rosenstein <mar@MIT.EDU>
To: bugs@MIT.EDU
Cc: mar@MIT.EDU

This affects all platforms running 7.3M and 7.3N.  The symptom is that
attach times out, you get a dialog asking if you want to try again, it
sits for a while waiting for attach to timeout again, then xlogin
exits and X starts over.  I assume this is the bug that several users
reported as "the workstation rebooted while I was trying to login".

The problem is that we're not resetting a timer in the user prompt
routine so that if the second attach takes longer than the screensave
timeout, we lose.  This wasn't caught during testing because most
staff have AFS homedirs and the NFS servers had been very reliable up
until last week.

Here's a fix.  I haven't tested it yet, but I'm fairly confident in
it.
					-Mark

*** /tmp/xlogin.c       Fri Sep 20 18:13:03 1991
--- /source/athena/athena.etc/xdm/xlogin/xlogin.c       Mon Jul 22 11:34:43 1991
***************
*** 954,961 ****
        XtDispatchEvent(&e);
      }

-     XtRemoveTimeOut(curr_timerid);
-     curr_timerid = 0;
      XtPopdown(WcFullNameToWidget(appShell, "*queryShell"));
      XFlush(dpy);
  }
--- 954,959 ----

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