OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[suse-security] Can't make losetup mount a crypto file to the loopback device (SuSE 8.2)

From: Bo Jacobsen (subssystemhouse.dk)
Date: Wed Apr 30 2003 - 16:51:25 CDT


I'm trying to mount a file to the loopback device but the losetup command
complains about it.

I'm using the command line:
        losetup -e twofish /dev/loop0 /root/testfile

losetup asks for a password but returns:
    ioctl: LOOP_SET_STATUS: invalid argument
when one is entered

"losetup -e none" works

I have tried with the standard kernel in SuSE 8.2 but also kernel 2.4.20-13 with both
"loopback device support" and "Twofish encryption for loopback device" compiled
into the kernel.

Any suggestions.

Thanks in advance
Bo Jacobsen