[826] in Zephyr_Bugs
zwgc exits with SIGHUP
daemon@ATHENA.MIT.EDU (Mikhail Kuperblum)
Tue Oct 15 19:08:42 1996
From: mikhail@klm.com (Mikhail Kuperblum)
Date: Tue, 15 Oct 1996 19:08:34 -0400
To: zephyr-bugs@MIT.EDU
Hi,
In the process of introducing zephyr-2.0.4 to our network we ran into
the following problem: when zwgc is invoked on a machine other than one
running zephyrd, it (zwgc) always shuts down after working fine for a few
minutes. The reason for that isn't apparent to us.
Here is a relevant part of trace output of zwgc process:
[...]
select (6, 0xeffff4d8, 0, 0, 0xeffff4d0) = 0
open ("/dev/tty", 04, 01022100021) = 6
ioctl (6, 0x40047483, 0xeffff404) = 0
close (6) = 0
select (6, 0xeffff4d8, 0, 0, 0xeffff4d0) = 0
open ("/dev/tty", 04, 01022100021) = 6
ioctl (6, 0x40047483, 0xeffff404) = 0
close (6) = 0
select (6, 0xeffff4d8, 0, 0, 0xeffff4d0) = 0
open ("/dev/tty", 04, 01022100021) = 6
ioctl (6, 0x40047483, 0xeffff404) = 0
close (6) = 0
select (6, 0xeffff4d8, 0, 0, 0xeffff4d0) = - SIGHUP (1)
^^^^^^
sigcleanup () = 0
getuid () = 2438
unlink ("/tmp/wg.2438") = 0
[...]
As you can see, swgc exits after receiving SIGHUP. It's not clear to us
where it's coming from. Your explanation would be very much appreciated.
Regards,
--mikhail