Bug 136152 - losetup manpage crypt options/examples are far off reality
Summary: losetup manpage crypt options/examples are far off reality
Status: RESOLVED FIXED
: 180111 (view as bug list)
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: RC 4
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Matthias Koenig
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-30 18:11 UTC by Andreas Kleen
Modified: 2007-04-11 12:22 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kleen 2005-11-30 18:11:15 UTC
A lot of the stuff described there doesn't work, e.g. the multi key 
option and the example. The kernel code only supports single keys.
When you try to use multi keys it just fails with an error message
aboput unsupported ioctls.

To reproduce: try the example at the end of the losetup manpage

I think the example should be changed to something that actually works 
with the shipped kernel. And options that don't work either should
be hidden or at least clearly marked.

Another problem is that it tries to get a lot of entropy
and may stall for a long time. It should give hints on how
to get more entry or how to use /dev/hw_random if available
Comment 1 Hendrik Vogelsang 2006-02-01 17:58:17 UTC
i have a look
Comment 2 Hendrik Vogelsang 2006-06-01 18:02:58 UTC
*** Bug 180111 has been marked as a duplicate of this bug. ***
Comment 3 Matthias Koenig 2006-10-06 13:00:10 UTC
Mostly all of this is from the loop-aes patch. As I can not see that we support this in our kernel (and it has recently been proposed to use dm-crypt with LUKS as default cryptofs), I have no idea why we should still carry it in util-linux. 
If there is no intention to support loop-aes by our kernel, I propose to drop loop-aes patch from util-linux at all.
Comment 4 Matthias Koenig 2007-04-11 12:22:56 UTC
fixed in stable
loop-AES patch has been removed from util-linux