Spurious "failed to setup lvm device" warning

Bug #318074 reported by Nikolaus Rath
2
Affects Status Importance Assigned to Milestone
cryptsetup (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: cryptsetup

I am using Ubuntu Hardy. My system has one LUKS encrypted volume, /dev/sda4.
This volume is opened using cryptsetup as /dev/mapper/luks_pv0 and is the only
physical volume in the LVM volume group vg0, which contains logical volumes
/dev/mapper/vg0-{swap,home,root}.

According to https://help.ubuntu.com/community/EncryptedFilesystemLVMHowto, I have
used the lvm= option in /etc/crypttab (unfortunately I did not find this option documented
anywhere else):

# cat /etc/crypttab
# <target name> <source device> <key file> <options>
luks_pv0 /dev/sda4 none luks,lvm=vg0

Moreover I have configured:

# cat /etc/initramfs-tools/conf.d/resume
RESUME=/dev/mapper/vg0-swap

# cat /etc/uswsusp.conf | grep dev
resume device = /dev/mapper/vg0-swap

# cat /etc/fstab | grep swap
/dev/mapper/vg0-swap none swap sw 0 0

The system is booting up fine, but after entering the password cryptsetup always
prints the spurious warning message "Failed to setup lvm device".

Nikolaus Rath (nikratio)
description: updated
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.