Usability: cryptsetup is missing from default install

Bug #1323255 reported by Michael Kanis
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
unity-settings-daemon (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

On a fresh install of Ubuntu I connect a USB drive or SD card, that I formatted and encrypted with gnome-disks (on another system). I get a dialog prompting for the password, I enter the correct password. I get an error dialog:

Error unlocking /dev/sdg1: Error spawning command-line `cryptsetup luksOpen "/dev/sdg1" "luks-a6645339-a9d6-4dc5-985a-023ff620522e" ': Failed to execute child process "cryptsetup" (No such file or directory) (g-exec-error-quark, 8)

There are several problems:
1) The software pretends to support encrypted disks by showing a password prompt but it doesn't.
2) It's 2014. Ubuntu should really support encrypted external disks by default. Period.
3) The error dialog is not helpful at all and a perfect example why Ubuntu is not ready for the mainstream. What were e.g. my parents supposed to do with this?

Workaround:
sudo apt-get install cryptsetup

Real fix:
1) The software should check if cryptsetup is there, *before* showing the password prompt and show an apropriate, helpful message if it is not. Possibly with an easy one-click solution. "The volume you connected/inserted is encrypted. Additional software needs to be installed to support this. [Cancel] [[Install encryption support]]"
2) Ubuntu should install cryptsetup by default.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unity-settings-daemon 14.04.0+14.04.20140414-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
Uname: Linux 3.13.0-24-generic i686
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: i386
CurrentDesktop: Unity
Date: Mon May 26 12:54:21 2014
ExecutablePath: /usr/lib/unity-settings-daemon/unity-fallback-mount-helper
InstallationDate: Installed on 2014-05-24 (1 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
ProcEnviron:
 LANGUAGE=de_DE
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: unity-settings-daemon
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Michael Kanis (mkanis) wrote :
Revision history for this message
Dylan Alan (imaskier-dta) wrote :

I couldn't agree more!!!! I thought I lost 3/4 full TB, my heart fell to the floor. Luckily this isn't my first rodeo and I noticed "Failed to execute child process "cryptsetup" (No such file or directory)" leading me to believe that it was not installed. I just made the whole family take the plunge into Ubuntu after multi systems (windows) started to fail. This can not happen to them, and should be an no brainer. Please fix!

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

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

Changed in unity-settings-daemon (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.