[4522] in testers
Re: xlogin a little too enthusiastic about reactivating
daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Jun 29 23:37:38 2000
Message-Id: <200006300337.XAA02318@egyptian-gods.mit.edu>
To: Tom Yu <tlyu@MIT.EDU>
Cc: testers@MIT.EDU
In-Reply-To: Your message of "29 Jun 2000 21:42:00 EDT."
<ldv1z1gj66v.fsf@saint-elmos-fire.mit.edu>
Date: Thu, 29 Jun 2000 23:37:30 -0400
From: Greg Hudson <ghudson@MIT.EDU>
> I don't know whether it's because xlogin is erroneously detecting
> the utmp entry made by ssh to be "stale" or not.
Yup, that's exactly what's going on. utmp.ut_pid cannot be relied on
under IRIX due to type size issues (you have to use utmpx.ut_pid).
There will be a fix in the next patch release to only check for stale
entries under Linux (since IRIX and Solaris have never been observed
to have a stale utmp entries problem).