This bug also affected me with Ubuntu 14.04 and encrypted home-directory. The swap partition existed but was not mounted as a crypted swap.
My workaround:
Changing /etc/crypttab in (e.g.):
#cryptswap1 UUID=a81fe18e-0f2a-4571-adeb-a80d57015549 /dev/urandom swap,cipher=aes-cbc-essiv:sha256 cryptswap1 /dev/sda6 /dev/urandom swap,cipher=aes-cbc-essiv:sha256
was successfull.
"free" gives:
Gesamt Belegt Frei Gemeinsam Puffer Cached Speicher: 7966568 1840508 6126060 180132 84148 814660 -/+ Puffer/Cache: 941700 7024868 Auslagerungsdatei: 15624188 0 15624188
and suspend to disk is possible.
This bug also affected me with Ubuntu 14.04 and encrypted home-directory. The swap partition existed but was not mounted as a crypted swap.
My workaround:
Changing /etc/crypttab in (e.g.):
#cryptswap1 UUID=a81fe18e- 0f2a-4571- adeb-a80d570155 49 /dev/urandom swap,cipher= aes-cbc- essiv:sha256 aes-cbc- essiv:sha256
cryptswap1 /dev/sda6 /dev/urandom swap,cipher=
was successfull.
"free" gives:
Gesamt Belegt Frei Gemeinsam Puffer Cached
Speicher: 7966568 1840508 6126060 180132 84148 814660
-/+ Puffer/Cache: 941700 7024868
Auslagerungsdatei: 15624188 0 15624188
and suspend to disk is possible.