cryptsetup waits for zvol /dev/zvol/rpool/swap with no zpool imported during boot. Timing problem?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zfs-linux (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
first of all: I don't know if it is a bug in cryptsetup-
The problem is that since my upgrade from bionic to cosmic the cryptsetup tries too early to setup my cryptswap device which is on a zvol.
cryptsetup: Waiting for encrypted source device /dev/zvol/
ALERT! encrypted source device /dev/zvol/
...
After timeout I find myself in a initramfs-shell (initramfs).
When I do zpool list there is no zpool importet.
After
zpool import -N rpool
^D
the cryptsetup succeeds.
Greetings,
Lars
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: cryptsetup-
ProcVersionSign
Uname: Linux 4.18.0-11-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Nov 9 10:01:19 2018
EcryptfsInUse: Yes
PackageArchitec
SourcePackage: cryptsetup
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.
mtime.conffile.
mtime.conffile.
summary: |
- cryptsetup waits for zvol with no zpool imported + cryptsetup waits for zvol with no zpool imported during boot |
affects: | cryptsetup (Ubuntu) → zfs-linux (Ubuntu) |
Hi,
is there anything else you need?
Greetings,
Lars