Comment 5 for bug 1447282

Revision history for this message
Jason Gerard DeRose (jderose) wrote : Re: Prompted for cryptoswap passphrase when using GPT partitioning + encrypted home directory (ecryptfs)

Martin,

Another interesting tidbit is that this pre-lightdm passphrase prompt isn't actually doing anything... you can enter a blank passphrase or the wrong passphrase, and it will still happily proceed to lightdm.

Here's the output you asked for:

$ systemctl --all | grep -i swap
  dev-mapper-cryptswap1.device loaded inactive dead start dev-mapper-cryptswap1.device
  <email address hidden> loaded activating start start Cryptography Setup for cryptswap1
  dev-disk-by\x2did-ata\x2dCrucial_CT120M500SSD3_14260C6F95F9\x2dpart3.swap loaded active active /dev/disk/by-id/ata-Crucial_CT120M500SSD3_14260C6F95F9-part3
  dev-disk-by\x2did-wwn\x2d0x10806682451855888394x\x2dpart3.swap loaded active active /dev/disk/by-id/wwn-0x10806682451855888394x-part3
  dev-disk-by\x2dpartlabel-primary.swap loaded active active /dev/disk/by-partlabel/primary
  dev-disk-by\x2dpartuuid-54ce1181\x2d8e2b\x2d456d\x2db679\x2d6a22d25fd361.swap loaded active active /dev/disk/by-partuuid/54ce1181-8e2b-456d-b679-6a22d25fd361
  dev-disk-by\x2duuid-92a5e233\x2dc249\x2d42df\x2d8425\x2d3d6e8ac3af41.swap loaded active active /dev/disk/by-uuid/92a5e233-c249-42df-8425-3d6e8ac3af41
  dev-mapper-cryptswap1.swap loaded inactive dead start /dev/mapper/cryptswap1
  dev-sda3.swap loaded active active Swap Partition
  swap.target loaded inactive dead Swap

$ find /run/systemd/generator* | grep -i swap
/run/systemd/generator/dev-mapper-cryptswap1.device.d
/run/systemd/generator/dev-mapper-cryptswap1.device.d/90-device-timeout.conf
/run/systemd/generator/dev-mapper-cryptswap1.device.requires
/run/systemd/generator<email address hidden>
/run<email address hidden>
/run/systemd/generator/dev-disk-by\x2duuid-92a5e233\x2dc249\x2d42df\x2d8425\<email address hidden>
/<email address hidden>
/run/systemd/generator/swap.target.requires
/run/systemd/generator/swap.target.requires/dev-mapper-cryptswap1.swap
/run/systemd/generator/dev-mapper-cryptswap1.swap
/run/systemd/generator.late/swap.target.wants
/run/systemd/generator.late/swap.target.wants/dev-sda3.swap
/run/systemd/generator.late/dev-sda3.swap