Comment 3 for bug 1310058

syscon-hh (syscon-kono) wrote :

A possible workaround inside the script "/usr/bin/ecryptfs-setup-swap" could be:

*******
# Add crypttab entry

 echo "cryptswap$i UUID=$uuid /dev/urandom swap,offset=8,cipher=aes-cbc-essiv:sha256" >> /etc/crypttab
*******

Please test the supplement "offset=8" as a sufficient space to avoid the UUID will be overwritten.

Alternativily it should be tested to use the Option "skip" instead.