Re: Activating encrypted LVM partition with dmcrypt
Reply #1 –
I found out later through the Gentoo Handbook's page on the Initscrypt system (i.e OpenRC) that it's better to make changes to files in /etc/conf.d/* and not in /etc/init.d/*, whoops...
I reverted my change in /etc/init.d/dmcrypt and instead modified /etc/conf.d/lvm so that it now has
rc_after="mdraid dmcrypt"
And it's working just as well. My bad, I haven't used Gentoo or OpenRC before.