cryptsetup luksOpen unreliable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi. I have this bug where cryptsetup occasionally doesn't open one of my
volumes at boot. 2 or 3 volumes are opened within a short period of
time, and one of them sometimes fails (for a friend of mine this is even
more extreme, he has 6 volumes or so, and sometimes the 4th or 5th
fails). I can reproduce it like this:

[15:14:44][root@artin ~]# cryptsetup luksOpen /dev/artin/arch64 arch64
-d /etc/crypttab.d/arch64
key slot 1 unlocked.
[15:14:51][root@artin ~]# cryptsetup luksClose arch64
[15:14:57][root@artin ~]# cryptsetup luksOpen /dev/artin/arch64 arch64
-d /etc/crypttab.d/arch64
key slot 1 unlocked.
[15:15:02][root@artin ~]# cryptsetup luksClose arch64
[15:15:03][root@artin ~]# cryptsetup luksOpen /dev/artin/arch64 arch64
-d /etc/crypttab.d/arch64
Failed to setup dm-crypt key mapping.
Check kernel for support for the aes-cbc-essiv:sha256 cipher spec and
verify that /dev/artin/arch64 contains at least 514 sectors.
Failed to read from key storage
Command failed: No key available with this passphrase.

[15:15:06][root@artin ~]#

This happens with cryptsetup 1.0.5 on Archlinux i686 and x86_64 and the
Archlinux default kernel (currently 2.6.21.4, but apparently also with
older versions).

I also get /dev/mapper/temporary-cryptsetup-XXXXX devices and messages
like "device-mapper: ioctl: unable to remove open device
temporary-cryptsetup-XXXXX" in dmesg.

Can anybody help me with this?


---------------------------------------------------------------------
dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux