[pkg-cryptsetup-devel] Bug#767589: systemd: cryptdisks other than root/swap fail cryptsetup

Arnaud Installe installe at gmail.com
Thu Dec 18 00:48:08 UTC 2014


On Thu, 27 Nov 2014 10:53:35 +0000
Simon McVittie <smcv at debian.org> wrote:

> On Sat, 01 Nov 2014 at 11:50:40 +0100, Arnaud Installe wrote:
> > After successfully unlocking and mounting root and swap devices,
> > the system hangs a while, then drops to a rescue shell,
> > with /usr, /var and /home not unlocked by cryptsetup. After
> > manually running cryptsetup for the underlying devices, and exiting
> > the rescue shell, boot proceeds normally.
> 
> I think this may be the same thing as
> <https://bugs.debian.org/767832>. Am I right in saying that your
> system looks like this?
> 
>     /dev/sda (or whatever)
>       \- /dev/sda1 (or whatever): /boot
>       \- /dev/sda2 (or whatever): LVM PV for VG "boulez"
>          \- boulez/root LV: encrypted, boulez-_root__crypt
>             \- / (rootfs)
>          \- boulez/swap LV: encrypted, boulez-_swap__crypt
>             \- swap
>          \- boulez/home LV: encrypted, boulez-_home__crypt
>             \- /home
>          \- boulez/usr LV: encrypted, boulez-_usr__crypt
>             \- /usr
>          \- boulez/var LV: encrypted, boulez-_var__crypt
>             \- /var

Yes, that's about it.

[...]

> It would be great if you could try rebuilding the initramfs after
> installing a version of cryptsetup with the patch from
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767832#22
> applied. I believe that should fix your situation too, but
> so far I have only tested LUKS on partitions, not LUKS on LVM.

I'm sorry for the late reply. I wanted to try out your suggestion
today, only to find that a new version of cryptsetup including your
patch had made it to unstable.

I installed that, and my problem was solved. Thank you very much, and
again, sorry for the late reply!

Arnaud

-- 
Arnaud Installe                                           +32 477 304199
ESAT - STADIUS, KULeuven         iMinds Medical Information Technologies



More information about the pkg-cryptsetup-devel mailing list