cryptsetup does not support ZFS

Bug #1612906 reported by Richard Laager on 2016-08-13
This bug affects 5 people
Affects Status Importance Assigned to Milestone
cryptsetup (Debian)
cryptsetup (Ubuntu)

Bug Description

cryptsetup does not currently support ZFS.

For example, this happens on 16.04:
$ sudo update-initramfs -c -k all
update-initramfs: Generating /boot/initrd.img-4.4.0-34-generic
cryptsetup: WARNING: could not determine root device from /etc/fstab
update-initramfs: Generating /boot/initrd.img-4.4.0-31-generic
cryptsetup: WARNING: could not determine root device from /etc/fstab

The attached patch adds ZFS support to cryptsetup.

The attachment "A patch to add ZFS support to cryptsetup." seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
tags: added: xenial
tags: added: yakkety
tags: added: rls-y-incoming
Mathew Hodson (mhodson) on 2016-08-31
Changed in cryptsetup (Ubuntu):
importance: Undecided → Wishlist
Brian Murray (brian-murray) wrote :

You might have a look at debian bug which is also about zfs. Regardless of whether or not it is the same issue it would be good to get the patch you've created into Debian also.

Richard Laager (rlaager) wrote :

I think that's unrelated, but I'm not sure. I filed Debian bug #838001 for this, with my patch, and linked it here.

Changed in cryptsetup (Debian):
status: Unknown → New
Mathew Hodson (mhodson) on 2017-04-01
tags: added: patch-forwarded-debian
Iain Lane (laney) wrote :

Thanks for forwarding it. Would you please re-subscribe ubuntu-sponsors once the patch is merged upstream at Debian?

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cryptsetup (Ubuntu):
status: New → Confirmed
Richard Laager (rlaager) wrote :

This is stalled with Debian. Any chance of seeing this merged for Bionic?

Other than the warning, are there any ill effects of this? Root on LUKS'd ZFS pool seems to be booting and mounting fine.

tags: added: artful
Richard Laager (rlaager) wrote :

You have to add the initramfs option to /etc/crypttab, but otherwise it's just the warning.

tags: added: rls-ee-incoming
removed: rls-y-incoming
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.