Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd/dracut decoupling #347

Closed
wants to merge 1 commit into from
Closed

Conversation

jpds
Copy link
Contributor

@jpds jpds commented Nov 5, 2021

Adds a clevis-luks-generic-unlocker for alternative use without systemd.

Based on patch by Sergio Correia

Closes: #346

set -eu
# vim: set ts=8 shiftwidth=4 softtabstop=4 expandtab smarttab colorcolumn=80:
#
# Copyright (c) 2020 Red Hat, Inc.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

year might be changed to 2021

Adds a clevis-luks-generic-unlocker for alternative use without systemd.

Based on patch by Sergio Correia <[email protected]>

Closes: latchset#346

Signed-off-by: Jonathan Davies <[email protected]>
@Anonymous1157
Copy link

This patch needs a trivial change to also move the clevis-pin-null subfolder to src/dracut and then it will work for version 19.

Why isn't this PR merged after sitting for a year? What can I do to help get it merged? I am also using Clevis on OpenRC with no complaints other than maintaining this patch.

@sergio-correia
Copy link
Collaborator

@jpds: could you please rebase this on top of the current tree?

@krishjainx
Copy link

@sergio-correia Is it possible to merge this, please? Merging it upstream would eliminate the need for downstream patching.

@gb-123-git
Copy link

@jpds @Anonymous1157
Could you guys help me install clevis on Alpine? So far clevis works and decrypts any file, but I am not able to add it to initramfs/boot to unlock boot luks volume automatically using tang. dracut -f command doesnt seem to detect clevis and automatic boot unlocking is not taking place.
Thanks guys ! 😄

@Anonymous1157
Copy link

@gb-123-git If you installed testing/clevis from Alpine's aports then you did not get the patch in this PR and it's not going to work no matter what you do. You have to write a new aport that applies this PR as a patch. (Or probably grab Gentoo's patch and use that because this one has yet to be rebased to latest and OP is probably not coming back to do it)

@gb-123-git
Copy link

@Anonymous1157 I really dont know why this was not merged.
How about I fork the github, apply the patch again after merging conflicts ? Will that work ? Will you help me test it ?

@npmccallum @sergio-correia
Would you guys merge it this time if I really work on this? I dont want my many hours to go waste if this is not gonna get merged.

@sergio-correia
Copy link
Collaborator

@Anonymous1157 I really dont know why this was not merged. How about I fork the github, apply the patch again after merging conflicts ? Will that work ? Will you help me test it ?

@npmccallum @sergio-correia Would you guys merge it this time if I really work on this? I dont want my many hours to go waste if this is not gonna get merged.

I am open to merging it, so if you want to work on it, please go ahead. Start by rebasing it on top of the current tree.

@gb-123-git
Copy link

@Anonymous1157
Can you also test patch #437 ? You can build from ( https://github.com/gb-123-git/clevis/tree/master )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Separate dracut from systemd directory
6 participants