*To*: debian-user@lists.debian.org*Subject*: Re: [solved securely now??] What is the correct way to set encrypted swap with systemd?*From*: ~Stack~ <i.am.stack@gmail.com>*Date*: Thu, 02 Apr 2015 07:29:36 -0500*Message-id*: <[🔎] 551D3630.1080406@gmail.com>*In-reply-to*: <[🔎] 20150402044544.GD24222@alum.home>*References*: <20150328191553.GA13068@alum.home> <55170AD3.5050606@gmail.com> <3bg9o3djjrv8@mids.svenhartge.de> <55173007.1020009@gmail.com> <4bga2r0jjrv8@mids.svenhartge.de> <55177729.5080707@gmail.com> <5bgbenvjjrv8@mids.svenhartge.de> <[🔎] 551B3A8E.9040603@gmail.com> <[🔎] 20150401202758.GA21721@alum.home> <[🔎] 551C8155.2010607@gmail.com> <[🔎] 20150402044544.GD24222@alum.home>

On 04/01/2015 11:45 PM, David Wright wrote: > Quoting ~Stack~ (i.am.stack@gmail.com): >> 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 >> cipher=aes-xts-plain64,size=256,swap > > How about trying > > sda3_crypt /dev/disk/by-partuuid/0003efe2-03 /dev/urandom cipher=aes-xts-plain64,size=256,swap Same thing. Systemd.fsck runs on boot and takes ~2 minutes before timing out. Swap is not mounted. :-/ Thanks for the suggestion!

**Attachment:
signature.asc**

**References**:**Re: [solved securely now??] What is the correct way to set encrypted swap with systemd?***From:*~Stack~ <i.am.stack@gmail.com>

**Re: [solved securely now??] What is the correct way to set encrypted swap with systemd?***From:*David Wright <deblis@lionunicorn.co.uk>

**Re: [solved securely now??] What is the correct way to set encrypted swap with systemd?***From:*~Stack~ <i.am.stack@gmail.com>

**Re: [solved securely now??] What is the correct way to set encrypted swap with systemd?***From:*David Wright <deblis@lionunicorn.co.uk>

- Prev by Date:
**Re: Issues with Enigmail @ Icedove and a huge keyring** - Next by Date:
**Re: Debian and FQDN lookup** - Previous by thread:
**Re: [solved securely now??] What is the correct way to set encrypted swap with systemd?** - Next by thread:
**Re: Is this an April Fool joke running early ? (Systemd to fork the kernel)** - Index(es):