From: "J. Roeleveld" <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Problems with loop-aes
Date: Tue, 06 May 2014 20:45:01 +0200 [thread overview]
Message-ID: <15054377.ZrtTjlGeGV@andromeda> (raw)
In-Reply-To: <20140506183108.GA29693@waltdnes.org>
On Tuesday, May 06, 2014 02:31:08 PM Walter Dnes wrote:
> I'm trying to set up USB-key-encryption for use with a laptop. I'm
> running mdev instead of udev on the laptop, so lvm doesn't work.
I find this strange, as LVM can manage the /dev-entries directly.
On my systems, this is necessary as udev regularly fails to properly handle
these entries.
Eg. the following setting: " verify_udev_operations = 1 "
There are other options for udev documented in /etc/lvm/lvm.conf.
Including one where LVM is configured to do ALL the /dev operations.
> I did
> manage to create /dev/mapper/control by running "dmsetup mknodes"
> manually, but still got error messages about being unable to initialize
> the encryption backend.
I believe " cryptsetup " does not use the LVM tools. But has a new device
created by the kernel directly, which should be picked up by a device manager
directly.
> Moving on to using loop-aes, I emerged sys-fs/loop-aes-3.7a and used
> the "loop-aes" variant commands whilst following the the only docs that
> I could find, namely http://loop-aes.sourceforge.net/loop-AES.README
> I ran into problems when trying to mount the loop device. Here's what
> happens (passphrase is properly entered)...
>
> [aa1][root][~] loop-aes-losetup -F /dev/loop0
> Password:
> ioctl: LOOP_MULTI_KEY_SETUP_V3: Invalid argument
>
> Anybody have any ideas?
Never used the loop-aes-losetup.
I do use cryptsetup (with the luksopen/close options) succesfully, but that is
with udev.
--
Joost
next prev parent reply other threads:[~2014-05-06 18:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-06 18:31 [gentoo-user] Problems with loop-aes Walter Dnes
2014-05-06 18:45 ` J. Roeleveld [this message]
2014-05-06 21:34 ` Walter Dnes
2014-05-07 6:11 ` J. Roeleveld
2014-05-07 18:11 ` [gentoo-user] [SOLVED] Running cryptsetup under mdev Walter Dnes
2014-05-07 18:57 ` J. Roeleveld
2014-05-08 10:36 ` Andrew Savchenko
2014-05-12 6:51 ` J. Roeleveld
2014-05-12 7:21 ` Matti Nykyri
2014-05-12 7:24 ` Matti Nykyri
2014-05-06 21:50 ` [gentoo-user] Problems with loop-aes Alon Bar-Lev
2014-05-07 4:36 ` Walter Dnes
2014-05-07 6:48 ` Alon Bar-Lev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15054377.ZrtTjlGeGV@andromeda \
--to=joost@antarean.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox