[4697] in testers
Re: ps error on reactivate?
daemon@ATHENA.MIT.EDU (Robert A Basch)
Wed May 30 16:54:20 2001
Message-Id: <200105302050.QAA09319@anhedonia.mit.edu>
To: Robert A Basch <rbasch@mit.edu>
cc: testers@mit.edu
In-Reply-To: Your message of "Mon, 21 May 2001 12:48:14 EDT."
<200105211648.MAA18391@anhedonia.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 30 May 2001 16:50:41 -0400
From: Robert A Basch <rbasch@MIT.EDU>
> I believe the stale entries for console logins happen because there is
> no inittab entry for tty7, so init does not update the entry at logout,
> as it normally would do for a getty-style login.
I looked into this a bit more. It turns out that getty is the major
culprit here; it is not updating the relevant utmp entry from type
INIT_PROCESS to LOGIN_PROCESS, so login.krb5 does not consider it a
matching entry, and adds a new entry, which doesn't get cleaned up.
It looks like init will dtrt here, even though the entry ID is x
instead of 7.
mingetty does not have the problem; given the other problems with getty,
the best long-term solution may be to build our own mingetty-based
program, which execs our login program.
Bob