Error Formatting luks device

Bug #1761995 reported by Jim on 2018-04-07
44
This bug affects 8 people
Affects Status Importance Assigned to Milestone
udisks
Confirmed
Undecided
Unassigned
gnome-disk-utility (Ubuntu)
Undecided
Unassigned
meta-gnome3 (Ubuntu)
Undecided
Unassigned

Bug Description

Application Gnome Disks

When trying to format an encrypted drive I get this error:

Error formatting volume

Error creating the luks device:The function 'bd_crypto_luks_format_blob' called, but not implemented! (udisks-error-quark,0)

1. Description: Ubuntu Bionic Beaver (development branch)
Release: 18.04

2. GNOME Disks 3.28.0-1ubuntu1

3. LUKS formatting disk should work

4. error message when opting for password protect volume (LUKS) utilizing format volume

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome (not installed)
ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
Uname: Linux 4.15.0-13-generic x86_64
ApportVersion: 2.20.9-0ubuntu4
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Apr 7 09:46:19 2018
InstallationDate: Installed on 2018-03-12 (26 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180311)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: meta-gnome3
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jim (jhe99) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in meta-gnome3 (Ubuntu):
status: New → Confirmed
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) wrote :

This also affects the case when you want to Open an encrypted disk/usb that was LUKS encrypted on another Linux system (Debian/Ubuntu).
It cannot Open it - Mount it, returning a similar error.

The function 'bd_crypto_luks_open_blob' called, but not implemented! (udisks-error-quark,0)

This only affects the GUI version. You can format or mount a LUKS disk/usb from the command line.

Revision history for this message
Thiago Martins (martinx) wrote :

Same problem here! Any workarounds?

Time to go fscrypt instead?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-disk-utility (Ubuntu):
status: New → Confirmed
Revision history for this message
Jesse (sbjesse) wrote :

I have an installation of Xenial (16.04 LTS) which doesn't have this bug (gnome-disk-utility version 3.18). After upgrading to 18.04 (gnome disk version 3.28) I start seeing this bug. It's not a showstopper as I know my way through the command line, but still, I spend 60% of my time on macOS and having a common task such as LUKS + ext4 done through a graphical interface is much appreciated

Revision history for this message
Sebastien Bacher (seb128) wrote :

does it work if you install libblockdev-crypto2 ?

Revision history for this message
Russ (russ-t) wrote :

Hi Sebastien, just gave that a try and it didn't help for me. Thank you

Revision history for this message
Jesse (sbjesse) wrote :

Hi Sebastien, yeah actually I did it right after reporting this bug. Installing libblockdev-crypto2 and restarting udisks2 service made it work!

Do you think we should categorize this under udisks2?

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) wrote :

I can confirm what Sebastien proposed. Installing libblockdev-crypto2 and restarting the udisks2.service did the trick.
Also it maybe worth mention that in my case the installation of Ubuntu 18.04(beta2) performed with the new "minimal installation" option.

Revision history for this message
dino99 (9d9) wrote :

udisks2 2.7.6-2ubuntu6 "suggests" libblockdev-crypto2;

that needs to be set to "recommends" at least.

Changed in udisks:
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

It's being made a recommend but that was blocked on some MIRs to be reviewed/accepted

Revision history for this message
Anonymous (unquoteveracity-deactivatedaccount) wrote :

I can confirm that this fix works on Ubuntu 20.04. To reiterate:

sudo apt install libblockdev-crypto2
sudo service udisks2 restart

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers