[pkg-cryptsetup-devel] Bug#820888: Bug#820888: cryptsetup: initramfs cryptroot zfs support

Guilhem Moulin guilhem at guilhem.org
Wed Sep 14 21:58:23 UTC 2016


(Adding the BTS to CC, hopefully you didn't mean to reply to me
privately.)

On Tue, 13 Sep 2016 at 22:47:12 +0200, François Scala wrote:
> I don't understand why do you need an Debian installer package for ZFS.

We test for regressions by making an automated (preseeded), throw-away,
minimal installation for each particular configuration (including disk
partitioning).

Anyway, AFAICT the problem is orthogonal to ZFS per se: it's related to
the handling of the root= kernel parameter in the cryptroot initramfs
boot script.

> This is how I've was able to make this quick fix :
> https://github.com/arcenik/debian-zfs-root/blob/master/d8zlroot.sh (line
> 278)

Still, I don't understand how that can solve your problem.  Granted this
wasn't with a ZFS mount, but passing “root=ZFS=rpool/ROOT/debian-1” and
“cryptops=source=/dev/sda2,target=cryptroot,lvm=vg_sys-lv_zroot” to the
initrd, the NEWROOT variable is properly set to “/dev/mapper/$cryptlvm”
as cmdline_root is left empty.

Could you please enable the debugging in the cryptroot initramfs script?
I know nothing about ZFS, and it'll be faster than me trying to learn it
:-P

-- 
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20160914/fa01221c/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list