"cryptsetup" should be included and installed by default in ubuntu 14.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| cryptsetup (Ubuntu) |
Undecided
|
Unassigned | ||
| gnome-disk-utility (Ubuntu) |
Undecided
|
Unassigned |
Bug Description
After upgrade from ubuntu 13.10 to 14.04 lts, I am unable to ulock my luks device. It gives the following error message:
Error unlocking /dev/sda6: Error spawning command-line `cryptsetup luksOpen "/dev/sda6" "luks-9082ff43-
Then I noticed that the package "cryptsetup" was not installed in my system.
"cryptsetup" should be included and installed as default in ubuntu 14.04 lts, as it was in the previous releases.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cryptsetup (not installed)
ProcVersionSign
Uname: Linux 3.13.0-24-generic i686
ApportVersion: 2.14.1-0ubuntu3
Architecture: i386
CurrentDesktop: Unity
Date: Sun Apr 20 13:21:55 2014
InstallationDate: Installed on 2014-04-20 (0 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
SourcePackage: cryptsetup
UpgradeStatus: No upgrade log present (probably fresh install)
suokunlong (suokunlong) wrote : | #1 |
suokunlong (suokunlong) wrote : | #3 |
Steve Langasek (vorlon) wrote on 2014-04-20: #2
> Cryptsetup was never installed by default in Ubuntu; it was only installed if you selected encryption in the installer.
I never explicitly installed cryptsetup during my previous ubuntu versions (and I did not choose "encrypt" option), but I always could unlock my luks device. I will check this for 13.10 in a vbox later.
However, even if cryptsetup is not installed by default, in nautiles when it do not find "cryptsetup" it should give some useful infomation (e.g., "cryptsetup is not installed in your system, please install...", or just ask the user whether he would like to install it), rather than giving the useless error message.
> however, you say this was an upgrade, and it also should not have been removed on upgrade. Please attach your upgrade logs from /var/log/
By saying UPGRADE, I mean "remove Ubuntu 13.10 and install 14.04", so no logs.
affects: | nautilus (Ubuntu) → gnome-disk-utility (Ubuntu) |
Sebastien Bacher (seb128) wrote : | #4 |
reassigning to gnome-disk-utility, the nautilus integration is provided by this component
Launchpad Janitor (janitor) wrote : | #5 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in gnome-disk-utility (Ubuntu): | |
status: | New → Confirmed |
Minosone (menno-pleijster) wrote : | #6 |
The same issue also arrises when you add a new disk to your system and wish to encrypt it. The disks utility offers you the encryption option, but then returns the none obvious error as stated before, instead of telling you that cryptsetup is not installed.
GizmoChicken (gizmochicken) wrote : | #7 |
Cryptsetup is not currently being installed by default in Ubuntu 14.10 (Utopic). To avoid the issue mentioned by Minosone in comment #6, cryptsetup should be installed by default, in my opinion.
lostboy1 (brett-blzj) wrote : | #8 |
I too ran in to a problem after upgrading a luks full disk encrypted 12.04.5 system to 14.04.1. After successfully upgrading, upon reboot I was asked for the luks password for the root system. After entering the password, I see sever errors including "/sbin/cryptsetup not found".
After doing research I came across bug https:/
Another reboot and all was good.
Antonio Sánchez (ingantosan) wrote : | #9 |
Same here, 15.10.
Martin G Miller (mgmiller) wrote : | #10 |
Problem continues in 16.04. This really should be installed by default or the error message should be useful and offer to install it.
Ads20000 (ads20000) wrote : | #11 |
Perhaps it should be a dependency (or recommends/
tags: | added: yakkety |
Cryptsetup was never installed by default in Ubuntu; it was only installed if you selected encryption in the installer. however, you say this was an upgrade, and it also should not have been removed on upgrade. Please attach your upgrade logs from /var/log/ apt/dist- upgrade.