Bug#659647: initramfs-tools/hooks/cryptroot get_lvm_deps can't cope with vg name containing -

2012-02-13 Thread John Hughes

On 12/02/12 21:27, Ben Hutchings wrote:

On Sun, 2012-02-12 at 20:57 +0100, John Hughes wrote:

Package: initramfs-tools
Version: 0.99
Severity: normal

Dear Maintainer,

* What led up to the situation?

I made a volume group called coal-vg holding a root volume called root.

(i.e. /dev/mapper/root--vg-root)

* What was the outcome of this action?

update-initramfs gave the error:

cryptsetup: WARNING: failed to find deps for /dev/mapper/root--vg-root

[...]

Surely this should be coal--vg-root?

Yes, cut'n'paste by eye error.


Anyway, if the cryptsetup hook is broken then that's a bug in, er,
cryptsetup.

Yup. You're right - dpkg -S confirms it.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#659647: [pkg-cryptsetup-devel] Bug#659647: initramfs-tools/hooks/cryptroot get_lvm_deps can't cope with vg name containing -

2012-02-13 Thread John Hughes

On 13/02/12 18:48, Jonas Meurer wrote:


this bug should be fixed with the upload of cryptsetup 2:1.4.1-2. Can
you verify that?


I'll see what I can do - I'd like to try and avoid reinstalling my nice 
new laptop once again!


I may be able to duplicate the problem in a VM.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#659647: [pkg-cryptsetup-devel] Bug#659647: initramfs-tools/hooks/cryptroot get_lvm_deps can't cope with vg name containing -

2012-02-13 Thread Jonas Meurer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 13.02.2012 10:09, schrieb John Hughes:
 On 12/02/12 21:27, Ben Hutchings wrote:
 On Sun, 2012-02-12 at 20:57 +0100, John Hughes wrote:
 Package: initramfs-tools Version: 0.99 Severity: normal
 
 Dear Maintainer,
 
 * What led up to the situation?
 
 I made a volume group called coal-vg holding a root volume
 called root.
 
 (i.e. /dev/mapper/root--vg-root)
 
 * What was the outcome of this action?
 
 update-initramfs gave the error:
 
 cryptsetup: WARNING: failed to find deps for
 /dev/mapper/root--vg-root
 [...]
 
 Surely this should be coal--vg-root?
 Yes, cut'n'paste by eye error.
 
 Anyway, if the cryptsetup hook is broken then that's a bug in,
 er, cryptsetup.
 Yup. You're right - dpkg -S confirms it.

Hey John,

this bug should be fixed with the upload of cryptsetup 2:1.4.1-2. Can
you verify that?

Regards,
 jonas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPOUz9AAoJEFJi5/9JEEn+AU4P/0qtp7P8VRgKpAwlY7mnZUuk
fS056TSexFhoWZZrdPTQxkQW+GIoBUiYH7/xCzrHj7QuMD+B5UvAkuOM34bZn4r3
dWIu2hJbZsbP2UVy2y69IKyHD23RRafe87YodwWIWMV8HqtW3O1k58j6RWyS9jv4
9OZNsLABUcjA68x0Gp2IusGLQptCYh0z85s3fL/iefs2ymLpNX+GylUS3vxdA1GJ
1J51Pe81CPHjAqtU4suNMkNY4uz+1/YUWyysdw9m+qZ3RZh7IKSM7GI0z6yUg9i0
VLDCQKxfdbn7F3PszedEOqIMO3ZZn7dPV9jHv4p8J2pK4G4QwxmSegUtpHWqUYFF
hRtxFjmxkY6UaB5G3IMjAIvWLV778Q2ONkr2WkTYbuLEaum+quC+VVgDrNJaz1sT
4O5B8jI4lAs2k5DPS0C+mOvU1U54aZoflL3114VXbaKID0pahljrGu6IdCz1AeHP
iBI3ZvW6TTXR9ooP29Us4kicPWgkdPJpInl4C5UuzG+FKa5SqdAXyMc3XIH0nlAF
66HU18RMWYh87yeFagENScv31augeessme/++UHCVqoOH2wgZ65o90hTswVfBt7m
zX8wIU98Vx5103YkyUgJmTr0GTmwq6Xyo49Os0es00GByfOsi5uI8t1W1dIXse67
sf2n9Efkd9H0YH8olcvv
=NhRU
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#659647: [pkg-cryptsetup-devel] Bug#659647: initramfs-tools/hooks/cryptroot get_lvm_deps can't cope with vg name containing -

2012-02-13 Thread Jonas Meurer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 13.02.2012 19:06, schrieb John Hughes:
 On 13/02/12 18:48, Jonas Meurer wrote:
 
 this bug should be fixed with the upload of cryptsetup 2:1.4.1-2.
 Can you verify that?
 
 I'll see what I can do - I'd like to try and avoid reinstalling my
 nice new laptop once again!

I guess that you're dropped to a busybox emergency shell after
unlocking the encrypted disk failed early at the boot process, right?

You should be able to boot after unlocking the encrypted disk and
enabling the LVM volume group manually from within the emergency shell:

unlock the encrypted disk:

# cryptsetup luksOpen /dev/DEVICE DEVICE_crypt

(where DEVICE is something like sda1 or sdb5)

enable the LVM volume group:

# vgchange -a y

resume the boot process:

# CTRL+d

Don't hesitate to ask if you've any further questions.

Regards,
 jonas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPOYY4AAoJEFJi5/9JEEn+tDEQAIAdV3m8+pMzhVSYEvsuVqOo
5Ng4A8nqej09AhWeTOVo9fTh3xC0/KuWK2xOPS6LNUqJCkuVCI2/HSRZh9kj2B9W
bIenXXg8SVgq6TLsQ2Zsh0ZM877e02dx8Apb19rcmmCanytcGdLcYiK4Aqa92+Sx
LM/IRAt09jTNVN5UP8NkFBppONScVkPhaUDY20gEqbPI/pLqckWPwpXv1a37dBUX
9I4yVWqWcxYLUklyV+ENh+JssCzycYqcyUu0OU7uh6rnl6qcQMh6kHUhK7K1MdAR
+heRjxvF7yJttlmNqkWzKa9z+Eb1UUL7RNax7lxQhYK2fSSF8yp98/VRioJuzFZa
8cVnACwOh1tMpkD6E1mxaRvQC5uN0Tgw4/4KlAe61JK8vexRzuz93BP1fa4+dFoW
Ly+coR8eL0JEILTGnYcK9T6xRObAHoNcEvOMEKQEhhCzKgaG83t4EIoQlZHKOsR3
lxGOF5XKztOS+NiqouVUlrrzw/aMzjplRw6nLw8SMtvgnu6Hb2VrY9MLlzPdBXQp
YOkfzJUq75RF9MIrpjkrGeWo4p4174LuUUM8l101t6jrvfp/rJFAQhVfSPwUf6VR
zorRezA4DDkM5BDcJR+vjUmF0quddCVOOhR+SgpXNcOvsyecfZa4pXv4DdGI77ag
RS1E8oG7qCy8E2G6Qjgd
=q5Tv
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#659647: [pkg-cryptsetup-devel] Bug#659647: initramfs-tools/hooks/cryptroot get_lvm_deps can't cope with vg name containing -

2012-02-13 Thread John Hughes

On 02/13/2012 10:53 PM, Jonas Meurer wrote:

I guess that you're dropped to a busybox emergency shell after
unlocking the encrypted disk failed early at the boot process, right?

Yeah, I did all that.

But since then I've reinstalled from scratch (with simpler vg name).

Like I say, I'll try to duplicate the problem in a vm and then try the 
new version.





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#659647: initramfs-tools/hooks/cryptroot get_lvm_deps can't cope with vg name containing -

2012-02-12 Thread John Hughes
Package: initramfs-tools
Version: 0.99
Severity: normal

Dear Maintainer,

   * What led up to the situation?

I made a volume group called coal-vg holding a root volume called root.

(i.e. /dev/mapper/root--vg-root)

   * What was the outcome of this action?

update-initramfs gave the error:

cryptsetup: WARNING: failed to find deps for /dev/mapper/root--vg-root

and made a bad initrd

   * What outcome did you expect instead?

a good initrd.


-- Package-specific info:
-- initramfs sizes
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.2.0-1-amd64 root=/dev/mapper/coal-root ro quiet

-- resume
RESUME=/dev/mapper/coal-swap
-- /proc/filesystems
ext3
fuseblk

-- lsmod
Module  Size  Used by
acpi_cpufreq   12935  1 
mperf  12453  1 acpi_cpufreq
cpufreq_stats  12866  0 
cpufreq_powersave  12454  0 
cpufreq_userspace  12576  0 
cpufreq_conservative13147  0 
parport_pc 22364  0 
ppdev  12763  0 
lp 17149  0 
parport31858  3 parport_pc,ppdev,lp
bnep   17567  2 
rfcomm 33656  10 
binfmt_misc12957  1 
uinput 17440  1 
fuse   61981  1 
loop   22641  0 
snd_hda_codec_hdmi 30783  2 
snd_hda_codec_realtek   188599  1 
joydev 17266  0 
tpm_infineon   12985  0 
arc4   12458  2 
snd_hda_intel  26345  2 
uvcvideo   57744  0 
snd_hda_codec  77994  3 
snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
videodev   70889  1 uvcvideo
media  18148  2 uvcvideo,videodev
snd_hwdep  13186  1 snd_hda_codec
v4l2_compat_ioctl3216655  1 videodev
iwlwifi   166703  0 
snd_pcm63900  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
btusb  17502  2 
snd_seq45093  0 
radeon643235  0 
bluetooth 119406  23 bnep,rfcomm,btusb
psmouse64455  0 
snd_timer  22917  2 snd_pcm,snd_seq
snd_seq_device 13176  1 snd_seq
tpm_tis17454  0 
evdev  17562  14 
pcspkr 12579  0 
tpm17862  2 tpm_infineon,tpm_tis
iTCO_wdt   17081  0 
serio_raw  12931  0 
ttm48725  1 radeon
sony_laptop36225  0 
i2c_i801   16870  0 
crc16  12343  1 bluetooth
mac80211  192768  1 iwlwifi
rts_pstor 261770  0 
iTCO_vendor_support12704  1 iTCO_wdt
snd52850  13 
snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
tpm_bios   12948  1 tpm
battery13109  0 
cfg80211  137140  2 iwlwifi,mac80211
i915  351781  3 
rfkill 19012  5 bluetooth,sony_laptop,cfg80211
drm_kms_helper 27227  2 radeon,i915
drm   167670  6 radeon,ttm,i915,drm_kms_helper
ac 12624  0 
soundcore  13065  1 snd
power_supply   13475  3 radeon,battery,ac
snd_page_alloc 13003  2 snd_hda_intel,snd_pcm
i2c_algo_bit   12841  2 radeon,i915
i2c_core   23876  7 
videodev,radeon,i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit
button 12937  1 i915
video  17628  1 i915
processor  28059  1 acpi_cpufreq
ext3  161867  3 
jbd56902  1 ext3
mbcache13065  1 ext3
sha256_generic 16797  2 
aesni_intel50643  24 
cryptd 14517  9 aesni_intel
aes_x86_64 16796  1 aesni_intel
aes_generic33026  2 aesni_intel,aes_x86_64
cbc12754  0 
dm_crypt   22586  1 
dm_mod 63545  12 dm_crypt
raid0  12904  1 
md_mod 87742  4 raid0
sr_mod 21899  0 
cdrom  35401  1 sr_mod
sd_mod 36136  2 
crc_t10dif 12348  1 sd_mod
ata_generic12479  0 
pata_marvell   12568  0 
xhci_hcd   73208  0 
ahci   24997  4 
libahci22860  1 ahci
ehci_hcd   40215  0 
r8169  46980  0 
libata140589  4 ata_generic,pata_marvell,ahci,libahci
mii12675  1 r8169
scsi_mod  162417  4 rts_pstor,sr_mod,sd_mod,libata
usbcore   128498  5 uvcvideo,btusb,xhci_hcd,ehci_hcd
usb_common 12354  1 usbcore
thermal17383  0 
thermal_sys18040  3 video,processor,thermal

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no

-- 

Bug#659647: initramfs-tools/hooks/cryptroot get_lvm_deps can't cope with vg name containing -

2012-02-12 Thread Ben Hutchings
On Sun, 2012-02-12 at 20:57 +0100, John Hughes wrote:
 Package: initramfs-tools
 Version: 0.99
 Severity: normal
 
 Dear Maintainer,
 
* What led up to the situation?
 
 I made a volume group called coal-vg holding a root volume called root.
 
 (i.e. /dev/mapper/root--vg-root)
 
* What was the outcome of this action?
 
 update-initramfs gave the error:
 
 cryptsetup: WARNING: failed to find deps for /dev/mapper/root--vg-root
[...]

Surely this should be coal--vg-root?

Anyway, if the cryptsetup hook is broken then that's a bug in, er,
cryptsetup.

Ben.

-- 
Ben Hutchings
The two most common things in the universe are hydrogen and stupidity.


signature.asc
Description: This is a digitally signed message part