← Back to team overview

desktop-packages team mailing list archive

[Bug 1404143] Re: Opening LUKS device fails

 

Reproducer without udisks2:

sudo modprobe scsi_debug
echo foo | sudo cryptsetup luksFormat /dev/sdb
echo foo | sudo cryptsetup luksOpen /dev/sdb l

** Summary changed:

- Creating LUKS device fails
+ Opening LUKS device fails

** Package changed: udisks2 (Ubuntu) => cryptsetup (Ubuntu)

** Changed in: cryptsetup (Ubuntu)
     Assignee: Martin Pitt (pitti) => (unassigned)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to udisks2 in Ubuntu.
https://bugs.launchpad.net/bugs/1404143

Title:
  Opening LUKS device fails

Status in cryptsetup package in Ubuntu:
  In Progress

Bug description:
  Since yesterday, udisks2's Luks tests
  (https://jenkins.qa.ubuntu.com/job/vivid-adt-udisks2/?) fail:

  ======================================================================
  ERROR: test_0_create_teardown (__main__.Luks)
  LUKS create/teardown
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "src/tests/integration-test", line 1141, in test_0_create_teardown
      'label': GLib.Variant('s', 'treasure')}))
    File "src/tests/integration-test", line 314, in fs_create
      block.call_format_sync(type, options, None)
  GLib.Error: udisks-error-quark: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error opening LUKS device: Command-line `cryptsetup luksOpen ""/dev/sda"" luks-669be693-dc38-499c-911b-19df1540f70c' exited with non-zero exit status 1: device-mapper: reload ioctl on  failed: Invalid argument
  Failed to open temporary keystore device.
  device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
  device-mapper: reload ioctl on temporary-cryptsetup-18309 failed: No such device or address
  device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
  device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
  device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
  device-mapper: remove ioctl on temporary-cryptsetup-18309 failed: No such device or address
   (0)

  This test also fails locally for me. This still worked on Dec 18 on my
  system.

  Simple reproducer:

  sudo modprobe scsi_debug
  gdbus call -y -d org.freedesktop.UDisks2 -o /org/freedesktop/UDisks2/block_devices/sdb -m org.freedesktop.UDisks2.Block.Format 'ext2' '{"encrypt.passphrase": <"foo">}'

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


References