FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 02-12-2012, 06:57 PM
John Hughes
 
Default Bug#659647: initramfs-tools/hooks/cryptroot get_lvm_deps can't cope with vg name containing -

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_conservative 13147 0
parport_pc 22364 0
ppdev 12763 0
lp 17149 0
parport 31858 3 parport_pc,ppdev,lp
bnep 17567 2
rfcomm 33656 10
binfmt_misc 12957 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_i ntel
videodev 70889 1 uvcvideo
media 18148 2 uvcvideo,videodev
snd_hwdep 13186 1 snd_hda_codec
v4l2_compat_ioctl32 16655 1 videodev
iwlwifi 166703 0
snd_pcm 63900 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
btusb 17502 2
snd_seq 45093 0
radeon 643235 0
bluetooth 119406 23 bnep,rfcomm,btusb
psmouse 64455 0
snd_timer 22917 2 snd_pcm,snd_seq
snd_seq_device 13176 1 snd_seq
tpm_tis 17454 0
evdev 17562 14
pcspkr 12579 0
tpm 17862 2 tpm_infineon,tpm_tis
iTCO_wdt 17081 0
serio_raw 12931 0
ttm 48725 1 radeon
sony_laptop 36225 0
i2c_i801 16870 0
crc16 12343 1 bluetooth
mac80211 192768 1 iwlwifi
rts_pstor 261770 0
iTCO_vendor_support 12704 1 iTCO_wdt
snd 52850 13 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_i ntel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_t imer,snd_seq_device
tpm_bios 12948 1 tpm
battery 13109 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,i 2c_algo_bit
button 12937 1 i915
video 17628 1 i915
processor 28059 1 acpi_cpufreq
ext3 161867 3
jbd 56902 1 ext3
mbcache 13065 1 ext3
sha256_generic 16797 2
aesni_intel 50643 24
cryptd 14517 9 aesni_intel
aes_x86_64 16796 1 aesni_intel
aes_generic 33026 2 aesni_intel,aes_x86_64
cbc 12754 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_generic 12479 0
pata_marvell 12568 0
xhci_hcd 73208 0
ahci 24997 4
libahci 22860 1 ahci
ehci_hcd 40215 0
r8169 46980 0
libata 140589 4 ata_generic,pata_marvell,ahci,libahci
mii 12675 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
thermal 17383 0
thermal_sys 18040 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

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
BOOT=local
DEVICE=
NFSROOT=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- /etc/crypttab
md126p6_crypt UUID=e4dd8c41-b938-4b43-9f58-37186c17268d none luks

-- /proc/mdstat
Personalities : [raid0]
md126 : active raid0 sda[1] sdb[0]
250064896 blocks super external:/md127/0 128k chunks

md127 : inactive sdb[1](S) sda[0](S)
4520 blocks super external:imsm

unused devices: <none>

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
busybox
cryptgnupg
cryptkeyctl
cryptopenct
cryptopensc
cryptpassdev
cryptroot
dmsetup
fuse
keymap
klibc
lvm2
mdadm
ntfs_3g
thermal
udev


-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii cpio 2.11-7
ii findutils 4.4.2-4
ii klibc-utils 2.0~rc2-0.1
ii module-init-tools 3.16-1
ii udev 175-3

Versions of packages initramfs-tools recommends:
ii busybox 1:1.19.3-5

Versions of packages initramfs-tools suggests:
pn bash-completion <none>

-- no debconf information



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120212195722.5121.58109.reportbug@coal.colmar.at lantech.com">http://lists.debian.org/20120212195722.5121.58109.reportbug@coal.colmar.at lantech.com
 
Old 02-12-2012, 07:27 PM
Ben Hutchings
 
Default Bug#659647: initramfs-tools/hooks/cryptroot get_lvm_deps can't cope with vg name containing -

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.
 

Thread Tools




All times are GMT. The time now is 03:58 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org