cryptsetup does not support ZFS

Bug #1612906 reported by Richard Laager
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
cryptsetup (Debian)
New
Unknown
cryptsetup (Ubuntu)
Confirmed
Wishlist
Unassigned

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.

Revision history for this message
Richard Laager (rlaager) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

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)
Changed in cryptsetup (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Brian Murray (brian-murray) wrote :

You might have a look at debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820888 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.

Revision history for this message
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)
tags: added: patch-forwarded-debian
Revision history for this message
Iain Lane (laney) wrote :

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

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in cryptsetup (Ubuntu):
status: New → Confirmed
Revision history for this message
Richard Laager (rlaager) wrote :

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

Revision history for this message
vvhk (vvhk-deactivatedaccount-deactivatedaccount) wrote :

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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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