zfsutils-linux: zfs-volume-wait.service fails with locked encrypted zvols
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zfs-linux (Ubuntu) |
Fix Released
|
Medium
|
Colin Ian King | ||
Focal |
Fix Released
|
Medium
|
Unassigned | ||
Groovy |
Fix Released
|
Medium
|
Colin Ian King |
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=
== 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-
# 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.
500 http://
*** 0.8.3-1ubuntu12.1 100
100 /var/lib/
0.
500 http://
Changed in zfs-linux (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Colin Ian King (colin-king) |
Changed in zfs-linux (Ubuntu Focal): | |
status: | New → In Progress |
importance: | Undecided → Critical |
importance: | Critical → Medium |
description: | updated |
The attachment "Patch for zvol_wait to ignore locked zvols" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]