Subject: Re: Process gets SIGHUP at end of boot
To: None <Rickb@BigScaryChildren.net>
From: John Darrow <John.P.Darrow@wheaton.edu>
List: netbsd-users
Date: 05/17/2001 00:16:23
Rick Byers <Rickb@BigScaryChildren.net> wrote:
>I'm using the rp-pppoe package, and run adsl-start in an rc
>script.  Everything works great, except that once the bootup sequence is
>complete, the pppoe process gets a SIGHUP signal and is restarted:

What you're seeing is the HUP sent as /etc/rc exits.  I had the same
problem with mysql exiting.

In the mysql case, I was able to work around it by putting a "sleep 30"
before the "exit 0" at the end of /etc/rc, but that only worked because
mysql eventually installs its own handler for SIGHUP.  I didn't look any
further for a more permanent solution, nor did I ever find why some
processes started by rc seemed to receive the HUP but others didn't...

jdarrow

-- 
John Darrow - Senior Technical Specialist               Office: 630/752-5201
Computing Services, Wheaton College, Wheaton, IL 60187  Fax:    630/752-5968
Alphapage: 6303160707@alphapage.airtouch.com            Pager:  630/316-0707
Email:     John.P.Darrow@wheaton.edu