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

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

  * Fix volume wait on locked encrypted zvols (LP: #1888405)
    [ James Dingwall ]
    - 4620-zfs-vol-wait-fix-locked-encrypted-vols.patch
      zfs-volume-wait.service systemd unit does not start if the encrypted
      zvol is locked. The /sbin/zvol_wait should not wait for links when the
      volume has property keystatus=unavailable. Add a check for this.

 -- Colin Ian King <colin.k...@canonical.com>  Wed, 22 Jul 2020 09:58:22
+0100

** Changed in: zfs-linux (Ubuntu Groovy)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1888405

Title:
  zfsutils-linux: zfs-volume-wait.service fails with locked encrypted
  zvols

Status in zfs-linux package in Ubuntu:
  Fix Released
Status in zfs-linux source package in Focal:
  In Progress
Status in zfs-linux source package in Groovy:
  Fix Released

Bug description:
  == SRU Justification Focal ==

  When an encrypted zvol is locked the zfs-volume-wait service does not
  start.  The /sbin/zvol_wait should not wait for links when the volume
  has property keystatus=unavailable.

  == Fix ==

  The attached patch in comment #1.

  == Test ==

  lock an encrypted zvol. without the fix the volume wait will block the
  boot. with the fix it is not blocked.

  == Regression Potential ==

  Limited to zvol wait - this change affects just the encrypted vols
  checking.

  -------------------------------------

  I was doing some experimentation with encrypted zvols and observed
  that the zfs-volume-wait.service systemd unit does not start if the
  encrypted zvol is locked.  The /sbin/zvol_wait should not wait for
  links when the volume has property keystatus=unavailable.  The
  attached patch seems to resolve the issue for me.

  # lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 20.04 LTS
  Release:        20.04
  Codename:       focal

  # apt-cache policy zfsutils-linux
  zfsutils-linux:
    Installed: 0.8.3-1ubuntu12.1
    Candidate: 0.8.3-1ubuntu12.2
    Version table:
       0.8.3-1ubuntu12.2 500
          500 http://gb.archive.ubuntu.com/ubuntu focal-updates/main amd64 
Packages
   *** 0.8.3-1ubuntu12.1 100
          100 /var/lib/dpkg/status
       0.8.3-1ubuntu12 500
          500 http://gb.archive.ubuntu.com/ubuntu focal/main amd64 Packages

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to