Subject: Re: CVS commit: src/bin/sh (trap.c:1.32)
To: None <current-users@netbsd.org>
From: Geoff Wing <mason@primenet.com.au>
List: current-users
Date: 07/12/2005 04:25:30
Christos Zoulas <christos@netbsd.org> typed:
: Modified Files:
: 	src/bin/sh: trap.c
: Log Message:
: Don't hard ignore signals that were ignored by our environment, because
: when we try to set a trap on them it will not work. Also while I am here:
: 1. don't change the action status if the signal system call failed.
: 2. don't try to sigignore it if signal failed.
: 3. clear the signal mask in case our parent blocked it for us.

This means that when /etc/rc finishes, any spawned processes which weren't
explicitly nohup'd or otherwise will receive a HUP and exit.  Is that
intended?  OK, so maybe I've just been lazy when throwing in rc.d scripts
and stuff into rc.local

Regards,
Geoff