ZFS: The content of the /etc/crypttab file is bad

Bug #1962409 reported by geole0
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello
I just installed the zfs 22.04 encrypted version on an external drive.
When I launch the installed software, there is a loss of time of 90 seconds looking for the partition containing the swap.
Would it be possible to replace the device name with a UUID name in the /etc/crypttab?
Indeed at the time of installation the disk is SDC but it becomes SDA or SDB during startup...

cat /etc/crypttab
cryptoswap /dev/sdc2 /dev/urandom swap,initramfs

blkid | grep LUKS
/dev/sda2: UUID="6897cf48-5e28-4163-9de5-056b1385063c" TYPE="crypto_LUKS" PARTUUID="a8a79383-adb6-eb4c-95b6-fd40affd90d0"
/dev/zd0: UUID="e516377f-ee45-46e2-a3b0-03869113269a" TYPE="crypto_LUKS"

geole0 (geole0)
description: updated
Revision history for this message
geole0 (geole0) wrote :

Hello

Same problem with this version jammy-desktop-amd64.iso 2022-03-21 08:38

Revision history for this message
geole0 (geole0) wrote :

Hello
Same problem withe beta jammy.

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.