Subject: Re: tracing what kills a child process
To: =?iso-8859-1?Q?C=E9sar_Catri=E1n_C=2E?= <ccatrian@eml.cc>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 02/08/2005 22:32:31
On Mon, Feb 07, 2005 at 05:24:28PM -0300, César Catrián C. wrote:
> Hi.
> 
> To get my ADSL connection running, I am using a daemon who forks a parent 
> process and a child process. That process is started from /etc/ifconfig.pppoe0 . 
> Its name is pppoa2 and it is used to negociate PPPoA protocol from/to the modem 
> driver, USB speedtouch.
> 
> After the connection is successfully established, the child is killed by signal 
> 1 after the system has started. I don't know from where the signal comes.
> 
> By killing the parent and restarting the daemon brings the connection up again.
> 
> What kills the child process?

Signal 1 is SIGHUP. I suspect this is an issue with the console, maybe
when getty is started. Try redirecting the I/O from/to /dev/null for this
software.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--