Re: Kernel 2.2.1 and sysvinit 2.76 possible bug

H. Peter Anvin (hpa@transmeta.com)
25 Feb 1999 00:58:56 GMT


Followup to: <m10FmPx-0007U1C@the-village.bc.nu>
By author: alan@lxorguk.ukuu.org.uk (Alan Cox)
In newsgroup: linux.dev.kernel
>
> > 2.2 introduces a "feature" which causes the kernel to reboot if init
> > dies for any reason, so it is more likely that sysvinit could be the
> > culprit. However, I agree with you; this is a kernel bug and should
> > be fixed.
>
> Its not a bug. If init dies the machine is in deep crap. Init should not
> die. If init dies something very bad has occured. Simply carrying on with
> no pid 1 to reap processes wont work very well
>

I think the approach of a panic here is pretty reasonable, since
panic() can be configured to reboot.

-hpa

-- 
"Linux is a very complete and sophisticated operating system.  There
are, and will be, large numbers of applications available for it."
    -- Paul Maritz, Group Vice President for Platforms And Applications,
       Microsoft Corporation [Reference at: http://www.kernel.org/~hpa/ms.html]

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