[7735] in SIPB bug reports
Re: zlogoutd doesn't die on logout
daemon@ATHENA.MIT.EDU (Greg Hudson)
Tue Mar 6 12:56:50 2001
Message-Id: <200103061756.MAA29948@egyptian-gods.MIT.EDU>
To: golem@MIT.EDU
cc: zacheiss@MIT.EDU, bug-sipb@MIT.EDU
In-Reply-To: Your message of "Tue, 06 Mar 2001 16:22:48 GMT."
<200103061622.LAA19785@melbourne-city-street.MIT.EDU>
Date: Tue, 06 Mar 2001 12:56:36 -0500
From: Greg Hudson <ghudson@MIT.EDU>
> zlogoutd does in fact die in response to HUP
In general, background processes run in an Athena xterm do not get a
HUP on logout. The HUP only goes to the process group which is in the
foreground at the time the xterm goes away.
Ensuring that you die on logout is a tricky thing. You can hold a
connection open to the X server and notice when it is closed, but
that's a lot of work. You can periodically check whether opening
/dev/tty works, but that's also a fair amount of work and it's ugly.
I don't have a great answer here.