[Pkg-zfsonlinux-devel] Bug#972132: zfs-initramfs: Fails to boot when / is on zfs encryption=on dataset

John Goerzen jgoerzen at fastly.com
Tue Oct 13 03:29:09 BST 2020


Package: zfs-initramfs
Version: 0.8.4-2~bpo10+1
Severity: important

Dear Maintainer,

I have set up this system to use ZFS crypto rather than my more conventional zfs-atop-LUKS.

I have a passphrase that needs a prompt.  All that should be necessary here would be adding -l to zfs mount, or to zpool import.  Without it, the system fails to boot.  To workaround this, I have added a file in /etc/initramfs-tools/scripts/local-premount that basically does a zpool import, then a zpool load-key, which is enough to get the system going.

-- System Information:
Debian Release: 10.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.8.0-0.bpo.2-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zfs-initramfs depends on:
ii  busybox                 1:1.30.1-4
ii  initramfs-tools         0.133+deb10u1
ii  zfs-dkms [zfs-modules]  0.8.4-2~bpo10+1
ii  zfsutils-linux          0.8.4-2~bpo10+1

zfs-initramfs recommends no packages.

zfs-initramfs suggests no packages.

-- no debconf information



More information about the Pkg-zfsonlinux-devel mailing list