[4642] in testers
Re: ps error on reactivate?
daemon@ATHENA.MIT.EDU (Robert A Basch)
Mon May 21 12:48:33 2001
Message-Id: <200105211648.MAA18391@anhedonia.mit.edu>
To: Robert A Basch <rbasch@MIT.EDU>
cc: Cana Lynn McCoy <cana@MIT.EDU>, testers@MIT.EDU
In-Reply-To: Your message of "Fri, 18 May 2001 17:37:06 EDT."
<200105182137.RAA02262@anhedonia.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 21 May 2001 12:48:14 -0400
From: Robert A Basch <rbasch@MIT.EDU>
> Potentially more disturbing is that I noticed that console logins (on
> tty7) are also leaving stale entries in utmp. This is more serious,
> because the ps command will find the running dm process, and thus stop
> reactivate from running. I will look into this further...
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 can add an explicit test to ignore the dm pid in reactivate. We may
also want to consider whether we need code which extracts the pid from
a utmp entry.
Bob