Karmic boot doesn't wait for encrypted disc passphrase
Bug #468885 reported by
Tony Green
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cryptsetup (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
After installing Karmic today and rebooting, I didn't get the opportunity to enter the passphrase for my LUKS encrypted home partition. This meant that not only didn't I have a usable home partition but also (because they're in /etc/crypttab after the home partition) I didn't have a /tmp filesystem or any swap. It also messes up my NFS mounts, as some of them are mounted in my home directory.
This seems to be a serious design fault in upstart (or at least the way it's working with encrypted filesystems) and rendered by computer unusable.
Unfortunately I won't be able to provide any extra diagnostics, as this has forced me to restore my system from backups.
affects: | ubuntu → upstart (Ubuntu) |
affects: | upstart (Ubuntu) → cryptsetup (Ubuntu) |
To post a comment you must log in.
I have a similar issue, although I am mounting my encrypted home drive via pam_mount, so those seem ok. However I have an encrypted tmp and swap configured using crypttab.
# <target name> <source device> <key file> <options> aes-cbc- essiv:sha256, size=256, hash=256, swap
cryptohome /dev/md0 none noauto,luks
cryptoswap /dev/sdd2 /dev/urandom cipher=
cryptotmp /dev/sdd3 /dev/urandom tmp
I get a couple warnings about /dev/mapper/ cryptotab not being ready during the boot. Once gdm comes up I can't log in, I get kicked back to the gdm window. I can log in via a virtual terminal. From there I can see that /tmp is not mounted. If I manually mount it (/dev/mapper/ cryptotmp is ready by then), then everything seems to work fine.
cryptoswap seems to be mounted ok.