Same behavior here with 16.04. On boot and on upgrades the systems ask me for the password. If I use solution from #59 the system don't ask for the password anymore but the system takes 2 minutes to boot.
lino@pioneer:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p7 during installation
UUID=3c2d5db4-6381-4f81-9599-5d29942c917a / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=BC3B-4E24 /boot/efi vfat umask=0077 0 1
# swap was on /dev/nvme0n1p6 during installation
#UUID=d987f11f-51ab-446c-9cad-65f27200bd1f none swap sw 0 0
/dev/mapper/cryptswap1 none swap sw 0 0
lino@pioneer:~$ cat /etc/crypttab
cryptswap1 UUID=d987f11f-51ab-446c-9cad-65f27200bd1f /dev/urandom swap,offset=1024,cipher=aes-xts-plain64
#cryptswap1 /dev/disk/by-uuid/d987f11f-51ab-446c-9cad-65f27200bd1f/dev/urandom swap,cipher=aes-cbc-essiv:sha256
Same behavior here with 16.04. On boot and on upgrades the systems ask me for the password. If I use solution from #59 the system don't ask for the password anymore but the system takes 2 minutes to boot.
lino@pioneer:~$ sudo blkid 51ab-446c- 9cad-65f27200bd 1f" TYPE="swap" PARTUUID= "26ba4f5f- 272f-4b52- 8c95-fb32a025ba da" "423cce4f- 51be-4c8f- a38c-7f35c4f25a d6" 5EBF300" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID= "82f7b959- 5b3d-4979- 9ed9-275e7aa271 35" 2596608" TYPE="ntfs" PARTUUID= "bd62ca2b- 7eb9-47e9- a6dd-d7546be31a 08" 459A7B9" TYPE="ntfs" PARTUUID= "814b3f7f- 53f7-41aa- 8b1f-bdef9ac649 32" 6381-4f81- 9599-5d29942c91 7a" TYPE="ext4" PARTUUID= "7b96edbd- a17d-4481- 8cf7-ec31d165e1 82" "002bd004- 01" "07f2837e- 01" 035EFD9" TYPE="ntfs" PARTUUID= "07f2837e- 02" e453-4f67- 85e2-8402447ef8 fb" TYPE="crypto_LUKS" PARTUUID= "07f2837e- 03" luks-defefa91- e453-4f67- 85e2-8402447ef8 fb: LABEL=" Disco_Externo" UUID="597f766f- 7dee-478c- a512-b49ecdf578 43" TYPE="ext4" "195d2663- e6e9-424d- ab66-31ec8f1d10 a7" PTTYPE="gpt" "Microsoft reserved partition" PARTUUID= "ea83be62- bd92-4e6c- a98a-d652a9a003 b1"
/dev/nvme0n1p6: UUID="d987f11f-
/dev/nvme0n1p1: LABEL="ESP" UUID="BC3B-4E24" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID=
/dev/nvme0n1p3: LABEL="OS" UUID="01D186521
/dev/nvme0n1p4: LABEL="WINRETOOLS" UUID="44B2596EB
/dev/nvme0n1p5: LABEL="Image" UUID="EA9459D89
/dev/nvme0n1p7: UUID="3c2d5db4-
/dev/sda1: LABEL="CODEMETER" UUID="002B-D004" TYPE="vfat" PARTUUID=
/dev/sdb1: SEC_TYPE="msdos" LABEL="DellUtility" UUID="3030-3030" TYPE="vfat" PARTUUID=
/dev/sdb2: LABEL="RECOVERY" UUID="92D03605D
/dev/sdb3: UUID="defefa91-
/dev/mapper/
/dev/nvme0n1: PTUUID=
/dev/nvme0n1p2: PARTLABEL=
lino@pioneer:~$ swapon -s
Filename Type Size Used Priority
/dev/nvme0n1p6 partition 15999996 0 -1
lino@pioneer:~$ printf "x\np\n" | sudo fdisk /dev/sda
Welcome to fdisk (util-linux 2.27.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help):
Expert command (m for help): Disk /dev/sda: 39.3 MiB, 41156608 bytes, 80384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x002bd004
Device Boot Start End Sectors Id Type Start-C/H/S End-C/H/S Attrs
/dev/sda1 * 63 80324 80262 b W95 FAT32 0/1/1 4/63/254 80
lino@pioneer:~$ ls -l /run/systemd/ generator/ target. requires by\x2duuid- d987f11f\ x2d51ab\ x2d446c\ x2d9cad\ x2d65f27200bd1f .device. wants cryptswap1. device. d cryptswap1. device. requires cryptswap1. swap target. requires target. wants target. wants service. d requires
total 16
-rw-r--r-- 1 root root 374 Apr 1 07:21 boot-efi.mount
drwxr-xr-x 2 root root 60 Apr 1 07:21 cryptsetup.
drwxr-xr-x 2 root root 60 Apr 1 07:21 dev-disk-
drwxr-xr-x 2 root root 60 Apr 1 07:21 dev-mapper-
drwxr-xr-x 2 root root 60 Apr 1 07:21 dev-mapper-
-rw-r--r-- 1 root root 188 Apr 1 07:21 dev-mapper-
drwxr-xr-x 2 root root 60 Apr 1 07:21 hwclock.service.d
drwxr-xr-x 2 root root 80 Apr 1 07:21 local-fs.
drwxr-xr-x 2 root root 60 Apr 1 07:21 local-fs.
-rw-r--r-- 1 root root 277 Apr 1 07:21 -.mount
drwxr-xr-x 2 root root 60 Apr 1 07:21 multi-user.
drwxr-xr-x 2 root root 60 Apr 1 07:21 networking.
drwxr-xr-x 2 root root 60 Apr 1 07:21 remote-fs.target.d
drwxr-xr-x 2 root root 60 Apr 1 07:21 sendsigs.service.d
drwxr-xr-x 2 root root 60 Apr 1 07:21 swap.target.
-rw-r--r-- 1 root root 947 Apr 1 07:21 <email address hidden>
drwxr-xr-x 2 root root 60 Apr 1 07:21 umountfs.service.d
drwxr-xr-x 2 root root 60 Apr 1 07:21 umountnfs.service.d
lino@pioneer:~$ cat /etc/fstab 6381-4f81- 9599-5d29942c91 7a / ext4 errors=remount-ro 0 1 51ab-446c- 9cad-65f27200bd 1f none swap sw 0 0 cryptswap1 none swap sw 0 0 51ab-446c- 9cad-65f27200bd 1f /dev/urandom swap,offset= 1024,cipher= aes-xts- plain64 by-uuid/ d987f11f- 51ab-446c- 9cad-65f27200bd 1f/dev/ urandom swap,cipher= aes-cbc- essiv:sha256
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p7 during installation
UUID=3c2d5db4-
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=BC3B-4E24 /boot/efi vfat umask=0077 0 1
# swap was on /dev/nvme0n1p6 during installation
#UUID=d987f11f-
/dev/mapper/
lino@pioneer:~$ cat /etc/crypttab
cryptswap1 UUID=d987f11f-
#cryptswap1 /dev/disk/