[Bug 1802481] Re: cryptsetup waits for zvol /dev/zvol/rpool/swap with no zpool imported during boot. Timing problem?

Lars l at rs.timmann.de
Fri Dec 7 15:26:23 UTC 2018


** Package changed: cryptsetup (Ubuntu) => zfs-linux (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/1802481

Title:
  cryptsetup waits for zvol /dev/zvol/rpool/swap with no zpool imported
  during boot. Timing problem?

Status in zfs-linux package in Ubuntu:
  New

Bug description:
  Hi,
  first of all: I don't know if it is a bug in cryptsetup-initramfs or zfs-initramfs or another one.

  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/rpool/swap...
         ALERT! encrypted source device /dev/zvol/rpool/swap does not exist, can't unlock cryptswap1.
    ...
    
  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-initramfs 2:2.0.4-2ubuntu2
  ProcVersionSignature: Ubuntu 4.18.0-11.12-generic 4.18.12
  Uname: Linux 4.18.0-11-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.10-0ubuntu13.1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Fri Nov  9 10:01:19 2018
  EcryptfsInUse: Yes
  PackageArchitecture: all
  SourcePackage: cryptsetup
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.default.apport: [modified]
  modified.conffile..etc.logrotate.d.apport: [modified]
  mtime.conffile..etc.default.apport: 2015-03-15T20:01:19.851334
  mtime.conffile..etc.logrotate.d.apport: 2018-05-18T08:58:12.902005

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1802481/+subscriptions



More information about the foundations-bugs mailing list