Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 1997 09:02:50 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, rb@gid.co.uk
Cc:        freebsd-current@FreeBSD.org, joerg_wunsch@uriah.heep.sax.de, terry@lambert.org
Subject:   Re: 2.2R (src 2.2 211): <ctrl><alt><del> == dialing
Message-ID:  <199703252202.JAA12965@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>This differs from when the system is shut down using reboot(8).  reboot
>>shuts things down by broadcasting signals of increasing severity
>>{ SIGTERM, SIGKILL }.  I don't know why init broadcasts SIGHUP...
>
>That I can tell you: interactive shells don't respond to SIGTERM. OTOH,
>init shouldn't send SIGHUP to daemons (ie sessions with no controlling tty)
>because they mostly take HUP to mean "reread your config".

Init can't know enough about program (mis)behaviour to do this.  The slattach
daemon has a controlling tty, but shouldn't be sent a SIGHUP, since that
tells it to redial.

I think ignoring SIGTERM is braindamaged.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703252202.JAA12965>