Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756790AbZANGvq (ORCPT ); Wed, 14 Jan 2009 01:51:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752949AbZANGvh (ORCPT ); Wed, 14 Jan 2009 01:51:37 -0500 Received: from crmm.lgl.lu ([158.64.72.228]:55704 "EHLO lll.lu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752785AbZANGvh (ORCPT ); Wed, 14 Jan 2009 01:51:37 -0500 Message-ID: <496D8B55.2000901@knaff.lu> Date: Wed, 14 Jan 2009 07:51:01 +0100 From: Alain Knaff User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Theodore Tso , "H. Peter Anvin" , Linux Kernel Mailing List , Ingo Molnar , Thomas Gleixner , Al Viro , Alain Knaff Subject: Re: The policy on initramfs decompression failure References: <496D17F9.8080605@zytor.com> <20090114011844.GD14730@mit.edu> In-Reply-To: <20090114011844.GD14730@mit.edu> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1247 Lines: 33 Theodore Tso wrote: > failed-initramfs-decode=panic Panic on failed initramfs > failed-initramfs-decode=partial If the initramfs fails part-way in, > decode what you can and let the boot > system see what files could be fully > decypted > failed-initramfs-decode=allow If the initramfs decryption fails > part-of-the-way in, continue the > boot, but do not provide the partial > initramfs --- i.e., this is the > all-or-nothing option Interesting approach... but wouldn't it make more sense to have that be global? Or else, eventually every single panic will have such a tri-state switch, with associated option parsing and overhead, leading to bloat. > If this is too complicated, I'd be happy with the "panic on failed > initramfs". After all, the user can always simply delete the initrd > specifier from their grub boot configuration, and simply retry the > boot.... Exactly! Regards, Alain -- 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/