Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757565AbYC2Fuy (ORCPT ); Sat, 29 Mar 2008 01:50:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751265AbYC2Fur (ORCPT ); Sat, 29 Mar 2008 01:50:47 -0400 Received: from terminus.zytor.com ([198.137.202.10]:58364 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751274AbYC2Fuq (ORCPT ); Sat, 29 Mar 2008 01:50:46 -0400 Message-ID: <47EDD80C.6030507@zytor.com> Date: Fri, 28 Mar 2008 22:47:56 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: Oleg Nesterov CC: Andrew Morton , Davide Libenzi , "Eric W. Biederman" , Ingo Molnar , Laurent Riffard , Pavel Emelyanov , Roland McGrath , linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/5] don't panic if /sbin/init exits or killed References: <20080316155453.GA20845@tv-sign.ru> In-Reply-To: <20080316155453.GA20845@tv-sign.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 786 Lines: 20 Oleg Nesterov wrote: > If the buggy init exits, the kernel panics. I see no point for this. It is very > possible that the system is still usable enough, at least to read the logs and > prepare the bug report. > > Change exit_child_reaper() to do BUG() instead of panic(). > > Signed-off-by: Oleg Nesterov This would be highly undesirable in a production system, since it would leave the machine an unusable zombie. In a production system, the panic can be made to reboot the system, bringing it back online. -hpa -- 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/