[454] in Zephyr_Bugs
Zephyr on HPUX machines and possibly on AIX.
daemon@ATHENA.MIT.EDU (Scott Dawson)
Wed Feb 24 12:48:11 1993
To: zephyr-bugs@Athena.MIT.EDU
Cc: sdawson@engin.umich.edu
Date: Wed, 24 Feb 93 12:45:09 -0500
From: Scott Dawson <sdawson@engin.umich.edu>
Hi. I have gotten zephyr running on an HP9000/720, running hpux
V8.07. I have a problem with the way that zwgc exits. I think that
this may be a problem on any SYSV type system which would mean that it
would be a problem on IBM RS6000s running AIX too. The problem is
this.
When you run zwgc as I understand it, it sets itself up to die when it
gets a SIGHUP signal. On a BSD system this happens when you log out
and vhangup() is called. Your entire process group gets a HUP signal
and zwgc dies. On HPUX, the termios(7) manpage states that when you log
out, your session leader exits, and everything in its foreground process
group gets a HUP signal. Problem is that zwgc isn't in the foreground
process group and so it doesn't die. (If your shell is sh, then it
will be, but if you use csh, it won't be). I think that this is
because sh isn't doing any job control and so it isn't creating a new
process group for each job that runs. This means that you could end
up having lots of these running if people don't kill them on their own.
I'd rather not have this happen.
So, my questions are:
1. Do you either know of anybody who has this running on HPUX machines?
2. Has anybody encountered this type of problem with a SYSV machine?
3. Is there a good way to have zwgc find out who the session leader is
and put itself into that process group?
I looked at the code for things which happen specific to the AIX
machines and signal handling, but I couldn't seem to find anything
which seemed different as far as logging out.
I've also tried asking about how to do this (set up a process to get a
HUP upon logout) on comp.sys.hp, but I have received no answer.
Thanks in advance for any info,
-Scott Dawson