Re: [PATCH] kill(-1,sig)

Udo A. Steinberg (reality@delusion.de)
Mon, 17 Dec 2001 21:51:58 +0100


Linus Torvalds wrote:

> > Argh, I hate this. I fail to see what progress a process could make if
> > it kills everything _and_ itself. I frequently use "kill -9 -1" to kill
> > everything except my shell, and now I'll have to kill everything else
> > manually, one by one.
>
> I do agree, I've used "kill -9 -1" myself.
>
> However, let's see how problematic it is to try to follow it (in 2.5.x,
> not 2.4.x) and if people really complain.
>
> Count one for the complaints, but I want more to overrule a published
> standard.

Hi,

This change also breaks my shutdown script (Slackware 8.0).
This script contains:

if [ "$1" != "fast" ]; then # shutdown did not already kill all processes
killall5 -15
sleep 5
killall5 -9
fi

It never gets beyond that point, probably because the script itself is
zapped. According to killall5 manual the processes in its own session are
unaffected by this, but that doesn't seem to be entirely true.

Granted, reboots are rare with Linux, but having to fsck every time from
now on is not my notion of fun ;)

Regards,
Udo.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/