On Fri, Sep 4, 2015 at 1:24 AM, Richard Jasmin <frazzledj...@gmail.com> wrote: > one has to rely on ecryptfs. > > sudo ecryptfs-setup-swap > > to get encrypted swap in the first place. Does it work now on your machine?
> When using it we are presented with another problem. > > On boot swap fails to properly encrypt.You get a nice "system service > cryptswapper" is busy (time remaining) notice, which does nothing but timeout. What does '/sbin/cryptdisks_start cryptswap1' outputs on your system when swap doesn't work? > Swap either never gets its random key, never gets written to disk, or never > bothers to properly mount itself. Can you check it's not active at all, 'free -m' shows it's not available? > Unfortunately I cannot tell you which happens as all I can tell is that swap > never gets mounted.There are no /dev/mapper entries for swap, even though > there > SHOULD BE. Can you do 'blkid /dev/[your swap partition' and its output matches the one set in '/etc/crypttab'? > I do not know yet how repeatable this issue is.This is the first occurrence > since swap has been encrypted. Do you have experience if it works sometimes when you reboot or constantly fails? Thanks, Laszlo/GCS