Hi, when i use the /etc/conf.d/cryptfs with the following entry: mount=crypt-home source=/dev/hdb1 key=/root/crypto/home.key.gpg options='-c aes -s 256 -h plain' i get on Booting the error: you have to install app-crypt/gpg but the package app-crypt/gpg is named app-crypt/gnupg and installed too. Reproducible: Always Steps to Reproduce: 1. 2. 3.
is your /usr mounted on a diff partition ?
yes my /usr is mountet on a different partition (/dev/hda6) y? is this a Problem?
yes it's a problem ... gpg installs to /usr/bin/ and cryptfs uses gpg i think we should update the conf.d file with a note about this and call it a day
we can mount /usr befor we mounting crypfs isn't this a idea?
added notes to the files about using /usr on different partitions and cryptfs/gpg
Okay i have solved the problem (okay it was not really fast) You have to make a init-script like this: pcjunior ~ # cat /etc/init.d/usr #!/sbin/runscript # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ depend() { before checkfs } start() { einfo "Mounting /usr bevor mouting others" mount /dev/hda6 } And then you have to edit this file: pcjunior ~ # cat /etc/runlevels/boot/.critical usr checkroot hostname modules checkfs localmount splash Add usr (the name for my init-script) on first. Now it will work
*** Bug 144879 has been marked as a duplicate of this bug. ***