text plugin: mountall status clobbers passphrase prompt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mountall (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
plymouth (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hello.
I have two machines with crypted /home (one machine, this is directly on a partition) and the other with crypted /home (on md) and / (using alternate install method in 8.04 or 8.10). I have since upgraded these to 9.10 and 10.04 respectively, and the 10.04 machines was running 9.10 at one point. Both of them worked perfectly in 9.04 in respect to the passphrase was asked correctly and the boot procedure worked properly.
On all these machines, the entering of passphrase at boot works very badly. Booting without "quiet" and "splash" yields the possibility to enter it blindly in the boot process, because the request for passphrase doesn't seem to be in the right place in the bootup process (at least for crypted /home). With the machine with just crypted /home, I have to type it multiple times (blindly) and after a few attempts it works. Sometimes I have to drop to shell to do it manually and then resuming the boot process.
With the 10.04 machine I also had the problem that when running with splash and quiet, if the md the crypted volume resided on didn't come up correctly, this wasn't even detected at all and the boot process would just wait endlessly without asking to drop to rescue mode.
My crypted volumes are properly entered in /etc/crypttab:
sdb1_crypt /dev/disk/
md0_crypt /dev/md0 none luks
My guess is that crypted volumes (either directly on partitions or on md) isn't part of the verification process for releases? I can supply more information if needed, but I think it'll be pretty easy to reproduce, just create a partition on the system, "cryptsetup luksFormat" it, enter it in /etc/crypttab, start it manually, create an fs on the /dev/mapper/
I can provide more information as needed, I can create a video as well if needed.
affects: | ubuntu → cryptsetup (Ubuntu) |
summary: |
- mountall status clobbers passphrase prompt with plymouth text plugin + [text plugin] mountall status clobbers passphrase prompt |
summary: |
- [text plugin] mountall status clobbers passphrase prompt + text plugin: mountall status clobbers passphrase prompt |
Basically this is done according to the following guide:
https:/ /help.ubuntu. com/community/ EncryptedFilesy stemHowto3
Here's how to reproduce (even though this reproduction is actually worse than what I've seen before, now I'm afraid of rebooting my karmic box because it won't come up again):
Installed karmic alpha 2, and then dist-upgraded everything.
apt-get install mdadm md0_crypt
apt-get install cryptsetup
mdadm --create --level=1 --raid-devices=2 /dev/md0 /dev/sdb1 missing
cryptsetup luksFormat /dev/md0
cryptsetup luksOpen /dev/md0 md0_crypt
mkfs.ext3 /dev/mapper/
mkdir /t
/etc/crypttab:
# <target name> <source device> <key file> <options>
md0_crypt /dev/md0 none luks
# /etc/fstab: add this md0_crypt /t ext3 defaults 0 2
/dev/mapper/
/etc/mdadm/ mdadm.conf add this (change uuid): 18cb2297: 8282d032: d2636449
ARRAY /dev/md0 level=raid1 num-device=2 UUID=c0357b84:
That results in it just waiting for the volume, doesn't ask for the crypt password. Then if you press esc, it drops to regular console and you're allowed to enter the passphrase (cosmetically broken, but seems to work to enter the passphrase).
Then after the crypted volume has been opened, nothing more happens. Won't even go to rescue mode if that's chosen.
Will attach PNGs from the boot process.