Re: [linux-usb-devel] init 1 kill khubd on 2.6.11

From: Lee Revell
Date: Sun May 01 2005 - 16:41:56 EST


On Sun, 2005-05-01 at 17:01 -0400, Alan Stern wrote:
> On Sun, 1 May 2005, Andrey Borzenkov wrote:
>
> > Hub driver is using SIGKILL to terminate khubd. Unfortunately on a number of
> > distributions switching init levels implicitly does "killall -9", killing
> > khubd. The only way to restart it is to reload USB subsystem.
> >
> > Is signal usage in this case really needed? What about replacing it with
> > simple flag (i.e. will patch be accepted)?
>
> IMO the problem lies in those distributions. They should not
> indiscrimately kill processes when switching init levels.

It's probably not indiscriminate, all the init scripts I have seen only
resort to kill -9 if the process fails to terminate in an orderly
fashion via the /etc/rcX.d/Kfoo script.

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