Debian Bug report logs - #287042
lvm2: incorrect library_dir in lvm.conf gives wrong initrd

version graph

Package: lvm2; Maintainer for lvm2 is Debian LVM Team <>; Source for lvm2 is src:lvm2.

Reported by: "Jean-Luc Coulon (f5ibh)" <>

Date: Thu, 23 Dec 2004 21:03:04 UTC

Severity: normal

Tags: patch

Found in version 2.00.31-1

Fixed in version lvm2/2.00.32-1

Done: Patrick Caulfield <>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox

Report forwarded to, Patrick Caulfield <>:
Bug#287042; Package lvm2. Full text and rfc822 format available.

Acknowledgement sent to "Jean-Luc Coulon (f5ibh)" <>:
New Bug report received and forwarded. Copy sent to Patrick Caulfield <>. Full text and rfc822 format available.

Message #5 received at (full text, mbox):

From: "Jean-Luc Coulon (f5ibh)" <>
To: Debian Bug Tracking System <>
Subject: lvm2: incorrect library_dir in lvm.conf gives wrong initrd
Date: Thu, 23 Dec 2004 21:55:09 +0100
[Message part 1 (text/plain, inline)]
Package: lvm2
Version: 2.00.31-1
Severity: normal
Tags: patch


While building an initrd with mkinitrd, the file /etc/lvm/lvm.conf is included
in the initrd.

The default value for library_dir shipped with the package is wrong:

     # Search this directory first for shared libraries.
            library_dir = "/lib/lvm2"

There is no such directory on the system.
This results in an unbootable system when the root filesystem relies on lvm.

Commenting out this line solves the problem.

I suggest to remove this line from the default lvm.conf file.



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.6.9-k6-8
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages lvm2 depends on:
ii  debconf                     1.4.41       Debian configuration management sy
ii  libc6                       2.3.2.ds1-19 GNU C Library: Shared libraries an
ii  libdevmapper1.00            2:1.00.19-4  The Linux Kernel Device Mapper use
ii  lvm-common                  1.5.17       The Logical Volume Manager for Lin

-- debconf information:
[lvm.conf.diff (text/plain, attachment)]

Reply sent to Patrick Caulfield <>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to "Jean-Luc Coulon (f5ibh)" <>:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #10 received at (full text, mbox):

From: Patrick Caulfield <>
Subject: Bug#287042: fixed in lvm2 2.00.32-1
Date: Fri, 24 Dec 2004 08:02:11 -0500
Source: lvm2
Source-Version: 2.00.32-1

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:

  to pool/main/l/lvm2/clvm_2.00.32-1_i386.deb
  to pool/main/l/lvm2/lvm2-udeb_2.00.32-1_i386.udeb
  to pool/main/l/lvm2/lvm2_2.00.32-1.diff.gz
  to pool/main/l/lvm2/lvm2_2.00.32-1.dsc
  to pool/main/l/lvm2/lvm2_2.00.32-1_i386.deb
  to pool/main/l/lvm2/lvm2_2.00.32.orig.tar.gz

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

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

Debian distribution maintenance software
Patrick Caulfield <> (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

Hash: SHA1

Format: 1.7
Date: Fri, 24 Dec 2004 12:27:05 +0000
Source: lvm2
Binary: clvm lvm2-udeb lvm2
Architecture: source i386
Version: 2.00.32-1
Distribution: unstable
Urgency: low
Maintainer: Patrick Caulfield <>
Changed-By: Patrick Caulfield <>
 clvm       - Cluster LVM Daemon for lvm2
 lvm2       - The Linux Logical Volume Manager
 lvm2-udeb  - The Linux Logical Volume Manager (udeb)
Closes: 283290 284990 285225 287042
 lvm2 (2.00.32-1) unstable; urgency=low
   * New upstream
     Closes: #283290, 284990, 285225
   * Don't make /lib/lvm2 the default library directory as it causes initrd
     Closes: #287042
 75a126a169e03e5fbef9bd724498739a 677 admin optional lvm2_2.00.32-1.dsc
 66a6ad35f8e92aee6fe6cd6316972c04 439941 admin optional lvm2_2.00.32.orig.tar.gz
 4e3bf78f765506f9e04f686ffb68d729 10646 admin optional lvm2_2.00.32-1.diff.gz
 ae47852fec80053387cf14faa413122b 272978 admin optional lvm2_2.00.32-1_i386.deb
 84323f06613ad59f79644703cddee16e 195402 debian-installer optional lvm2-udeb_2.00.32-1_i386.udeb
 2748f092157b7377e11919730b58f2f6 149504 admin extra clvm_2.00.32-1_i386.deb

Version: GnuPG v1.2.5 (GNU/Linux)


Send a report that this bug log contains spam.

Debian bug tracking system administrator <>. Last modified: Mon Apr 21 16:14:31 2014; Machine Name:

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.