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

Bug#439761: add lvm.conf to initramfs

Package: lvm2
Version: 2.02.26-1+b1
Severity: normal
Tags: patch

Fix LP #113515

the filter line in lvm.conf needs to be respected on a vgchange run.

--- lvm2-2.02.26/debian/initramfs-tools/hooks/lvm2.orig	2007-08-27 09:45:15.000000000 +0200
+++ lvm2-2.02.26/debian/initramfs-tools/hooks/lvm2	2007-08-27 09:47:54.000000000 +0200
@@ -20,6 +20,11 @@ fi
 . /usr/share/initramfs-tools/hook-functions
+if [ -e /etc/lvm/lvm.conf ]; then
+	mkdir -p ${DESTDIR}/etc/lvm
+	cp /etc/lvm/lvm.conf ${DESTDIR}/etc/lvm/
 copy_exec /sbin/vgchange /sbin
 for x in dm_mod dm_snapshot dm_mirror; do

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-rc3-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages lvm2 depends on:
ii  libc6                     2.6.1-1+b1     GNU C Library: Shared libraries
ii  libdevmapper1.02.1        2:1.02.20-2    The Linux Kernel Device Mapper use
ii  libncurses5               5.6+20070812-1 Shared libraries for terminal hand
ii  libreadline5              5.2-3          GNU readline and history libraries
ii  libselinux1               2.0.15-2+b1    SELinux shared libraries
ii  libsepol1                 2.0.3-1+b1     Security Enhanced Linux policy lib

lvm2 recommends no packages.

-- debconf information excluded

Reply to: