1017_cryptsetup_blkid_test.patch results in failure with LVM2 within LUKS

Bug #148724 reported by Zed Lopez
2
Affects Status Importance Assigned to Milestone
yaird (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: yaird

I created a LUKS partition, /dev/mapper/cryptdisk,
used LVM2 to create a physical volume, volume group, and logical volume within it, intending it to be an encrypted root partition. I used yaird to create a boot image, and wrote it to /boot along with an appropriate GRUB entry. (I'm skimming a complex procedure, but it's the same things that worked in feisty.)

On booting, the yaird image correctly reports loading my keyboard settings, and prompts for the LUKS passphrase. On entry, it says:

"Unable to identify the filesystem on volume cryptdisk.
Reenter, Ignore, Shell?"

Looking at the source, I see that 1017_cryptsetup_blkid_test.patch modifies the cryptosetup and cryptosetup_luks templates to run /sbin/blkid on the encrypted device. If blkid's output is the empty string, it concludes the luksOpen (in the LUKS case) failed.

I haven't tested yet whether this is an effect of the LVM2 partition inside the LUKS, but on my working setup in feisty, blkid's output for /dev/mapper/cryptdisk _is_ null. There's output for the logical volume device under /dev/mapper, there's output for /dev/mapper/cryptoswap, which has its own entry in /etc/crypttab, but none for cryptdisk.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 RC or later?

Changed in yaird:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in yaird:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.