[625] in Info-AFS_Redistribution

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

Re: X11R5 xdm problems - missing or stolen tokens

daemon@ATHENA.MIT.EDU (Todd Inglett)
Tue Feb 18 17:47:11 1992

Reply-To: "Todd Inglett" <tinglett@rchland.vnet.ibm.com>
Date: Tue, 18 Feb 1992 14:25:59 -0600 (CST)
From: Todd Inglett <tinglett+@rchland.ibm.com>
To: info-afs@transarc.com (Info AFS Mailing List)
In-Reply-To: <9202141711.AA08173@miniski>

I have gotten a little further with the AIX xdm problem....

If the main() of xdm does a setpag() before forking any children, then
the problem no longer occurs (at least after logging in 34 times (!) I
didn't see it).  However, on AIX 3.1 the ka_UserAuthenticateGeneral call
will hang the second time it is called.  When I link xdm on AIX 3.2
(with AFS libraries built for 3.2), it works perfectly.  Of course I
logged in 34 times on an AIX 3.2 system.

So I have this choice on AIX 3.1:  either no tokens after 16 logins, or
hang on the second login attempt.  Neither appeals to me.

I have changed the code to set the close-on-exec flag on any file
descriptors > 2 in the child processes, just in case some code was
accidently closing some AFS sockets (I got this suggestion off-line).
This change didn't seem to affect the behavior.

Anyone have *any* suggestions (I'm getting desperate!)?

-todd inglett

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