[3556] in testers

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

Re: No account reversion on dropped connection

daemon@ATHENA.MIT.EDU (Greg Hudson)
Sat Jun 6 17:56:12 1998

Date: Sat, 6 Jun 1998 17:56:07 -0400 (EDT)
From: Greg Hudson <ghudson@MIT.EDU>
To: Greg Hudson <ghudson@MIT.EDU>
Cc: testers@MIT.EDU
In-Reply-To: "[3555] in testers"

> If you log in remotely via telnet, (I tested with an unencrypted
> connection, but I would suspect that an encrypted connection would
> also do this), and then drop the connection, your login's pid
> doesn't get removed from the sessions file (which means
> al_acct_revert() isn't getting called).

Well, the parent process which does cleanup is getting a SIGHUP.  It
doesn't get a SIGHUP if you revert 1.18 (rbasch's patch to not call
both setsid() and setpgrp()).  Time to figure out what's going on, I
guess.

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