[1363] in testers
Re: dash -l w/o session_gate running
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Thu Dec 6 20:52:32 1990
From: cfields@ATHENA.MIT.EDU
Date: Thu, 6 Dec 90 20:52:43 -0500
To: testers@MIT.EDU
I clicked on the logout button and after sometime, a window popped up
and said:
"logout exited with status 3"
What does that mean?
In the window I started dash -l I got a more reasonable message, but
the window that popped up was what I noticed.
This should be fixed....
Ezra
Dash's logout callback does the following:
1. Attempts to send a HUP signal to $XSESSION
If this works, it just continues on like nothing happened,
and should eventually die when the user is logged out.
2. If for whatever reason ($XSESSION is not set, that process
doesn't exist...) the call returns an error, dash forks
and execs end_session in the hopes that maybe it's smarter
and will do better at logging the user out.
"logout exited with status 3" means that end_session failed,
returning status 3. I don't know what status 3 is. Dash always
returns exit status of programs it forks. Should end_session
be a special case? Should dash fall back to kill -1 -1
instead? (1/2 :-)
Craig