azarah, I hacked up this init script to support crypto loopback configs. I've tested it here quite a bit. It works fine for my setup. The config file is /etc/conf.d/loop. The script is /etc/init.d/loop. Users would normally add this to boot. If you think its worth incorporating, I promise to write up a brief Gentoo guide to document and explain it. Matt
Created attachment 6130 [details] /etc/conf.d/loop /etc/conf.d/loop -- config file for /etc/init.d/loop
Created attachment 6131 [details] /etc/init.d/loop /etc/init.d/loop -- init script for crypto loopback support.
What packages is needed to get the crypto working ? Was thinking we could add it to that if you agree. Looks fine otherwise :)
no packages really.. other than util-linux (for losetup) and the user's favorite ciphers and cipherloop modules selected from gentoo-sources or crypto-sources (compiled in or as modules). i'm pretty sure both -sources have them -- i'm using gentoo-sources which has them.
gentoo user guide for this almost finished :)
Ok, great. Ill get to it somewhere.
http://cvs.gentoo.org/~mkennedy/loop.html (draft being reviewed by doc team)
Hi Matthew. I added your rc-scripts. I did some form changes, and added a check to see if the device are mounted or not before it tries to setup the loopback device. Also, I changed the name to crypto-loop, to reflect its perpose. Let me know what you think .. its on gentoo-src ...
Hi, crypto-loop should be started before checkfs and localmount so that the loop filesystem can be tested before the mount. Flo
Does anyone know what happened to the documentation hinted at here?
Dropped into the Bugday. Is the code for this enhancement available for some testing, or work on this? The link given for docs has gone, perhaps this ehancement is dead?
This was added to rc-scripts/baselayout a long time ago, Az must have forgotten to close