Bug#776409: cryptsetup fails to unlock volumes with key files from initramfs

2015-12-11 Thread Guilhem Moulin
On Fri, 11 Dec 2015 at 01:48:24 +, Ben Hutchings wrote: > So don't assume; add $rootmnt to the beginning of the paths. Sure. I was only wondering if the documentation was outdated since you said /root not $rootmnt in message 61. -- Guilhem. signature.asc Description: PGP signature

Bug#776409: cryptsetup fails to unlock volumes with key files from initramfs

2015-12-10 Thread Ben Hutchings
On Thu, 2015-12-10 at 10:43 +0100, Guilhem Moulin wrote: > Hi Ben, > > On Fri, 10 Apr 2015 at 02:40:53 +0100, Ben Hutchings wrote: > > cryptsetup needs to adjust the key file paths when unlocking volumes > > from the initramfs, because at this point the 'real' root filesystem is > > mounted at /ro

Bug#776409: cryptsetup fails to unlock volumes with key files from initramfs

2015-12-10 Thread Guilhem Moulin
Hi Ben, On Fri, 10 Apr 2015 at 02:40:53 +0100, Ben Hutchings wrote: > cryptsetup needs to adjust the key file paths when unlocking volumes > from the initramfs, because at this point the 'real' root filesystem is > mounted at /root. Can we really assume in the hook file that the roofs will be mou

Bug#776409: cryptsetup fails to unlock volumes with key files from initramfs

2015-04-23 Thread Sergio Gelato
I ran into this problem during a wheezy->jessie upgrade last night. Ben's comment #61 about the root filesystem being mounted at /root was very helpful: I just added the following keyscript for the /usr filesystem in /etc/crypttab. #!/bin/sh exec /bin/cat ${rootmnt}${1} With this, the system boot