[Bug 888782] Re: "cryptsetup -c aes-xts-plain -s 512 luksFormat" not working in Xubuntu 11.10

Jean-Louis Dupond jean-louis at dupond.be
Thu Mar 8 14:07:29 UTC 2012


This should be fixed in the precise release:
 * Cryptsetup now properly checks if underlying device is in use and
 disallows *luksFormat*, *luksOpen* and *create* commands on open
 (e.g. already mapped or mounted) device.

Feel free to reopen the bug if this is still giving issues on Precise.

** Changed in: cryptsetup (Ubuntu)
       Status: New => Incomplete

** Changed in: cryptsetup (Ubuntu)
       Status: Incomplete => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/888782

Title:
  "cryptsetup -c aes-xts-plain -s 512 luksFormat" not working in Xubuntu
  11.10

Status in “cryptsetup” package in Ubuntu:
  Fix Released

Bug description:
  Running "cryptsetup -c aes-xts-plain -s 512 luksFormat /dev/sdd1" on
  an external USB Storage (tried with HDD and USB Stick) in Xubuntu
  11.10 (did not try out Ubuntu or Kubuntu) gives the following error
  (encryption with aes is definitly working, whole system is encrypted
  with it)

  WARNING!
  ========
  This will overwrite data on /dev/sdd1 irrevocably.

  Are you sure? (Type uppercase yes): YES
  Enter LUKS passphrase:
  Verify passphrase:
  device-mapper: reload ioctl failed: Invalid argument
  Failed to setup dm-crypt key mapping for device /dev/sdd1.
  Check that kernel supports aes-xts-plain cipher (check syslog for more info).

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: cryptsetup 2:1.1.3-4ubuntu2
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic i686
  ApportVersion: 1.23-0ubuntu4
  Architecture: i386
  Date: Thu Nov 10 23:16:08 2011
  InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111011)
  ProcEnviron:
   LANGUAGE=de_AT:de
   PATH=(custom, no user)
   LANG=de_AT.UTF-8
   SHELL=/bin/bash
  SourcePackage: cryptsetup
  UpgradeStatus: No upgrade log present (probably fresh install)
  crypttab: sda2_crypt UUID=cb9d3519-bbfd-4931-b3f7-44bef7f8820a none luks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/888782/+subscriptions




More information about the foundations-bugs mailing list