note that the initramfs image does NOT support "allow_discards" at the
moment. the script "scripts/local-top/cryptroot" only supports the
"discard" option:
discard)
cryptdiscard="yes"
;;
furthermore, "allow_discards" is not copied into conf/conf.d/cryptroot
so, to avoid changing initrd and packages/infrastructure that generates it,
ubuntu should use "discard" in /etc/crypttab.
a viable alternative is to change the default in the script/local-
top/cryptroot script:
# Defaults
cryptcipher=aes-cbc-essiv:sha256
cryptsize=256
crypthash=ripemd160
crypttarget=cryptroot
cryptsource=""
cryptlvm=""
cryptkeyscript=""
cryptkey="" # This is only used as an argument to an eventual keyscript
crypttries=3
cryptrootdev=""
cryptdiscard=""
CRYPTTAB_OPTIONS=""
by changing cryptdiscard to yes
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1281587
Title:
Ubiquity offers to encrypt the new system, but fails to set TRIM-
enabling option in crypttab
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1281587/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs