crypttab not found error causes boot failure with changes in zfs-initramfs_0.8.4-1ubuntu5

Bug #1882975 reported by satmandu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zfs-linux (Ubuntu)
Fix Released
Critical
Didier Roche-Tolomelli

Bug Description

boot ends before rpool loads with a failure to find the crypttab file, which doesn't exist.

Maybe this has a dependency upon a package that makes that?

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: zfs-initramfs 0.8.4-1ubuntu5
ProcVersionSignature: Ubuntu 5.4.0-34.38-generic 5.4.41
Uname: Linux 5.4.0-34-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu38
Architecture: amd64
CasperMD5CheckResult: skip
Date: Wed Jun 10 11:42:55 2020
InstallationDate: Installed on 2019-10-19 (235 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: zfs-linux
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
satmandu (satadru-umich) wrote :
summary: - crypttab not found error causes boot failure
+ crypttab not found error causes boot failure with new zfs-initramfs
summary: - crypttab not found error causes boot failure with new zfs-initramfs
+ crypttab not found error causes boot failure with changes in zfs-
+ initramfs_0.8.4-1ubuntu5
Revision history for this message
satmandu (satadru-umich) wrote :

I suspect this is due to my not having cryptsetup-initramfs installed. Without that, cryptroot never gets created.

cryptsetup-initramfs's /usr/share/local-top/cryptroot
has this: mkdir -p /cryptroot # might not exist yet if the main system has no crypttab

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Thanks for the bug report and sorry for this, you are right. Uploaded in -proposed

Changed in zfs-linux (Ubuntu):
status: New → Fix Committed
importance: Undecided → Critical
assignee: nobody → Didier Roche (didrocks)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package zfs-linux - 0.8.4-1ubuntu6

---------------
zfs-linux (0.8.4-1ubuntu6) groovy; urgency=medium

  * debian/patches/4000-zsys-support.patch:
    - Fix boot on non encrypted system when cryptsetup-initramfs isn’t
      installed (LP: #1882975)

 -- Didier Roche <email address hidden> Thu, 11 Jun 2020 08:17:14 +0200

Changed in zfs-linux (Ubuntu):
status: Fix Committed → Fix Released
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.