On Wed, 13 Sep 2000, Miquel van Smoorenburg wrote:
> Don't patch the kernel. If init gets the controlling tty, and you
> press ^C -> SIGINT gets sent to init -> init interprets this as
> ctrl-alt-del ! Yes, choosing SIGINT as the signal sent to init on
> ctrl-alt-del was probably not very bright (and it was my idea.. sorry)
> but there's nothing we can do about it now.
Oh, but init loses its controlling tty very early in the game, so that's
not a major issue. Sure, you can probably win the race, but if you have
access to the console keyboard at the time init is starting, you might as
well press ctrl-alt-del and be done with it.
On the other hand, if you replace init with a shell you definitely want it
to get SIGINT's.
> I'm already working on 2.79 and this section has already gotten
> a complete overhaul.
Good to hear that. In the meantime, the patch will save me from cursing
myself and having to freeze in the machine room searching for the right
reset button, after having started a ping on a control-less serial
console. :-)
Ion
-- It is better to keep your mouth shut and be thought a fool, than to open it and remove all doubt.- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:20 EST