Re: The policy on initramfs decompression failure

From: Alain Knaff
Date: Wed Jan 14 2009 - 01:51:48 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/