console noise when / is not bound
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
clevis (Ubuntu) |
Fix Released
|
Undecided
|
dann frazier | ||
Focal |
Fix Released
|
Undecided
|
dann frazier |
Bug Description
[Impact]
There's a race condition in the clevis initramfs-hook that can cause noisy errors on the console. This is 100% reproducible when / is a dm_crypt device that is *not* bound to clevis, but seems like timing could cause it to happen when bound as well.
[Test Case]
Install & boot using a dm-crypt device that is not bound to clevis as /.
You'll see:
Volume group "ubuntu-vg" not found
Cannot process volume group ubuntu-vg
Please unlock disk dm_crypt-0:
/scripts/
/scripts/
cryptsetup: dm_crypt-0: set up successfully
Regression test is to bind a device and reboot and make sure it still unlocks automatically. To bind:
sudo clevis luks bind -d /dev/vda3 tang '{"url": "http://
[Fix]
https:/
[Regression Risk]
A bug could cause a system to not automatically boot. Regression tested as described above to mitigate.
Changed in clevis (Ubuntu Focal): | |
status: | New → In Progress |
assignee: | nobody → dann frazier (dannf) |
Changed in clevis (Ubuntu): | |
assignee: | nobody → dann frazier (dannf) |
This bug was fixed in the package clevis - 12-1ubuntu5
---------------
clevis (12-1ubuntu5) groovy; urgency=medium
* d/p/increase- pin-tang- timeout. patch -> d/p/increase- test-timeouts. patch:
Also increase pin-sss timeout for riscv64 builders.
-- dann frazier <email address hidden> Fri, 01 May 2020 06:33:27 -0600