2012-03-13 10:01:16 |
Alan Pope 🍺🐧🐱 🦄 |
bug |
|
|
added bug |
2012-03-13 10:07:35 |
Launchpad Janitor |
ecryptfs-utils (Ubuntu): status |
New |
Confirmed |
|
2012-03-21 09:03:16 |
Swâmi Petaramesh |
bug |
|
|
added subscriber Swâmi Petaramesh |
2012-07-30 14:42:55 |
atom |
bug |
|
|
added subscriber atom |
2012-08-14 14:31:46 |
progre55 |
bug |
|
|
added subscriber progre55 |
2013-05-08 18:56:46 |
Dustin Kirkland |
ecryptfs-utils (Ubuntu): importance |
Undecided |
High |
|
2013-05-08 18:56:50 |
Dustin Kirkland |
ecryptfs-utils (Ubuntu): status |
Confirmed |
Incomplete |
|
2013-07-08 04:17:29 |
Launchpad Janitor |
ecryptfs-utils (Ubuntu): status |
Incomplete |
Expired |
|
2013-09-11 17:49:08 |
Dustin Kirkland |
ecryptfs-utils (Ubuntu): status |
Expired |
Confirmed |
|
2013-09-11 17:56:43 |
atom |
removed subscriber atom |
|
|
|
2013-09-11 20:09:56 |
Sean Watson |
bug |
|
|
added subscriber Sean Watson |
2013-09-19 20:45:53 |
Dustin Kirkland |
ecryptfs-utils (Ubuntu): status |
Confirmed |
Triaged |
|
2013-10-08 18:41:48 |
NoOp |
bug |
|
|
added subscriber NoOp |
2013-10-10 01:20:14 |
Nobuto Murata |
bug |
|
|
added subscriber Nobuto MURATA |
2013-10-12 16:27:14 |
danfo |
bug task added |
|
ecryptfs |
|
2014-04-11 18:30:57 |
Kip Warner |
bug |
|
|
added subscriber Kip Warner |
2014-04-25 01:13:12 |
aslam karachiwala |
bug |
|
|
added subscriber aslam karachiwala |
2014-05-04 07:44:09 |
José Lou Chang |
bug |
|
|
added subscriber Linux Lover |
2014-05-17 16:38:38 |
Cruiz |
bug |
|
|
added subscriber Gerrit Kruse |
2014-06-01 17:00:07 |
aslam karachiwala |
removed subscriber aslam karachiwala |
|
|
|
2014-06-07 16:59:50 |
aurhe |
bug |
|
|
added subscriber aurhe |
2014-06-21 21:11:58 |
JackT |
bug |
|
|
added subscriber JackT |
2014-06-21 21:36:17 |
Sean Watson |
removed subscriber Sean Watson |
|
|
|
2014-07-10 11:18:54 |
Laurent Bonnaud |
bug |
|
|
added subscriber Laurent Bonnaud |
2014-07-26 14:37:03 |
ibere fernandes |
bug |
|
|
added subscriber ibere fernandes |
2014-08-16 14:13:55 |
dino99 |
tags |
amd64 apport-bug precise |
amd64 apport-bug precise utopic |
|
2014-09-26 21:25:18 |
Jarno Suni |
bug |
|
|
added subscriber Jarno Suni |
2014-10-08 21:54:34 |
Bruno Nova |
bug |
|
|
added subscriber Bruno Nova |
2014-10-09 09:52:58 |
Bruno Nova |
tags |
amd64 apport-bug precise utopic |
amd64 apport-bug precise trusty utopic |
|
2014-10-21 13:53:30 |
ErikMaes |
bug |
|
|
added subscriber ErikMaes |
2014-11-01 16:11:00 |
> "Wetware Random Number Generator" |
bug |
|
|
added subscriber Wetware Random Number Generator |
2015-02-07 20:26:04 |
Jaime Liz |
bug |
|
|
added subscriber Jaime Liz |
2015-02-07 20:26:13 |
Jaime Liz |
removed subscriber Jaime Liz |
|
|
|
2015-02-10 20:30:44 |
John Hupp |
bug |
|
|
added subscriber John Hupp |
2015-03-04 19:26:40 |
sudodus |
bug |
|
|
added subscriber sudodus |
2015-03-04 21:05:06 |
Ubuntu QA Website |
tags |
amd64 apport-bug precise trusty utopic |
amd64 apport-bug iso-testing precise trusty utopic |
|
2015-03-04 21:27:56 |
progre55 |
removed subscriber progre55 |
|
|
|
2015-03-05 20:12:59 |
Lars Noodén |
branch linked |
|
lp:~larsnooden/ubuntu-manual-tests/trunk |
|
2015-03-05 20:13:28 |
Lars Noodén |
branch unlinked |
lp:~larsnooden/ubuntu-manual-tests/trunk |
|
|
2015-03-09 16:17:25 |
Martin Pitt |
ecryptfs-utils (Ubuntu): milestone |
|
ubuntu-15.03 |
|
2015-03-09 16:26:25 |
Martin Pitt |
ecryptfs-utils (Ubuntu): assignee |
|
Martin Pitt (pitti) |
|
2015-03-09 16:26:43 |
Martin Pitt |
nominated for series |
|
Ubuntu Vivid |
|
2015-03-09 16:26:43 |
Martin Pitt |
bug task added |
|
ecryptfs-utils (Ubuntu Vivid) |
|
2015-03-09 17:00:08 |
Martin Pitt |
attachment added |
|
script to disable broken crypttab devices https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/953875/+attachment/4339023/+files/fix-invalid-cryptswap.sh |
|
2015-03-09 17:07:30 |
Martin Pitt |
description |
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 none swap sw 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 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 224671743 112232448 7 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/sdb1 2048 349304831 174651392 7 HPFS/NTFS/exFAT
/dev/sdb2 374722558 390721535 7999489 5 Extended
/dev/sdb3 * 349304832 374720511 12707840 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) |
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 none swap sw 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 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 224671743 112232448 7 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/sdb1 2048 349304831 174651392 7 HPFS/NTFS/exFAT
/dev/sdb2 374722558 390721535 7999489 5 Extended
/dev/sdb3 * 349304832 374720511 12707840 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) |
|
2015-03-09 17:13:35 |
Martin Pitt |
ecryptfs-utils (Ubuntu Vivid): status |
Triaged |
In Progress |
|
2015-03-11 15:14:18 |
Dustin Kirkland |
ecryptfs: status |
New |
In Progress |
|
2015-03-11 15:14:21 |
Dustin Kirkland |
ecryptfs: importance |
Undecided |
High |
|
2015-03-11 15:14:24 |
Dustin Kirkland |
ecryptfs: assignee |
|
Dustin Kirkland (kirkland) |
|
2015-03-11 15:34:36 |
Launchpad Janitor |
branch linked |
|
lp:ecryptfs |
|
2015-03-11 15:49:34 |
Dustin Kirkland |
ecryptfs: status |
In Progress |
Fix Released |
|
2015-03-11 15:49:38 |
Dustin Kirkland |
ecryptfs-utils (Ubuntu Vivid): status |
In Progress |
Fix Committed |
|
2015-03-11 16:04:27 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-branches/ubuntu/vivid/ecryptfs-utils/vivid-proposed |
|
2015-03-12 00:50:22 |
Launchpad Janitor |
ecryptfs-utils (Ubuntu Vivid): status |
Fix Committed |
Fix Released |
|
2015-03-12 01:21:00 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/ecryptfs-utils |
|
2015-03-12 18:06:57 |
sudodus |
attachment added |
|
dialogue.txt https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/953875/+attachment/4343180/+files/dialogue.txt |
|
2015-03-15 16:06:49 |
Bashar |
bug |
|
|
added subscriber Bashar |
2015-03-31 11:28:26 |
Martin Pitt |
ecryptfs-utils (Ubuntu Vivid): status |
Fix Released |
Confirmed |
|
2015-03-31 11:29:00 |
Martin Pitt |
ecryptfs-utils (Ubuntu Vivid): milestone |
ubuntu-15.03 |
ubuntu-15.04 |
|
2015-04-08 10:36:09 |
Pär Eriksson |
bug |
|
|
added subscriber Pär Eriksson |
2015-04-13 15:15:45 |
Martin Wimpress |
tags |
amd64 apport-bug iso-testing precise trusty utopic |
amd64 apport-bug iso-testing precise rls-v-incoming trusty utopic vivid |
|
2015-04-13 23:08:47 |
Martin Pitt |
bug task added |
|
ubiquity (Ubuntu) |
|
2015-04-13 23:08:58 |
Martin Pitt |
ubiquity (Ubuntu Vivid): status |
New |
In Progress |
|
2015-04-13 23:09:01 |
Martin Pitt |
ubiquity (Ubuntu Vivid): importance |
Undecided |
High |
|
2015-04-13 23:09:03 |
Martin Pitt |
ubiquity (Ubuntu Vivid): assignee |
|
Martin Pitt (pitti) |
|
2015-04-13 23:09:05 |
Martin Pitt |
ubiquity (Ubuntu Vivid): milestone |
|
ubuntu-15.04 |
|
2015-04-13 23:10:00 |
Martin Pitt |
ecryptfs-utils (Ubuntu Vivid): status |
Confirmed |
Fix Released |
|
2015-04-14 15:41:04 |
Martin Pitt |
ubiquity (Ubuntu Vivid): status |
In Progress |
Fix Committed |
|
2015-04-14 15:41:04 |
Martin Pitt |
ubiquity (Ubuntu Vivid): assignee |
Martin Pitt (pitti) |
|
|
2015-04-14 15:42:30 |
Launchpad Janitor |
branch linked |
|
lp:ubiquity |
|
2015-04-14 20:07:06 |
Launchpad Janitor |
ubiquity (Ubuntu Vivid): status |
Fix Committed |
Fix Released |
|
2015-04-14 20:54:55 |
Martin Pitt |
bug task added |
|
systemd (Ubuntu) |
|
2015-04-14 20:55:03 |
Martin Pitt |
systemd (Ubuntu Vivid): assignee |
|
Martin Pitt (pitti) |
|
2015-04-15 18:36:17 |
Brian Murray |
tags |
amd64 apport-bug iso-testing precise rls-v-incoming trusty utopic vivid |
amd64 apport-bug iso-testing precise trusty utopic vivid |
|
2015-04-16 03:00:00 |
Martin Pitt |
systemd (Ubuntu Vivid): status |
New |
In Progress |
|
2015-04-16 11:55:34 |
Martin Pitt |
bug watch added |
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751707 |
|
2015-04-16 11:55:34 |
Martin Pitt |
bug task added |
|
systemd (Debian) |
|
2015-04-16 11:56:20 |
Martin Pitt |
bug watch added |
|
https://bugs.freedesktop.org/show_bug.cgi?id=87717 |
|
2015-04-16 11:56:20 |
Martin Pitt |
bug task added |
|
systemd |
|
2015-04-16 11:56:35 |
Martin Pitt |
systemd (Ubuntu Vivid): importance |
Undecided |
High |
|
2015-04-16 12:22:33 |
Martin Pitt |
systemd (Ubuntu Vivid): milestone |
|
ubuntu-15.04 |
|
2015-04-16 12:24:20 |
Martin Pitt |
systemd (Ubuntu Vivid): status |
In Progress |
Fix Committed |
|
2015-04-16 12:45:21 |
Bug Watch Updater |
systemd (Debian): status |
Unknown |
Confirmed |
|
2015-04-16 12:55:56 |
Bug Watch Updater |
systemd: status |
Unknown |
Confirmed |
|
2015-04-16 12:55:56 |
Bug Watch Updater |
systemd: importance |
Unknown |
Medium |
|
2015-04-17 00:40:41 |
Launchpad Janitor |
systemd (Ubuntu Vivid): status |
Fix Committed |
Fix Released |
|
2015-04-17 01:20:26 |
Kip Warner |
removed subscriber Kip Warner |
|
|
|
2015-04-18 13:53:44 |
Bug Watch Updater |
systemd (Debian): status |
Confirmed |
Fix Released |
|
2015-04-18 18:03:51 |
Bug Watch Updater |
systemd: status |
Confirmed |
Fix Released |
|
2015-05-02 00:14:52 |
Simon Andric |
bug |
|
|
added subscriber Simon Andric |
2015-05-10 23:47:37 |
Sergio Mena |
bug |
|
|
added subscriber Sergio Mena |
2015-05-17 19:19:14 |
Xavier Guillot |
bug |
|
|
added subscriber Xavier Guillot |
2015-06-14 14:45:23 |
George |
bug |
|
|
added subscriber George |
2015-06-26 16:21:55 |
Launchpad Janitor |
branch linked |
|
lp:debian/ecryptfs-utils |
|
2015-07-09 08:44:27 |
Martin Pitt |
nominated for series |
|
Ubuntu Trusty |
|
2015-07-09 08:44:27 |
Martin Pitt |
bug task added |
|
ubiquity (Ubuntu Trusty) |
|
2015-07-09 08:44:27 |
Martin Pitt |
bug task added |
|
ecryptfs-utils (Ubuntu Trusty) |
|
2015-07-09 08:44:27 |
Martin Pitt |
bug task added |
|
systemd (Ubuntu Trusty) |
|
2015-07-09 08:44:36 |
Martin Pitt |
ecryptfs-utils (Ubuntu Trusty): status |
New |
Triaged |
|
2015-07-09 08:44:46 |
Martin Pitt |
bug task deleted |
systemd (Ubuntu Trusty) |
|
|
2015-07-09 08:45:31 |
Martin Pitt |
ubiquity (Ubuntu Trusty): status |
New |
Triaged |
|
2015-07-09 08:45:41 |
Martin Pitt |
ubiquity (Ubuntu Trusty): importance |
Undecided |
High |
|
2015-07-09 08:46:30 |
Martin Pitt |
ecryptfs-utils (Ubuntu Trusty): importance |
Undecided |
High |
|
2015-07-09 08:47:03 |
Martin Pitt |
ubiquity (Ubuntu Trusty): milestone |
|
ubuntu-14.04.3 |
|
2015-08-29 11:09:02 |
grosso |
bug |
|
|
added subscriber grosso |
2015-10-08 08:15:12 |
Mathew Hodson |
ecryptfs-utils (Ubuntu): milestone |
ubuntu-15.04 |
|
|
2015-10-08 08:15:33 |
Mathew Hodson |
systemd (Ubuntu): milestone |
ubuntu-15.04 |
|
|
2015-10-08 08:15:50 |
Mathew Hodson |
ubiquity (Ubuntu): milestone |
ubuntu-15.04 |
|
|
2015-11-12 07:41:37 |
Mathew Hodson |
ubiquity (Ubuntu Trusty): milestone |
ubuntu-14.04.3 |
ubuntu-14.04.4 |
|
2015-11-12 07:42:56 |
Mathew Hodson |
ecryptfs-utils (Ubuntu Trusty): milestone |
|
ubuntu-14.04.4 |
|
2016-01-17 17:11:56 |
Oliver Sauder |
bug |
|
|
added subscriber Oliver Sauder |
2016-02-04 20:56:46 |
Jason Gerard DeRose |
bug |
|
|
added subscriber Jason Gerard DeRose |
2016-03-12 01:43:41 |
CrazySky |
bug |
|
|
added subscriber CrazySky |
2016-04-28 04:55:38 |
Pär Eriksson |
removed subscriber Pär Eriksson |
|
|
|
2016-05-05 19:39:26 |
Bruno Nova |
removed subscriber Bruno Nova |
|
|
|
2016-05-31 19:34:33 |
Reuben Lifshay |
bug |
|
|
added subscriber Reuben Lifshay |
2016-06-17 08:34:35 |
D |
bug |
|
|
added subscriber D |
2016-08-14 12:18:59 |
JackT |
removed subscriber JackT |
|
|
|
2016-08-14 12:21:16 |
Robeen |
tags |
amd64 apport-bug iso-testing precise trusty utopic vivid |
amd64 apport-bug iso-testing mate precise trusty utopic vivid xenial |
|
2017-03-20 12:37:38 |
Laurent Bonnaud |
removed subscriber Laurent Bonnaud |
|
|
|
2019-06-10 16:16:55 |
aurhe |
removed subscriber aurhe |
|
|
|
2019-06-10 19:09:33 |
atsjiedel |
bug |
|
|
added subscriber atsjiedel |
2021-08-01 08:48:10 |
Norbert |
tags |
amd64 apport-bug iso-testing mate precise trusty utopic vivid xenial |
amd64 apport-bug iso-testing xenial |
|