[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [solved securely now??] What is the correct way to set encrypted swap with systemd?

On 04/01/2015 03:27 PM, David Wright wrote:
> I don't recall seeing you post what you actually put into
> /etc/crypttab to test PARTUUID, only the erroneous earlier versions
> where you were still using swap's UUID.

Fair enough. Completely plausible I did something wrong as I haven't
used PARTUUID's in my /etc/crypttab before.

# blkid | grep sda3
/dev/sda3: PARTUUID="0003efe2-03"

# grep swap /etc/crypttab
# swap works.
#sda3_crypt /dev/disk/by-id/ata-TOSHIBA_MK3259GSXP_42K5CE0TT-part3
/dev/urandom cipher=aes-xts-plain64,size=256,swap
# swap doesn't work.
sda3_crypt PARTUUID=0003efe2-03 /dev/urandom

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: