Package: loop-aes-source
Version: 2.2d-2
Severity: important

*** Please type your report below this line ***
Hello,

I encountered a bug using loop-aes.

I used a complete new /lib/modules/`uname -a` directory and alsa the new
loop-aes-source modules from unstable (the rest is sarge)

Starting my system I got the following loop module loaded:

thomas:/etc# lsmod | grep loop
loop                   16584  0
(this is the original loop module from the kernel _not_ the loop-aes
modul)

Because of this using encrypted partitions doesn't work.

[EMAIL PROTECTED]:~$ mount /mnt/crypt/
Password:
ioctl: LOOP_SET_STATUS: Invalid argument, requested cipher or key length
(256 bits) not supported by kernel

Also my encrypted swap isn't loaded encrypted, this might be a security
hole.

After rmmod loop and thinking the kernel guesses the right modul, I have
the same situation.

Only rmmod loop and modprobe loop gives me the correct modul.

thomas:/etc# rmmod loop
thomas:/etc# modprobe loop
thomas:/etc# lsmod | grep loop
loop                   58828  0

This is of course very annoying. I have't a patch, but I can give a few
perhaps helpful details:

I have loop in my /etc/modules so it gets loaded on boot up.

The file /lib/modules/`uname -a`/modules.dep has as last entry
/lib/modules/2.6.8-sc/disabled/loop-orig.ko:

thomas:/usr/src/linux# grep KMOD .config
CONFIG_KMOD=y
(automatic modul loading)

Okay the easiest work-around is to rename loop-orig.ko to something like
loop-orig.ko.old. So not ending upon .ko and there ignored by the
kernel. I don't know if the loop-aes modul has any disadvantages
compared to the original.

I didn't wanted to use a higher severity, because often the mistake is
in front of the monitor, but feel free to raise it.

Greetings Thomas Braun

[part from my fstab]
dev/hdb7               /mnt/crypt              ext2
user,defaults,noauto,loop=/dev/loop3,encryption=AES-256,gpgkey=/root/.gnupg/keyfile.gpg
0 0
/dev/hda5               none                    swap
loop=/dev/loop6,encryption=AES-256,sw   0 0


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-sc
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages loop-aes-source depends on:
ii  build-essential               10.1       informational list of 
build-essent
ii  bzip2                         1.0.2-1    A high-quality block-sorting file 
ii  debhelper                     4.2.28     helper programs for debian/rules
ii  module-assistant              0.7.1      tool to make module package 
creati

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to