Indeed! After a little more investigating, I commented out two lines in my fstab. I've been manually mounting the encrypted swap partition since then.
ericp@pucky:~$ sudo blkid [sudo] password for ericp: /dev/mapper/sda5_crypt: UUID="uDe29v-IL2u-mHU0-GBjD-H9ji-DCNc-P29L5g" TYPE="LVM2_member" /dev/sda1: UUID="b4203a7f-9fc4-42c6-bd9d-f5796fff0f80" TYPE="ext2" PARTUUID="5cc8b93f-01" /dev/sda5: UUID="447ea4a7-b12a-4b3b-b7ec-bef21e754103" TYPE="crypto_LUKS" PARTUUID="5cc8b93f-05" /dev/mapper/ubuntu--vg-root: UUID="3864ee8c-65e6-4608-89ef-4cb0fec13d6c" TYPE="ext4" /dev/mapper/ubuntu--vg-swap_1: UUID="709c35fb-a74b-4c98-b341-246e0e65621d" TYPE="swap" /dev/mapper/cryptswap1: UUID="7564b3fa-a22b-42ee-948a-be7104a5dbb1" TYPE="swap"
ericp@pucky:~$ ls -lR /dev/disk/by-uuid /dev/disk/by-uuid: total 0 lrwxrwxrwx 1 root root 10 Jun 30 08:09 3864ee8c-65e6-4608-89ef-4cb0fec13d6c -> ../../dm-1 lrwxrwxrwx 1 root root 10 Jun 30 08:09 447ea4a7-b12a-4b3b-b7ec-bef21e754103 -> ../../sda5 lrwxrwxrwx 1 root root 10 Jun 30 08:09 709c35fb-a74b-4c98-b341-246e0e65621d -> ../../dm-2 lrwxrwxrwx 1 root root 10 Jun 30 08:09 7564b3fa-a22b-42ee-948a-be7104a5dbb1 -> ../../dm-3 lrwxrwxrwx 1 root root 10 Jun 30 08:09 b4203a7f-9fc4-42c6-bd9d-f5796fff0f80 -> ../../sda1
fstab - I'm including the lines I commented out: /dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1 UUID=b4203a7f-9fc4-42c6-bd9d-f5796fff0f80 /boot ext2 defaults 0 2 # ericp this is not the encrypted swap? /dev/mapper/ubuntu--vg-swap_1 none swap sw 0 0 # ericp this doesn't exist /dev/mapper/cryptswap1 none swap sw 0 0
ericp@pucky:~$ cat /etc/crypttab sda5_crypt UUID=447ea4a7-b12a-4b3b-b7ec-bef21e754103 none luks,discard cryptswap1 UUID=709c35fb-a74b-4c98-b341-246e0e65621d /dev/urandom swap,offset=1024,cipher=aes-xts-plain64
There it is. Interestingly enough, I've been using /dev/mapper to manually mount dm-3 as my crypt swap, and it's been working fine.
ericp@pucky:~$ ll /dev/mapper total 0 drwxr-xr-x 2 root root 140 Jun 30 08:09 ./ drwxr-xr-x 22 root root 4680 Jun 30 08:30 ../ crw------- 1 root root 10, 236 Jun 30 08:09 control lrwxrwxrwx 1 root root 7 Jun 30 08:09 cryptswap1 -> ../dm-3 lrwxrwxrwx 1 root root 7 Jun 30 08:09 sda5_crypt -> ../dm-0 lrwxrwxrwx 1 root root 7 Jun 30 08:09 ubuntu--vg-root -> ../dm-1 lrwxrwxrwx 1 root root 7 Jun 30 08:09 ubuntu--vg-swap_1 -> ../dm-2
Indeed! After a little more investigating, I commented out two lines in my fstab. I've been manually mounting the encrypted swap partition since then.
ericp@pucky:~$ sudo blkid sda5_crypt: UUID="uDe29v- IL2u-mHU0- GBjD-H9ji- DCNc-P29L5g" TYPE="LVM2_member" 9fc4-42c6- bd9d-f5796fff0f 80" TYPE="ext2" PARTUUID= "5cc8b93f- 01" b12a-4b3b- b7ec-bef21e7541 03" TYPE="crypto_LUKS" PARTUUID= "5cc8b93f- 05" ubuntu- -vg-root: UUID="3864ee8c- 65e6-4608- 89ef-4cb0fec13d 6c" TYPE="ext4" ubuntu- -vg-swap_ 1: UUID="709c35fb- a74b-4c98- b341-246e0e6562 1d" TYPE="swap" cryptswap1: UUID="7564b3fa- a22b-42ee- 948a-be7104a5db b1" TYPE="swap"
[sudo] password for ericp:
/dev/mapper/
/dev/sda1: UUID="b4203a7f-
/dev/sda5: UUID="447ea4a7-
/dev/mapper/
/dev/mapper/
/dev/mapper/
ericp@pucky:~$ ls -lR /dev/disk/by-uuid 65e6-4608- 89ef-4cb0fec13d 6c -> ../../dm-1 b12a-4b3b- b7ec-bef21e7541 03 -> ../../sda5 a74b-4c98- b341-246e0e6562 1d -> ../../dm-2 a22b-42ee- 948a-be7104a5db b1 -> ../../dm-3 9fc4-42c6- bd9d-f5796fff0f 80 -> ../../sda1
/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 Jun 30 08:09 3864ee8c-
lrwxrwxrwx 1 root root 10 Jun 30 08:09 447ea4a7-
lrwxrwxrwx 1 root root 10 Jun 30 08:09 709c35fb-
lrwxrwxrwx 1 root root 10 Jun 30 08:09 7564b3fa-
lrwxrwxrwx 1 root root 10 Jun 30 08:09 b4203a7f-
fstab - I'm including the lines I commented out: ubuntu- -vg-root / ext4 errors=remount-ro 0 1 9fc4-42c6- bd9d-f5796fff0f 80 /boot ext2 defaults 0 2 ubuntu- -vg-swap_ 1 none swap sw 0 0 cryptswap1 none swap sw 0 0
/dev/mapper/
UUID=b4203a7f-
# ericp this is not the encrypted swap? /dev/mapper/
# ericp this doesn't exist /dev/mapper/
ericp@pucky:~$ cat /etc/crypttab b12a-4b3b- b7ec-bef21e7541 03 none luks,discard a74b-4c98- b341-246e0e6562 1d /dev/urandom swap,offset= 1024,cipher= aes-xts- plain64
sda5_crypt UUID=447ea4a7-
cryptswap1 UUID=709c35fb-
There it is. Interestingly enough, I've been using /dev/mapper to manually mount dm-3 as my crypt swap, and it's been working fine.
ericp@pucky:~$ ll /dev/mapper
total 0
drwxr-xr-x 2 root root 140 Jun 30 08:09 ./
drwxr-xr-x 22 root root 4680 Jun 30 08:30 ../
crw------- 1 root root 10, 236 Jun 30 08:09 control
lrwxrwxrwx 1 root root 7 Jun 30 08:09 cryptswap1 -> ../dm-3
lrwxrwxrwx 1 root root 7 Jun 30 08:09 sda5_crypt -> ../dm-0
lrwxrwxrwx 1 root root 7 Jun 30 08:09 ubuntu--vg-root -> ../dm-1
lrwxrwxrwx 1 root root 7 Jun 30 08:09 ubuntu--vg-swap_1 -> ../dm-2