[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#418652: marked as done (initramfs-tools: does not build usable initrd with lvm2 2.02.24)



Your message dated Wed, 11 Apr 2007 06:02:04 +0000
with message-id <E1HbVu8-0001AL-8I@ries.debian.org>
and subject line Bug#418652: fixed in lvm2 2.02.24-5
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: initramfs-tools
Version: 0.85g
Severity: important
Tags: patch

I just upgraded a ton of stuff (including LVM) after it hit testing 
folllowing the etch release. :-) The new LVM version uses a different 
file layout and consequently the lvm2 hook tries to grab the wrong file 
(which no longer exists) and silently builds an initrd which is missing 
the vgchange command :-p

The following patch fixes this information for my system (but of course 
would break a system that had not upgraded LVM).

--- /usr/share/initramfs-tools/hooks/lvm2.old	2006-12-02 12:11:58.000000000 -0500
+++ /usr/share/initramfs-tools/hooks/lvm2	2007-04-10 20:46:24.000000000 -0400
@@ -14,13 +14,13 @@
 	;;
 esac
 
-if [ ! -x /sbin/vgchange -a ! -d /lib/lvm-200 ]; then
+if [ ! -x /sbin/vgchange -a ! -x /sbin/lvm ]; then
 	exit 0
 fi
 
 . /usr/share/initramfs-tools/hook-functions
 
-copy_exec /lib/lvm-200/vgchange /sbin
+copy_exec /sbin/lvm /sbin/vgchange
 
 for x in dm_mod dm_snapshot dm_mirror; do
 	manual_add_modules ${x}


Thanks,

Scott Bailey
scott@cartasoft.com

-- Package-specific info:
-- /proc/cmdline
root=/dev/md0 ro 

-- /proc/filesystems
	cramfs
	reiserfs
	ext3

-- lsmod
Module                  Size  Used by
vmnet                  34796  7 
vmmon                 104236  0 
nfs                   203980  0 
nfsd                  199856  17 
exportfs                6080  1 nfsd
lockd                  55240  3 nfs,nfsd
nfs_acl                 3904  2 nfs,nfsd
sunrpc                139772  13 nfs,nfsd,lockd,nfs_acl
xt_multiport            3712  1 
iptable_filter          3392  1 
ip_tables              13476  1 iptable_filter
x_tables               13636  2 xt_multiport,ip_tables
ppdev                   8964  0 
lp                     11300  0 
ipv6                  228000  62 
decnet                 72196  5 [permanent]
amd64_agp              12292  0 
agpgart                30216  1 amd64_agp
usbkbd                  7104  0 
tsdev                   7808  0 
snd_hda_intel          17620  0 
snd_hda_codec         138816  1 snd_hda_intel
snd_pcm                68996  2 snd_hda_intel,snd_hda_codec
snd_timer              21316  1 snd_pcm
snd                    47524  4 snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
soundcore               9568  1 snd
serio_raw               6980  0 
snd_page_alloc          9928  2 snd_hda_intel,snd_pcm
psmouse                35336  0 
i2c_viapro              8596  0 
parport_pc             32612  1 
parport                33672  3 ppdev,lp,parport_pc
shpchp                 33312  0 
pci_hotplug            29056  1 shpchp
i2c_core               20096  1 i2c_viapro
evdev                   9408  1 
pcspkr                  3392  0 
st                     35292  2 
sg                     31836  0 
rtc                    12788  0 
ext3                  120584  16 
jbd                    52968  1 ext3
mbcache                 8644  1 ext3
dm_mirror              19600  0 
dm_snapshot            15904  0 
raid1                  21632  2 
md_mod                 71060  3 raid1
ide_generic             1728  0 [permanent]
ch                     14920  0 
ide_cd                 36576  0 
cdrom                  33056  1 ide_cd
usb_storage            72832  0 
via82cxxx               8708  0 [permanent]
tulip                  47072  0 
sata_via               10372  4 
BusLogic               64884  2 
via_rhine              23112  0 
mii                     5696  1 via_rhine
libata                 90772  1 sata_via
generic                 5764  0 [permanent]
ide_core              110984  5 ide_generic,ide_cd,usb_storage,via82cxxx,generic
ehci_hcd               28488  0 
uhci_hcd               21580  0 
usbcore               113412  5 usbkbd,usb_storage,ehci_hcd,uhci_hcd
thermal                13896  0 
processor              29128  1 thermal
fan                     5124  0 
reiserfs              214080  0 
dm_mod                 50776  35 dm_mirror,dm_snapshot
sd_mod                 19456  6 
scsi_mod              124872  7 st,sg,ch,usb_storage,BusLogic,libata,sd_mod

-- kernel-img.conf
# Do not create symbolic links in /
do_symlinks = Yes
do_initrd = Yes
do_bootloader = No


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (700, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (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  busybox                       1:1.1.3-4  Tiny utilities for small and embed
ii  cpio                          2.7-1      GNU cpio -- a program to manage ar
ii  klibc-utils                   1.5-2      small statically-linked utilities 
ii  module-init-tools             3.3-pre4-2 tools for managing Linux kernel mo
ii  udev                          0.105-4    /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: lvm2
Source-Version: 2.02.24-5

We believe that the bug you reported is fixed in the latest version of
lvm2, which is due to be installed in the Debian FTP archive:

clvm_2.02.24-5_i386.deb
  to pool/main/l/lvm2/clvm_2.02.24-5_i386.deb
lvm2-udeb_2.02.24-5_i386.udeb
  to pool/main/l/lvm2/lvm2-udeb_2.02.24-5_i386.udeb
lvm2_2.02.24-5.diff.gz
  to pool/main/l/lvm2/lvm2_2.02.24-5.diff.gz
lvm2_2.02.24-5.dsc
  to pool/main/l/lvm2/lvm2_2.02.24-5.dsc
lvm2_2.02.24-5_i386.deb
  to pool/main/l/lvm2/lvm2_2.02.24-5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 418652@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Blank <waldi@debian.org> (supplier of updated lvm2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 11 Apr 2007 05:43:40 +0000
Source: lvm2
Binary: clvm lvm2-udeb lvm2
Architecture: source i386
Version: 2.02.24-5
Distribution: unstable
Urgency: low
Maintainer: Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>
Changed-By: Bastian Blank <waldi@debian.org>
Description: 
 clvm       - Cluster LVM Daemon for lvm2
 lvm2       - The Linux Logical Volume Manager
 lvm2-udeb  - The Linux Logical Volume Manager (udeb)
Closes: 418652 418661
Changes: 
 lvm2 (2.02.24-5) unstable; urgency=low
 .
   * Install correct files in initramfs-tools hook. (closes: #418652, #418661)
Files: 
 8cf1dedc29097523523f60610597e2e5 796 admin optional lvm2_2.02.24-5.dsc
 142df7a9fa4f49cea274fec1ba2f4f3d 9518 admin optional lvm2_2.02.24-5.diff.gz
 9b24cc2a50c3eaa25aa0dace83b881c7 316906 admin optional lvm2_2.02.24-5_i386.deb
 a40565abf1fc65a99e6e17da79c36643 195554 debian-installer optional lvm2-udeb_2.02.24-5_i386.udeb
 00490c652f609fbc22a6142b0b394974 216410 admin extra clvm_2.02.24-5_i386.deb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iEYEARECAAYFAkYcdjoACgkQLkAIIn9ODhF4rwCfQ0wmrjMi+tIxn3mOBLSGeW8v
tNkAoNzsvYy6bM09UWpDZofMABd4Si4W
=N5cP
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: