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

Open LUKS containers before mounting volumes. #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dmatetelki
Copy link

As described in issue:
#25

@kernelOfTruth
Copy link

@cs0rbagomba

thanks for addressing this !

BUMP

@alinefr
Copy link
Contributor

alinefr commented Mar 5, 2016

Some people may want to encrypt a single zvol instead of a pool. That's why git://anongit.gentoo.org/proj/genkernel.git tries to import a zpool before and after luks. So I did it here, trying to unlock before and after luks: alinefr/genkernel-next@489f9fe

@lxnay
Copy link
Member

lxnay commented Mar 7, 2016

We should do both and call start_volumes before and after (need to check if start_volumes is idempotent though).
This because we may discover luks partitions only after start_volumes too.

@ptMuta
Copy link

ptMuta commented Oct 22, 2017

The lack of integration of the simple fix by @alinefr forces me to use a custom build instead of the repository build... Could this be resolved after almost three years of pending solution? @mudler ?

@dmatetelki
Copy link
Author

dmatetelki commented Nov 10, 2017

@ptMuta : I have to use custom genkernel builds too because of this.

Guys, can we have some progress?

@mudler
Copy link
Member

mudler commented Nov 26, 2017

start_volumes should be harmless and idempotent, but since this issue have been sitting here for ages we should take action - Let's test, keep it on master and wait later if someone will complain and file bugs ✨

@ptMuta
Copy link

ptMuta commented Nov 26, 2017 via email

@mudler
Copy link
Member

mudler commented Nov 26, 2017

And that's why i said should

@lovesegfault
Copy link

Can this please be merged?

@dmatetelki
Copy link
Author

dmatetelki commented Jan 14, 2019

It might be fixed already with: 5a1db22

which issues the 2 lines twice:

start_volumes
zfs_start_volumes

setup_keymap

# Initialize LUKS root device except for livecd's
is_livecd || start_luks

start_volumes
zfs_start_volumes

I haven't tasted if works.

@lovesegfault
Copy link

I tried it a little while back, but with no success

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.

7 participants