Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#79025 - [stratisd] jq needs to be included as optional dependency
Attached to Project:
Arch Linux
Opened by Arnav Yash Chandra (Scale3975) - Sunday, 09 July 2023, 11:00 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 23 July 2023, 10:15 GMT
Opened by Arnav Yash Chandra (Scale3975) - Sunday, 09 July 2023, 11:00 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 23 July 2023, 10:15 GMT
|
DetailsDescription:
In /usr/lib/dracut/modules.d/90stratis-clevis/module-setup.sh (provided by stratisd package), among others, jq, tpm2_createprimary, tpm2_unseal, tpm2_load (last 3 commands provided by tpm2-tools) are also mandatory for stratis-clevis dracut module. However jq and tpm2-tools is not specified as either mandatory or optional dependencies in stratisd package. Additional info: * package version(s) - stratisd package (version 3.5.7) Steps to reproduce: * Execute 'dracut --hostonly --no-hostonly-cmdline --quiet <path to initramfs>'. This command will successfully generate a initramfs. * Uninstall jq (or tpm2-tools). * Execute above mentioned command again. * Output will be - dracut: dracut module 'stratis-clevis' cannot be found or installed. Temporary mitigation: Install jq and tpm2-tools in addition to stratisd for using clevis with stratisd Long term mitigation: Add jq and tpm2-tools as optional dependencies for stratisd package. This will let users know of these dependencies when a user wants to use clevis along with stratis. |
This task depends upon
Closed by Jelle van der Waa (jelly)
Sunday, 23 July 2023, 10:15 GMT
Reason for closing: Fixed
Additional comments about closing: jq optional dependency added to clevis.
Sunday, 23 July 2023, 10:15 GMT
Reason for closing: Fixed
Additional comments about closing: jq optional dependency added to clevis.
Comment by Toolybird (Toolybird) -
Monday, 10 July 2023, 00:47 GMT
Users are expected to pay attention to pacman output when installing pkgs. tpm2-tools is already listed as an optdep of clevis so that is covered. But jq should be mentioned somewhere.