[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
** Tags removed: mate precise trusty utopic vivid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
I ran into the same problem on "Ubuntu 18.04.2 LTS" but the only required thing to fix it was to run "sudo update-initramfs -u". -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
I am running Ubuntu 14.04.5 LTS and the offset parameter to preserve the UUID simply does not work for me. A later version of Ubuntu on the same PC shows there is a PARTUUID for the encrypted swap partition, but this is not visible in 14.04. The UUID for the cryptswap partition is always lost after reboot of 14.04. Reverting back to using a device ID in conjunction with the solution in Comment #22 works, but I would like to add an additional piece of helpful information. I have a multi-disk system and periodically the /dev/sd_ drive IDs re-order themselves. Normally, UUIDs would solve this problem, but we can't use a UUID in this instance. This post pointed me in the direction of a solution (https://gebloggendings.wordpress.com/2016/06/14/cryptsetup- etccrypttab-a-workaround-for-gpt-partuuid-support/). Turns out you can use the /dev/disk/by-id alias for the partition ID in /etc/crypttab, as these drive IDs are also unique, i.e. drive make, model & serial number. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
@akwala, I have the same setup (full disk + home folder encryption). I just ran a mkswap on the swap mapped device that fdisk reports providing the UUID that blkid gives, and it seemed to work: ~$ sudo blkid # Grab UUID from here (if not for the swap-mapped partition, then the root-mapped one) ~$ sudo fdisk -l # Grab device path from here ~$ sudo mkswap -U 7e44a598-e057-42ec-9d1d-f0b693467211 /dev/mapper/elementary--vg-swap_1 I then just edited the UUID in the /etc/crypttab file to match and ran swapon which worked (verified in System Monitor). After rebooting, however, it gave me a message about the swap partition not being ready yet, though it worked after waiting for a couple seconds until the device was ready. I didn't want to see the message, so I followed the instructions here (http://askubuntu.com/questions/341979/what-to-do- about-the-disk-drive-for-dev-mapper-cryptswap1-is-not-ready-yet-or) to add the noauto flags to the swap partition in the /etc/crypttab and /etc/fstab files, and then created a /etc/init/cryptswap1.conf file with the following: start on started mountall script /sbin/cryptdisks_start cryptswap1 /sbin/swapon /dev/mapper/cryptswap1 end script This got it working well for me. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exF
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
** Tags added: mate xenial -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
Same problem here with Ubuntu 16.04.1 LTS $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 16.04.1 LTS Release:16.04 Codename: xenial $ cat /etc/crypttab # sda5_crypt UUID=84d61165-80eb-46cf-9d48-b0117c7a8a92 none luks,discard sda6_crypt UUID=e335f91e-58bb-4a57-8e10-2854ff8358db none luks,swap,discard $ cat /etc/fstab UUID=a370331b-c037-40fa-8d6c-2445960d94e0 /boot ext4defaults 0 2 /dev/mapper/sda5_crypt / ext4 errors=remount-ro 0 1 /dev/mapper/sda6_crypt noneswapsw 0 0 Config was not changed since 14.04 LTS, and it seems to be fine, but during startup I get the same error after updating to 16.04: systemd[1]: dev-disk-by\x2duuid-e335f91e\x2d58bb\x2d4a57\x2d8e10\x2d2854ff8358db.device: Job dev-disk-by\x2duuid-e335f91e\x2d58bb\x2d4a57\x2d8e10\x2d2854ff8358db.device/start timed out. systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-e335f91e\x2d58bb\x2d4a57\x2d8e10\x2d2854ff8358db.device. systemd[1]: Dependency failed for Cryptography Setup for sda6_crypt. systemd[1]: Dependency failed for Encrypted Volumes. systemd[1]: cryptsetup.target: Job cryptsetup.target/start failed with result 'dependency'. systemd[1]: Dependency failed for dev-mapper-sda6_crypt.device. systemd[1]: Dependency failed for /dev/mapper/sda6_crypt. systemd[1]: Dependency failed for Swap. systemd[1]: swap.target: Job swap.target/start failed with result 'dependency'. systemd[1]: dev-mapper-sda6_crypt.swap: Job dev-mapper-sda6_crypt.swap/start failed with result 'dependency'. systemd[1]: dev-mapper-sda6_crypt.device: Job dev-mapper-sda6_crypt.device/start failed with result 'dependency'. systemd[1]: systemd-cryptsetup@sda6_crypt.service: Job systemd-cryptsetup@sda6_crypt.service/start failed with result 'dependency'. systemd[1]: dev-disk-by\x2duuid-e335f91e\x2d58bb\x2d4a57\x2d8e10\x2d2854ff8358db.device: Job dev-disk-by\x2duuid-e335f91e\x2d58bb\x2d4a57\x2d8e10\x2d2854ff8358db.device/start failed with result 'timeout'. I did not tried the workaround yet, but anyway this is quite a big issue in my opinion... It should be fixed soon in the LTS version... -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
Same here using MATE 16.04, I fixed ( At least I think did ) the UUID problem at /etc/crypttab and now I'm asked for the passphrase at boot. Boot and Shut down is still slow. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
I had this error on 16.04 LTS as well. I had it on 2 systems, so this does not seem to be fixed yet. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More he
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
Yeah, I don't know why they haven't patched this bug. It's very unfortunate. Luckily, the work around isn't too much of a hassle. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpa
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
(EDIT to 104, it should have been offset=1024, not offset=20) Okay, here's what I do to fix the problem (for 14.04). I'll break it down into three steps. 1. Reformat the original swap partition on the system and make note of it's new uuid. You need to do this, because ubuntu wipes the uuid when it encrypts the partition on the first boot. 2. Now change /etc/crypttab to include an offset of 1024 so that cryptdisks doesn't wipe the uuid on the new swap partition. Change from: cryptswap1 UUID="old-uuid" /dev/urandom swap,cipher=aes-cbc-essiv:sha256 To: cryptswap1 UUID="new-uuid" /dev/urandom swap,cipher=aes-cbc-essiv:sha256,offset=1024 3. Now run the following commands to activate the encrypted swap partition: sudo cryptdisks_start cryptswap1 sudo swapon -a This should fix the issue, and the system should automatically have an active encrypted swap on each subsequent boot. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptf
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
Yes, that is a possible fix for the issue, but the point is, the bug has been fixed on the newest releases but not on the 14.04 long term support edition. As damien asked, I have not seen any news on this recently. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-pac
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
Okay, here's what I do to fix the problem (for 14.04). I'll break it down into three steps. 1. Reformat the original swap partition on the system and make note of it's new uuid. You need to do this, because ubuntu wipes the uuid when it encrypts the partition on the first boot. 2. Now change /etc/crypttab to include an offset of 10MiB (offset=20) so that cryptdisks doesn't wipe the uuid on the new swap partition. Change from: cryptswap1 UUID="old-uuid" /dev/urandom swap,cipher=aes-cbc-essiv:sha256 To: cryptswap1 UUID="new-uuid" /dev/urandom swap,cipher=aes-cbc-essiv:sha256,offset=20 3. Now run the following commands to activate the encrypted swap partition: sudo cryptdisks_start cryptswap1 sudo swapon -a This should fix the issue, and the system should automatically have an active encrypted swap on each subsequent boot. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
Encrypted home and crypt-swap work in the new LTS release, 16.04. I have tested, and it seems reliable. I don't know about 14.04 LTS. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://laun
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
Any news on 14.04 ? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
When will be fix on Ubuntu 14.04? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
I get the impression this is known and expected, but this problem still exists in the latest 14.04.4 daily ISOs (which have proposed enabled). -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : htt
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
** Changed in: ubiquity (Ubuntu Trusty) Milestone: ubuntu-14.04.3 => ubuntu-14.04.4 ** Changed in: ecryptfs-utils (Ubuntu Trusty) Milestone: None => ubuntu-14.04.4 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.l
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
** Changed in: ecryptfs-utils (Ubuntu) Milestone: ubuntu-15.04 => None ** Changed in: systemd (Ubuntu) Milestone: ubuntu-15.04 => None ** Changed in: ubiquity (Ubuntu) Milestone: ubuntu-15.04 => None -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-pack
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
@Albert: trusty tasks added for ecryptfs and ubiquity. I'll upload ecryptfs for trusty together with the fix for bug 1453738. ** Also affects: ubiquity (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: ecryptfs-utils (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: systemd (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: ecryptfs-utils (Ubuntu Trusty) Status: New => Triaged ** No longer affects: systemd (Ubuntu Trusty) ** Changed in: ubiquity (Ubuntu Trusty) Status: New => Triaged ** Changed in: ubiquity (Ubuntu Trusty) Importance: Undecided => High ** Changed in: ecryptfs-utils (Ubuntu Trusty) Importance: Undecided => High ** Changed in: ubiquity (Ubuntu Trusty) Milestone: None => ubuntu-14.04.3 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Trusty: Triaged Status in ubiquity source package in Trusty: Triaged Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Un
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
@Martin Pitt: This bug has not been fixed on 14.04 LTS, only on later editions. I do not know how to add trusty as affected, can you do that? We lost sight on trusty in this bug when it became apparent that vivid had an additional problem to fix, namely systemd. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
@Jochen: This bug is closed. If you are using LVM, then you are experiencing bug 1453738. Otherwise please file a new bug report. Thanks! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
This Bug still persists in 15.04 and I'm affected with this. Did the steps mentioned in the header. It helped but but cryptswap asks me for a password on startup. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
There was only a temporary glitch in yesterday's build. Cryptswap works again in today's daily build :-) The Lubuntu test-case with encrypted disk and encrypted home with cryptswap works again. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.l
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
Cryptswap works with only encrypted home with cryptswap. Is it by intention, that there is regular swap in a system with both encrypted disk and encrypted home? In that case I think it is better to keep it like it was long ago and also in Vivid when it started to work again. Think of the case of two or more users of the computer: information can leak via swap between the users, if it is standard swap. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bu
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
I'm testing Lubuntu Wily installed from the alternate 32-bit iso file, and see that there is a regression (or maybe a new bug). The test-case with encrypted disk and encrypted home with cryptswap does not work. There is swap which survives reboot, but no cryptswap. There are two entries in fstab, and the cryptswap entry cannot be activated with 'sudo swapon -a'. It complains that /dev/mapper/cryptswap1 does not exist. I will come back after testing how it works with only encrypted home with cryptswap. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probab
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
Can anybody mark this bug as affecting Trusty too? In Trusty, the offset in crypttab has not been fixed yet. In Vivid it has (along with a lot of systemd stuff, that Trusty does not require of course). -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
Some important points to add to my previous post: 1) This worked for me. However there is NO GUARANTEE that it will work for you, hence, point 2) 2) If you don't have a fresh installation, BACK UP YOUR DATA before any attempt at playing with your partitions. I have a couple of "scars" that show I'm damn right :-) 3) Be particularly careful when you edit /etc/crypttab . Change ONLY the cryptswap1 line. Leave the line starting sd[XY]_crypt alone Good luck! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications abou
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
I was in a situation similar to akwala's, post #13 (http://unix.stackexchange.com/questions/1367/how-to-test-swap- partition). In my case I use Mint 17 Rebecca (based on Trusty). In this case, both "encrypt home" and "encrypt the full partition" have been selected during installation. I believe that the need for an encrypted swap in this case is not that important if the system is to be used by a single user: the swap partition (in akwala's case, /dev/mapper/kubuntu--vg-swap_1) resides in an encrypted disk anyway. Of course, one could choose to reinstall and select only "encrypt the full partition" and not "encrypt home". In my particular case, I am interested in also encrypting home because I use rsync to back up my (encrypted) home dir (i.e., /home/.ecryptfs/my_username/.Private) to an untrusted machine. So, my fix consists in configuring my fresh Mint 17 installation to use /dev/mapper/mint--vg-swap_1 (which is encrypted) as a non-encrypted swap partition: * Format the swap partition: sudo mkswap /dev/mapper/mint--vg-swap_1 (for ubuntu, replace mint--vg-swap_1 by ubuntu--vg-swap_1, for other releases, run "sudo fdisk -l" and adapt the name accordingly) * Edit /etc/fstab: - comment out the line starting with: /dev/mapper/cryptswap1 - if not there, add a line for mounting mint--vg-swap_1 as a regular swap partition: /dev/mapper/mint--vg-swap_1 none swap sw 0 0 (if needed, replace mint--vg-swap_1 as described above) * Edit /etc/crypttab and comment out the line starting with: cryptswap1 * Reboot * After reboot verify that the swap was mounted: $ swapon -s FilenameTypeSizeUsedPriority /dev/mapper/mint--vg-swap_1 partition 4075516 0 -1 $ free total used free sharedbuffers cached Mem: 400015612665202733636 15452 25604 524712 -/+ buffers/cache: 7162043283952 Swap: 4075516 04075516 $ sudo swapoff /dev/mapper/mint--vg-swap_1 (no errors) $ sudo swapon -a (no errors) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 by
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
It is different I think, the bug to which we are replying at the moment pre-dates systemd in Ubuntu. Systemd was just an additional problem which appeared while fixing this bug. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListH
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
As far as I can tell, lp:1447282 is a different bug, but it would be helpful to have input from the other ecryptfs users who are following this bug: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1447282 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
So my multi-cycle-upgraded-currently-vivid machine had a cryptswap entry with an old device name instead of the UUID. As per earlier comment in this bug, I just changed the device name to the now-current one rather than mess around with UUIDs and it works fine. Probably *should* use a UUID, but this was a quick and easy fix. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packa
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
ISO testing result for Lubuntu Vivid http://iso.qa.ubuntu.com/qatracker/milestones/338/builds/92211/testcases/1439/results step 1 OK: cryptswap works when rebooting after installation. step 2 OK: no long delay when rebooting again. step 3 OK: cryptswap works when rebooting again. I provoked using swap, and it seems to work correctly. step 4 OK: cryptswap works when rebooting again. I provoked using swap, and it seems to work correctly. Encrypted home with cryptswap works again. Thank you Martin Pitt :-) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (pr
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
** Changed in: systemd Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 953875]
OK, if this is not a bytes value, parse_size() is probably not a good idea. (that said, I think it's a pretty poor choice to expose this as 512byte block value...) Anyway, looks good. Please push! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help
[Touch-packages] [Bug 953875]
http://cgit.freedesktop.org/systemd/systemd/commit/?id=4eac277367 Thanks for the review and suggestions! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 953875]
Also, please add the initialization of .offset and .skip into the declaration of the params variable, as initializer. i.e.: struct crypt_params_plain params = { .offset = arg_offset, .skip = arg_skip, }; Also, please document the new switches in crypttab(5). -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net
[Touch-packages] [Bug 953875]
Created attachment 115162 cryptsetup: Implement offset and skip options parse_size() is not appropriate here, as the offset=/skip= argument is a plain natural number, and the unit is always "512 byte blocks". So allowing things like "3.3K" there would be confusing, wrong, imprecise, and incompatible with the cryptsetup project. I added documentation, the initializer, and also incorporated warning that Zbigniew suggested on the ML. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://
[Touch-packages] [Bug 953875]
(In reply to Lennart Poettering from comment #6) > Hmm, please use parse_bytes() for parsing byte values. Sorry, I meant parse_size() of course. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 953875]
Hmm, please use parse_bytes() for parsing byte values. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 953875]
Created attachment 115126 cryptsetup: Implement offset and skip options Indeed! Fixed both. I tested with "offset=x8" and it now correctly aborts and doesn't touch the device. offset=1024 and no offset still continue to work. Thanks for the review! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://lau
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
** Changed in: systemd (Debian) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Confirmed Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
This bug was fixed in the package systemd - 219-7ubuntu2 --- systemd (219-7ubuntu2) vivid; urgency=medium * cryptsetup: Implement offset and skip options. (Closes: #751707, LP: #953875) -- Martin PittThu, 16 Apr 2015 14:59:39 -0500 ** Changed in: systemd (Ubuntu Vivid) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Confirmed Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Released Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Confirmed Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
Launchpad has imported 5 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=87717. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2014-12-25T20:58:35+00:00 Vecu-bosseur wrote: Dear Developpers, My /etc/crypttab contains: cryptswap1 UUID=c836dd13-1b4e-4bfb-9be5-6e5d972aa75a /dev/urandom swap,offset=2048,cipher=aes-cbc-essiv:sha256 And my /etc/fstab contains: /dev/mapper/cryptswap1 none swap sw 0 0 And this worked fine with cryptdisks_start however the option "offset" is not understood by systemd 215. I did change init system from sysvinit to systemd, and now, after 2 reboots, I don't have any swap and my device that had UUID c836dd13-1b4e-4bfb-9be5-6e5d972aa75a has seen its start erased, and thus its UUID itself, as if I had not mentioned an offset=>>0 in crypttab. The use case for "offset=2048" is to be able to use a UUID to identify the partition I want to have encrypted swap on. Not using an offset=>>0 parameter would unconditionally erase the whole partition, including the portion where its UUID is stored. Using any other way to identify a partition can thus cause data loss if I reparttion my disk and forget to update /etc/crypttab. Please make systemd understand the "offset=" paramater of /etc/crypttab. Has this problem been addressed in a subsequent systemd version? Note: related to debian bug #751707 ( https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751707 ) Thanks, Vecu Bosseur Reply at: https://bugs.launchpad.net/ubuntu/+source/ecryptfs- utils/+bug/953875/comments/29 On 2014-12-26T01:37:53+00:00 zbyszek wrote: It's a long-standing well-known limitation: /* Options Debian's crypttab knows we don't: offset= skip= precheck= check= checkargs= noearly= loud= keyscript= */ Some of those will probably never be implemented (noearly, keyscript, loud, ...), but offset certainly should. Reply at: https://bugs.launchpad.net/ubuntu/+source/ecryptfs- utils/+bug/953875/comments/30 On 2015-04-16T11:53:47+00:00 Martin Pitt wrote: Created attachment 115118 cryptsetup: Implement offset and skip options Simple patch. Reply at: https://bugs.launchpad.net/ubuntu/+source/ecryptfs- utils/+bug/953875/comments/74 On 2015-04-16T11:54:21+00:00 Martin Pitt wrote: Created attachment 115119 reproducer/test script This is the reproducer and test script which I used. Reply at: https://bugs.launchpad.net/ubuntu/+source/ecryptfs- utils/+bug/953875/comments/75 On 2015-04-16T11:57:12+00:00 zbyszek wrote: I think a failure to parse those parameters should be fatal. It's just to dangerous to continue. Also "meatadata" in description :) Reply at: https://bugs.launchpad.net/ubuntu/+source/ecryptfs- utils/+bug/953875/comments/76 ** Changed in: systemd Status: Unknown => Confirmed ** Changed in: systemd Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Confirmed Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Committed Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Committed Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Confirmed Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with t
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
** Changed in: systemd (Debian) Status: Unknown => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Unknown Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Committed Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Committed Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Confirmed Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
systemd fix sent upstream and committed to Debian experimental branch. ** Changed in: systemd (Ubuntu Vivid) Milestone: None => ubuntu-15.04 ** Changed in: systemd (Ubuntu Vivid) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Unknown Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Committed Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: Fix Committed Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Unknown Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages Mor
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
** Bug watch added: Debian Bug tracker #751707 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751707 ** Also affects: systemd (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751707 Importance: Unknown Status: Unknown ** Bug watch added: freedesktop.org Bugzilla #87717 https://bugs.freedesktop.org/show_bug.cgi?id=87717 ** Also affects: systemd via https://bugs.freedesktop.org/show_bug.cgi?id=87717 Importance: Unknown Status: Unknown ** Changed in: systemd (Ubuntu Vivid) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in systemd: Unknown Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: In Progress Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: In Progress Status in ubiquity source package in Vivid: Fix Released Status in systemd package in Debian: Unknown Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeS
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
This shell script quickly reproduces the issue on a temporary scsi_debug disk. That's useful for a first round of verification and putting into an autopkgtest. ** Changed in: systemd (Ubuntu Vivid) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: In Progress Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: In Progress Status in ubiquity source package in Vivid: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
** Tags removed: rls-v-incoming -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: New Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: New Status in ubiquity source package in Vivid: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 953875] Re: Encrypted swap no longer mounted at bootup
This definitively did work a few weeks ago when I tested this. I have a gut feeling the offset= bit isn't respected by the systemd integration of cryptsetup, so adding a systemd task for the time being. ** Also affects: systemd (Ubuntu) Importance: Undecided Status: New ** Changed in: systemd (Ubuntu Vivid) Assignee: (unassigned) => Martin Pitt (pitti) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/953875 Title: Encrypted swap no longer mounted at bootup Status in eCryptfs: Fix Released Status in ecryptfs-utils package in Ubuntu: Fix Released Status in systemd package in Ubuntu: New Status in ubiquity package in Ubuntu: Fix Released Status in ecryptfs-utils source package in Vivid: Fix Released Status in systemd source package in Vivid: New Status in ubiquity source package in Vivid: Fix Released Bug description: SUMMARY === During installation with "encrypt my home folder" mode, a broken /etc/crypttab gets created which defines a non-existing swap device (usually "cryptswap1") with a UUID. This will also be put into /etc/fstab. As after installation the UUID does not exist, such systems don't have any actual swap. UPGRADE FIX === An upgrade to Ubuntu 15.04 ("vivid") will detect and comment out these broken swap devices from /etc/fstab and /etc/crypttab. If you actually want to use those, do these steps: - Find the swap device that was meant to be used in "sudo fdisk -l" (it should say "Linux swap" in the last column), remember the device name (something like "/dev/sda5") - Find the UUID in /etc/crypttab (the long alphanumeric ID after UUID=) - Run "sudo mkswap -U 1234... /dev/sda5", replacing "1234" with the above UUID, and /dev/sda5 with the device name from step 1. - Edit /etc/crypttab to append ",offset=1024" in the fourth (last) column of the cryptswap1 line; ensure that there is *no space* between the "cipher=aes-cbc-essiv:sha256" and the appended option. If there is a leading "#" in the file, remove that too. - If there is a leading "#" in /etc/fstab in the line starting with /dev/mapper/cryptswap1 line, remove that. - Run "sudo update-initramfs -u". ORIGINAL REPORT === Clean install of 12.04 and with encrypted home for my user. Did all updates and now the bootup hangs waiting for swap to become available and it never seems to ever finish. The 200GB SSD below is my boot drive and root filesystem. alan@mesh:~$ sudo swapon -a [sudo] password for alan: swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory alan@mesh:~$ grep swap /etc/fstab # swap was on /dev/sdg5 during installation #UUID=22d3f7f0-f715-4582-81ba-dcbd4cdd1495 noneswapsw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 alan@mesh:~$ sudo fdisk -l Disk /dev/sda: 115.0 GB, 115033153536 bytes 255 heads, 63 sectors/track, 13985 cylinders, total 224674128 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 Disk identifier: 0x000ba2ed Device Boot Start End Blocks Id System /dev/sda1 *2048 206847 1024007 HPFS/NTFS/exFAT /dev/sda2 206848 224671743 1122324487 HPFS/NTFS/exFAT Disk /dev/sdb: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 Disk identifier: 0xf0fa0806 Device Boot Start End Blocks Id System /dev/sdb12048 349304831 1746513927 HPFS/NTFS/exFAT /dev/sdb2 374722558 390721535 79994895 Extended /dev/sdb3 * 349304832 37472051112707840 83 Linux /dev/sdb5 374722560 390721535 7999488 82 Linux swap / Solaris Partition table entries are not in disk order ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libecryptfs0 96-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Tue Mar 13 09:56:56 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120215) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/953875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscr