Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11471 - contribution: /etc/init.d/loop (for easy crypto-loopback filesystem support)
Summary: contribution: /etc/init.d/loop (for easy crypto-loopback filesystem support)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-02 00:45 UTC by Matthew Kennedy (RETIRED)
Modified: 2004-06-30 09:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/conf.d/loop (loop,290 bytes, text/plain)
2002-12-02 00:46 UTC, Matthew Kennedy (RETIRED)
Details
/etc/init.d/loop (loop,776 bytes, text/plain)
2002-12-02 00:47 UTC, Matthew Kennedy (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Kennedy (RETIRED) gentoo-dev 2002-12-02 00:45:08 UTC
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
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2002-12-02 00:46:21 UTC
Created attachment 6130 [details]
/etc/conf.d/loop

/etc/conf.d/loop -- config file for /etc/init.d/loop
Comment 2 Matthew Kennedy (RETIRED) gentoo-dev 2002-12-02 00:47:22 UTC
Created attachment 6131 [details]
/etc/init.d/loop

/etc/init.d/loop -- init script for crypto loopback support.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-02 03:08:33 UTC
What packages is needed to get the crypto working ?  Was thinking we could
add it to that if you agree.  Looks fine otherwise :)
Comment 4 Matthew Kennedy (RETIRED) gentoo-dev 2002-12-02 03:21:03 UTC
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.
Comment 5 Matthew Kennedy (RETIRED) gentoo-dev 2002-12-07 21:59:23 UTC
gentoo user guide for this almost finished :)
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-08 14:17:49 UTC
Ok, great.  Ill get to it somewhere.
Comment 7 Matthew Kennedy (RETIRED) gentoo-dev 2002-12-11 04:55:38 UTC
http://cvs.gentoo.org/~mkennedy/loop.html
(draft being reviewed by doc team)
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-25 18:27:53 UTC
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 ...
Comment 9 Florian Dittmer 2003-04-02 22:05:28 UTC
Hi, 
 
crypto-loop should be started before checkfs and localmount so that the loop filesystem can be 
tested before the mount. 
 
Flo 
 
Comment 10 Tom Wesley 2003-07-27 02:07:48 UTC
Does anyone know what happened to the documentation hinted at here? 
Comment 11 Rob Davies 2003-09-06 09:28:32 UTC
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? 
Comment 12 Aron Griffis (RETIRED) gentoo-dev 2004-06-30 09:28:19 UTC
This was added to rc-scripts/baselayout a long time ago, Az must have forgotten to close