Bug#418661: lvm2: Remnants of /sbin/lvm-200 confuse mkinitramfs
Mike Paul
mike at wyzardry.net
Wed Apr 11 03:35:56 UTC 2007
Package: lvm2
Version: 2.02.24-4
Severity: important
On a system whose root filesystem is on LVM, running update-initramfs
(which invokes mkinitramfs) results in a warning message:
cpio: ./sbin/vgchange: Cannot stat: No such file or directory
It turns out that the initramfs's sbin/vgchange is a symlink pointing to
"/lib/lvm-200/vgchange", which doesn't exist anymore -- it looks like
the lvmiopversion redirection is gone now and the symlink should just
point to "lvm". The use of "/lib/lvm-200/vgchange" is hard-coded in
/usr/share/initramfs-tools/hooks/lvm2
Also, initramfs aside, the /sbin/lvm-default alternative is left
hanging, pointing to the no-longer-existent /lib/lvm-200 because nothing
provides this alternative anymore.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-686-bigmem (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lvm2 depends on:
ii libc6 2.5-0exp3 GNU C Library: Shared libraries
ii libdevmapper1.02.1 2:1.02.18-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
lvm2 recommends no packages.
-- debconf information:
lvm2/kernel:
lvm2/snapshots:
More information about the pkg-lvm-maintainers
mailing list