Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
unlock no longer works due to new systemd decryption method #4
On fresh Centos 7 install you can't use anymore unlock helper.
When installing "cryptsetup" a new systemd generator units is deployed in this file /usr/lib/systemd/system-generators/systemd-cryptsetup-generator
This generator read /etc/crypttab and create dependings units for calling this command for each entries:
There is no more /sbin/cryptsetup binaries inside initrd.
Current workaround is using /usr/bin/console_auth to enter password.
I don't know why, but unlock helper fail on "Warning: Unable to lock memory, are you root?" in root.
I just tried with a brand new CentOS 7.3 minimal, encryption setup through the installer, module installed through the repository. Worked fine for me!
@9dt I'm not sure if somebody could help here. Each Gentoo installation is completely different, nobody of us could easily reproduce it (I was a Gentoo user for > 10 years). If you manage to figure out the reason, it would be good to know it
I will try again.…
On Wed, Jul 19, 2017 at 12:00 PM, aimlessadam ***@***.***> wrote: it works for me w/ Centos 7.3, despite the 'are you root' warning, though I had to manually add /etc/crypttab to my initrd. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#4 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AFiQzVWTPA4kqyBV67TrsdlMxqiFvqPyks5sPkQ9gaJpZM4JFnQ8> .
-- Regards, Carlos Hernandez Senior Solutions Architect P +1 (403) 466-7408 W www.techbyte.ca