[lucid] plymouth in initramfs doesn't know to chroot() when init does, can't load files from disk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cryptsetup (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
plymouth (Ubuntu) |
Fix Released
|
Medium
|
Steve Langasek |
Bug Description
Binary package hint: plymouth
I'm pretty sure I already reported that issue though probably in some other bug reports I filed during the few issues I had with Plymouth and mountall.
So here's a new one focusing on that single encryption issue, that should make tracking easier:
My laptop is currently running up to date lucid with the following partitioning:
- /dev/sda1 => / (ext4)
- /dev/sda2 => Volume for encryption
- LVM
- VG
- LV home: /home (ext4)
The reason I'm using LVM is because I like to be able to create additional partitions if needed (even though I have only a single one at the moment) and I have / outside of the encrypted volume for boot performance (that's on a SSD and I like fast booting).
When booting, I correctly get Plymouth to start and see the splash just well but it gets stuck there and doesn't get to gdm.
Pressing ESC, I get out of the splash and can see that cryptsetup is trying to unlock /dev/sda2 but never prompts me for the passphrase. As a result, the laptop simply can't boot.
Commenting my /home partition in the fstab makes the boot work perfectly though I then have to manually unlock the partition and mount the LV by hand.
Expected result would be to have cryptsetup ask plymouth to prompt me for the passphrase, so it can correctly unlock the encrypted volume.
My current guess is that the most tested use case for cryptsetup is where you have your root partition on the encrypted volume and so the unlocking has to happens in the initrd, in my case, the unlocking process happens during the boot, after the root partition is mounted.
Related branches
description: | updated |
Changed in plymouth (Ubuntu): | |
importance: | Undecided → High |
To answer Steve's question on #504052, here's the version of cryptsetup, mountall and plymouth I'm running:
stgraber@ castiana: ~$ dpkg -l | grep -E "cryptsetup| mountall| plymouth" rc2-1ubuntu9 configures encrypted block devices
ii cryptsetup 2:1.1.0~
ii libplymouth2 0.8.0~-7 graphical boot animation and logger - shared
ii mountall 2.4 filesystem mounting tool
ii plymouth 0.8.0~-7 graphical boot animation and logger - main p