lkml.org 
[lkml]   [1999]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Kernel 2.2.1 and sysvinit 2.76 possible bug
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.071 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site