lkml.org 
[lkml]   [2008]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 4/5] don't panic if /sbin/init exits or killed
Date
Roland McGrath <roland@redhat.com> wrote:

>> But panic() isn't better? It doesn't provide any useful info.
>
> It is not misleading in the same way. It's clear that going to look at the
> kernel source is not the place to find the root of the problem.
>
>> Well, I think the generic "if we have a chance to survive, we should try
>> to survive" rule is good.
>>
>> If the boot init dies, at least the admin has a chance to figure out what
>> has happened, and -o remount,ro /.
>
> For me and you, I agree. I think the common case is that there is no admin
> prepared to do any such thing, but just someone expecting a reboot to fix
> things and preferring that a failing system reboot itself in the middle of
> the night rather than wedge.

I think the common case is repairing a system using init=/bin/sh, and
forgetting to not log out instead of fscking the filesystem after the panic.
Rebooting on panic= is fine, but not skipping the umount/sync stages.



\
 
 \ /
  Last update: 2008-03-20 00:51    [W:0.027 / U:0.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site