Bug#328167: initrd-tools: completely broken with regard to LVM devices on EVMS
Package: initrd-tools
Version: 0.1.82
Severity: important
When running mkinitrd, I get:
sesse@pannekake:~$ sudo mkinitrd -o /boot/initrd.img-2.6.12-1-amd64-k8-smp 2.6.12-1-amd64-k8-smp
File descriptor 3 left open
File descriptor 4 left open
File descriptor 5 left open
File descriptor 6 left open
File descriptor 7 left open
Finding all volume groups
Finding volume group "pannekake"
/usr/sbin/mkinitrd: /dev/evms/lvm2/pannekake/root: Cannot find LVM device
Obviously, /dev/evms/lvm2/pannekake/root is managed by EVMS here, so it
should not just see that /sbin/lvmiopversion exists and thus try to use
the LVM userspace.
Anyhow, I removed lvm-common as I don't need it, but still I get
Unknown DM device 254:2
since it looks for /etc/mkinitrd/scripts/evms, which to the best of my
knowledge is not in the evms packages anymore (evms has a probe.d script
instead). Removing the "exit 1" appears to give a valid initrd.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.8
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Versions of packages initrd-tools depends on:
ii coreutils [fileutils] 5.2.1-2.1 The GNU core utilities
ii cpio 2.6-5 GNU cpio -- a program to manage ar
ii cramfsprogs 1.1-6 Tools for CramFs (Compressed ROM F
ii dash 0.5.2-7 The Debian Almquist Shell
ii fileutils 5.2.1-2.1 The GNU file management utilities
ii util-linux 2.12p-7 Miscellaneous system utilities
initrd-tools recommends no packages.
-- debconf-show failed
Reply to: