Your message dated Thu, 13 Aug 2009 14:21:36 +0200
with message-id <20090813122135.gp13...@baikonur.stro.at>
and subject line Re: Bug#541234: initramfs-tools: legacylvm misses 'lvm'
required by cryptroot
has caused the Debian Bug report #541234,
regarding initramfs-tools: legacylvm misses 'lvm' required by cryptroot
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
541234: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541234
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.92o
Severity: important
Tags: patch
Regenerate the initramfs using update-initramfs on Lenny without lvm2 with
encrypted root results in an unbootable image. Investigation showed that
/usr/share/initramfs-tools/scripts/local-top/cryptroot requires 'lvm'
but /usr/share/initramfs-tools/hooks/legacylvm copies only vgchange.
The patch which follows fixed this for me.
--- legacylvm 2009-08-12 09:45:45.000000000 +0100
+++ /usr/share/initramfs-tools/hooks/legacylvm 2009-08-12 09:46:19.000000000
+0100
@@ -21,6 +21,7 @@
if [ -x /sbin/vgchange ] && [ -d /lib/lvm-200 ] \
&& [ ! -f /usr/share/initramfs-tools/hooks/lvm2 ]; then
copy_exec /lib/lvm-200/vgchange /sbin
+ copy_exec /lib/lvm-200/lvm /sbin
for x in dm_mod dm_snapshot dm_mirror; do
manual_add_modules ${x}
done
-- Package-specific info:
-- /proc/cmdline
root=/dev/mapper/thebes-root ro
-- /proc/filesystems
ext3
-- lsmod
Module Size Used by
battery 10180 0
ppdev 6500 0
lp 8164 0
acpi_cpufreq 6796 0
cpufreq_powersave 1856 0
cpufreq_stats 3776 0
cpufreq_ondemand 6476 2
cpufreq_conservative 5960 0
cpufreq_userspace 3172 0
freq_table 4224 3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
ipv6 235364 45
loop 12748 0
parport_pc 22500 1
parport 30988 3 ppdev,lp,parport_pc
snd_hda_intel 325688 0
snd_pcm_oss 32832 0
pcspkr 2432 0
snd_mixer_oss 12320 1 snd_pcm_oss
iTCO_wdt 9508 0
snd_pcm 62596 2 snd_hda_intel,snd_pcm_oss
i2c_i801 7920 0
i2c_core 19828 1 i2c_i801
rng_core 3940 0
snd_seq_dummy 2660 0
snd_seq_oss 24992 0
snd_seq_midi 5728 0
snd_rawmidi 18528 1 snd_seq_midi
snd_seq_midi_event 6432 2 snd_seq_oss,snd_seq_midi
snd_seq 41456 6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 17800 2 snd_pcm,snd_seq
snd_seq_device 6380 5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 45604 9
snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
button 6096 0
intel_agp 22556 1
agpgart 28776 1 intel_agp
soundcore 6368 1 snd
snd_page_alloc 7816 2 snd_hda_intel,snd_pcm
evdev 8000 3
ext3 105512 6
jbd 39444 1 ext3
mbcache 7108 1 ext3
sha256_generic 11360 0
aes_i586 7744 2
aes_generic 29256 1 aes_i586
cbc 3264 1
dm_crypt 11172 1
crypto_blkcipher 15236 3 cbc,dm_crypt
dm_mirror 15104 0
dm_log 8484 1 dm_mirror
dm_snapshot 14340 0
dm_mod 46184 19 dm_crypt,dm_mirror,dm_log,dm_snapshot
sd_mod 22200 3
ide_pci_generic 3908 0 [permanent]
ata_piix 14180 2
piix 6568 0 [permanent]
ide_core 96136 2 ide_pci_generic,piix
floppy 47748 0
ata_generic 4676 0
libata 140416 2 ata_piix,ata_generic
scsi_mod 129324 2 sd_mod,libata
skge 33360 0
dock 8304 1 libata
ehci_hcd 28396 0
uhci_hcd 18672 0
usbcore 118224 3 ehci_hcd,uhci_hcd
thermal 15228 0
processor 32544 2 acpi_cpufreq,thermal
fan 4164 0
thermal_sys 10856 3 thermal,processor,fan
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = update-grub
postrm_hook = update-grub
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto
-- /etc/crypttab
sdb5_crypt /dev/disk/by-uuid/3556be3d-b1c5-4db5-89ef-ad69e1d36219 none luks
-- System Information:
Debian Release: 5.0.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages initramfs-tools depends on:
ii cpio 2.9-13 GNU cpio -- a program to manage ar
ii findutils 4.4.0-2 utilities for finding files--find,
ii klibc-utils 1.5.12-2 small utilities built with klibc f
ii module-init-tools 3.4-1 tools for managing Linux kernel mo
ii udev 0.125-7+lenny1 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.10.2-2 Tiny utilities for small and embed
initramfs-tools suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 0.93.3
On Wed, Aug 12, 2009 at 06:01:16PM +0100, Robert Burrell Donkin wrote:
> Package: initramfs-tools
> Version: 0.92o
> Severity: important
> Tags: patch
this is old stable stuff.
and i don't share the assesment of the severity.
legacylvm is only there for upgrade from etch to lenny
any trouble beyond should be solved in the lvm2 boot hook itself.
> Regenerate the initramfs using update-initramfs on Lenny without lvm2 with
> encrypted root results in an unbootable image. Investigation showed that
> /usr/share/initramfs-tools/scripts/local-top/cryptroot requires 'lvm'
> but /usr/share/initramfs-tools/hooks/legacylvm copies only vgchange.
>
> The patch which follows fixed this for me.
closing as legacylvm is gone.
> --- legacylvm 2009-08-12 09:45:45.000000000 +0100
> +++ /usr/share/initramfs-tools/hooks/legacylvm 2009-08-12
> 09:46:19.000000000 +0100
> @@ -21,6 +21,7 @@
> if [ -x /sbin/vgchange ] && [ -d /lib/lvm-200 ] \
> && [ ! -f /usr/share/initramfs-tools/hooks/lvm2 ]; then
> copy_exec /lib/lvm-200/vgchange /sbin
> + copy_exec /lib/lvm-200/lvm /sbin
> for x in dm_mod dm_snapshot dm_mirror; do
> manual_add_modules ${x}
> done
>
--- End Message ---