Public bug reported:

The command `cryptsetup luksOpen /dev/DEVICE NAME' no longer works when 
NAME==DEVICE. It
used to work in edgy. For example, the command

    # cryptsetup luksOpen /dev/sda6 sda6

fails (well, cryptsetup succeeds, but /dev/mapper/sda6 gets the "linear" 
target, so it's unusable). 
More generally,

    # cryptsetup luksOpen /dev/sda6 sda4

also fails. Both worked fine in edgy. A more detailed transcript
follows:

The following used to work in edgy, but doesn't work after upgrading to
feisty:

[EMAIL PROTECTED]:~# dmsetup ls | grep sda6
[EMAIL PROTECTED]:~#
[EMAIL PROTECTED]:~# cryptsetup luksOpen /dev/sda6 sda6
Enter LUKS passphrase:
key slot 0 unlocked.
Command successful.
[EMAIL PROTECTED]:~# mount /dev/mapper/sda6 /crypt
mount: unknown filesystem type 'crypto_LUKS'
[EMAIL PROTECTED]:~# dmsetup status sda6
0 18603207 linear
[EMAIL PROTECTED]:~# dmsetup remove sda6

This, however, does work in feisty:

[EMAIL PROTECTED]:~# cryptsetup luksOpen /dev/sda6 foo
Enter LUKS passphrase:
key slot 0 unlocked.
Command successful.
[EMAIL PROTECTED]:~# mount /dev/mapper/foo /crypt
[EMAIL PROTECTED]:~# df -hT /crypt
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/mapper/cs
              ext3    8.8G  7.2G  1.2G  87% /crypt
[EMAIL PROTECTED]:~# dmsetup status foo
0 18602175 crypt

** Affects: Ubuntu
     Importance: Undecided
         Status: Unconfirmed

-- 
cryptsetup fails for certain mapping names, regression from edgy
https://bugs.launchpad.net/bugs/108456
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to