← Back to team overview

desktop-packages team mailing list archive

[Bug 1323255] Re: Usability: cryptsetup is missing from default install


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

You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity-settings-daemon in Ubuntu.

  Usability: cryptsetup is missing from default install

Status in “unity-settings-daemon” package in Ubuntu:

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?

  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)
   PATH=(custom, no user)
  SourcePackage: unity-settings-daemon
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to: