Bugzilla – Bug 136152
losetup manpage crypt options/examples are far off reality
Last modified: 2007-04-11 12:22:56 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
i have a look
*** Bug 180111 has been marked as a duplicate of this bug. ***
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.
fixed in stable loop-AES patch has been removed from util-linux