From c8d5b5f70d94774bc70babcc8fa9571418fe435d Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Wed, 8 Feb 2017 01:58:18 -0600 Subject: [PATCH] Ubuntu: Install cryptsetup when required This is issue #5754 (item 2). Reported-by: Peter Fern --- Ubuntu-16.04-Root-on-ZFS.md | 1 + Ubuntu-16.10-Root-on-ZFS.md | 1 + Ubuntu-17.04-Root-on-ZFS.md | 1 + 3 files changed, 3 insertions(+) diff --git a/Ubuntu-16.04-Root-on-ZFS.md b/Ubuntu-16.04-Root-on-ZFS.md index 86ba635..f0473fe 100644 --- a/Ubuntu-16.04-Root-on-ZFS.md +++ b/Ubuntu-16.04-Root-on-ZFS.md @@ -351,6 +351,7 @@ Choose one of the following options. If you are going to do an encrypted home d 7.2b Create an encrypted swap device: + # apt install cryptsetup # echo cryptswap1 /dev/zvol/rpool/swap /dev/urandom \ swap,cipher=aes-xts-plain64:sha256,size=256 >> /etc/crypttab # systemctl daemon-reload diff --git a/Ubuntu-16.10-Root-on-ZFS.md b/Ubuntu-16.10-Root-on-ZFS.md index 8b5e7de..975037e 100644 --- a/Ubuntu-16.10-Root-on-ZFS.md +++ b/Ubuntu-16.10-Root-on-ZFS.md @@ -347,6 +347,7 @@ Choose one of the following options. If you are going to do an encrypted home d 7.2b Create an encrypted swap device: + # apt install cryptsetup # echo cryptswap1 /dev/zvol/rpool/swap /dev/urandom \ swap,cipher=aes-xts-plain64:sha256,size=256 >> /etc/crypttab # systemctl daemon-reload diff --git a/Ubuntu-17.04-Root-on-ZFS.md b/Ubuntu-17.04-Root-on-ZFS.md index ba81981..3df8a97 100644 --- a/Ubuntu-17.04-Root-on-ZFS.md +++ b/Ubuntu-17.04-Root-on-ZFS.md @@ -362,6 +362,7 @@ Choose one of the following options. If you are going to do an encrypted home d 7.2b Create an encrypted swap device: + # apt install cryptsetup # echo cryptswap1 /dev/zvol/rpool/swap /dev/urandom \ swap,cipher=aes-xts-plain64:sha256,size=256 >> /etc/crypttab # systemctl daemon-reload