cryptdisks hangs on message "stop/waiting"
Bug #1409677 reported by
Helder
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cryptsetup (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I tried to switch from a normal swap to an encrypted one but the command freezes after the message "cryptdisks stop/waiting":
----
$ sudo ecryptfs-setup-swap
[sudo] password for <user>:
WARNING:
An encrypted swap is required to help ensure that encrypted files are not leaked to disk in an unencrypted format.
HOWEVER, THE SWAP ENCRYPTION CONFIGURATION PRODUCED BY THIS PROGRAM WILL BREAK HIBERNATE/RESUME ON THIS SYSTEM!
NOTE: Your suspend/resume capabilities will not be affected.
Do you want to proceed with encrypting your swap? [y/N]: y
INFO: Setting up swap: [/dev/sda2]
WARNING: Commented out your unencrypted swap from /etc/fstab
cryptdisks stop/waiting
----
To post a comment you must log in.
So, I tried to execute d/cryptdisks stop d/cryptdisks stop
$ sudo /etc/init.
and got
cryptdisks stop/waiting
instantaneously. So stopping works fine. In fact, when I tried it for a second time, I got
$ sudo /etc/init.
stop: Unknown instance:
On the other hand, starting freezes: d/cryptdisks start
$ sudo /etc/init.
(nothing is shown after that is executed)
See also: askubuntu. com/a/552965/ 98873
http://
FYI: this is on Ubuntu Studio 14.10.