Ubuntu Trusty 14.04.1

$ free --human
             total
Mem:          15.7G
-/+ buffers/cache:       985M
Swap:         0.0B

$ swapon --summary
Filename                                Type            Size    Used    Priority

https://bugs.launchpad.net/ubuntu/+source/ecryptfs-
utils/+bug/1310058/comments/3 should have solved the problem, but no.
After modifying /etc/cryptswap from:

cryptswap1 UUID=01234567-89ab-cdef-0123-456789abcdef /dev/urandom
swap,cipher=aes-cbc-essiv:sha256

to

cryptswap1 UUID=01234567-89ab-cdef-0123-456789abcdef /dev/urandom
swap,offset=8,cipher=aes-cbc-essiv:sha256

the problem persists. The same with the line:

cryptswap1 /dev/sdaX /dev/urandom swap,cipher=aes-cbc-essiv:sha256

after formating the swap partition with the old UUID:

sudo mkswap --label Ubuntu\ Swap --uuid 01234567-89ab-
cdef-0123-456789abcdef /dev/sdaX

and rebooting the system. So I guess the problem is due to a race
condition of the /etc/init.d/cryptdisks-early script. If I disable it
the swap partition is mounted automatically on every reboot.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1310058

Title:
  ecryptfs-setup-swap hints after reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/1310058/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to