Use clevis-luks-askpass systemd units in dracut#192
Closed
ArturGaspar wants to merge 1 commit intolatchset:masterfrom
ArturGaspar:dracut_systemd_service
Closed
Use clevis-luks-askpass systemd units in dracut#192ArturGaspar wants to merge 1 commit intolatchset:masterfrom ArturGaspar:dracut_systemd_service
ArturGaspar wants to merge 1 commit intolatchset:masterfrom
ArturGaspar:dracut_systemd_service
Conversation
Collaborator
|
Thanks for this. And apologies for not getting to it earlier. We merged something similar in cbb64c4 (dracut: favour systemd units over dracut hooks). I filed this other issue with plymouth regarding the passphrase not being dismissed when a LUKS device is unlocked non-interactively, in our case, with clevis: https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/126 (plymouth splash is not dismissed when LUKS device is unlocked non-interactively) and it would help #150 once resolved. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With
Before=systemd-ask-password-console.service systemd-ask-password-plymouth.serviceit also fixes #150, so that the user only gets prompted for a password if the clevis unlocker fails.I am using this with the tpm2 pin and it works correctly both in case of success or failure. If there is interest in merging this I can also test if it works with the tang pin and others.