[pkg-cryptsetup-devel] Bug#762573: initramfs: refuses to boot if a device in conf.d/cryptroot is missing

Cédric Barboiron ced at winkie.fr
Tue Sep 23 09:54:21 UTC 2014

Package: cryptsetup
Version: 2:1.6.6-1
Tags: patch


I'm booting on 4 encrypted devices, opened as LVM PVs, and use the LVM
mirroring feature for the LVs (including rootfs).

Trying to boot with a missing drive triggers the 'panic -r "ALERT!
${cryptsource} does not exist.  Dropping to a shell!"' error, although it is
possible to boot without this device. (Especially in my case where the missing
device had no LV segment at all anymore.)

I propose the attached patch to skip the device if we exit the shell without
fixing the problem, instead of looping in the panic shell.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: continue-boot-on-missing-device.patch
Type: text/x-diff
Size: 780 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20140923/5384add5/attachment.patch>

More information about the pkg-cryptsetup-devel mailing list