Regression introduced in https://launchpad.net/ubuntu/+source/systemd/218-2ubuntu3 . Downgrading the udev binary package to 218-2ubuntu2 fixes this.
** Package changed: cryptsetup (Ubuntu) => systemd (Ubuntu) ** Changed in: systemd (Ubuntu) Assignee: (unassigned) => Martin Pitt (pitti) ** Summary changed: - Opening LUKS device fails + [udev regression] Opening LUKS device fails -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1404143 Title: [udev regression] Opening LUKS device fails Status in systemd 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/systemd/+bug/1404143/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp