Disk encryption + BTRFS + Suspend to disk swap generates wrong configuration
Hi,
I noticed that when enabling these options, there are two errors in the configuration:
-
/etc/crypttab
contains the root fs and the swap. This is not needed. (it is even noted in the comments above the entries that those should not be added to the crypttab. -
/etc/openswap.conf
does not have the btrfs mount options enabled, which breaks the resume to disk swap as it doesn't mount the root fs with the keyfile correctly. (e.g.keyfile_device_mount_options="--options=subvol=@"
)
I tested it with the latest manjaro installation image. Not sure if it's already fixed in the latest dev version. If so, this can be closed.