Bug#417938: lvm2create_initrd missing pieces

Phil Dibowitz phil at ipom.com
Thu Apr 5 15:39:17 UTC 2007


Package: lvm2
Version: 2.02.06-4
Severity: normal

lvm2create_initrd is missing a few things for it to work:
 1. It doesn't actually include the busybox binary. I had to copy this
into the initrd myself. Since everything in /bin is a symlink to it,
this is critical.
 2. It doesn't copy any of the libraries busybox itself needs:
     libcrypt.so.1
     libm.so.6
     libc.so.6
 3. The /sbin/init script it generates has a #!/bin/bash at the top,
and thus there should be a /bin/bash -> /bin/sh link within the initrd
as well.

I had to modify my initrd to make all of these changes before the system
would even get to calling the init inside initrd without kernel
panicing.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20.4rider-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages lvm2 depends on:
ii  debconf [debconf-2.0]       1.5.13       Debian configuration management sy
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libdevmapper1.02            2:1.02.12-1  The Linux Kernel Device Mapper use
ii  libncurses5                 5.5-5        Shared libraries for terminal hand
ii  libreadline5                5.2-2        GNU readline and history libraries
ii  libselinux1                 1.32-3       SELinux shared libraries
ii  libsepol1                   1.14-3       Security Enhanced Linux policy lib
ii  lvm-common                  1.5.20       The Logical Volume Manager for Lin

lvm2 recommends no packages.

-- debconf information excluded




More information about the pkg-lvm-maintainers mailing list