← Back to team overview

lubuntu-qa team mailing list archive

encrypted home does not work alone

 

Hi everybody,

Continuing testing I found that cryptswap does not work even when it is
run alone in a 'use the whole disk' installation. This is a bad bug.

It seems to be an old bug:

https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/953875

I found what I think is this bug in a system installed from the Lubuntu
Vivid alternate 32-bit daily iso file.

vivid-alternate-i386.iso

cryptswap is there when I reboot from the installer, but the second time
I reboot it is gone.
_____

/etc/crypttab:
cryptswap1 UUID=b66610ce-376c-42cf-8d02-8983f2a40d70 /dev/urandom
swap,cipher=aes-cbc-essiv:sha256

blkid:
/dev/sda1: UUID="63725e48-ebeb-4c33-a023-d34191a6b2bd" TYPE="ext4"
PARTUUID="ef7fb1de-01"
/dev/sda5: PARTUUID="ef7fb1de-05"

modified /etc/crypttab:
# <target name>    <source device>        <key file>    <options>
cryptswap1 /dev/sda5 /dev/urandom swap,cipher=aes-cbc-essiv:sha256
_____

Hint to the developers: It works with the modified crypttab

So it seems that the device information is wrong in /etc/crypttab. Maybe
it would be better to have to PARTUUID than the device /dev/sda5.

Best regards
Nio


Follow ups