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 <pkg-lvm-maintainers@lists.alioth.debian.org>; Source for lvm2 is src:lvm2.

Reported by: "Jean-Luc Coulon (f5ibh)" <jean-luc.coulon@wanadoo.fr>

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 <patrick@debian.org>

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 debian-bugs-dist@lists.debian.org, Patrick Caulfield <patrick@debian.org>:
Bug#287042; Package lvm2. Full text and rfc822 format available.

Acknowledgement sent to "Jean-Luc Coulon (f5ibh)" <jean-luc.coulon@wanadoo.fr>:
New Bug report received and forwarded. Copy sent to Patrick Caulfield <patrick@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: "Jean-Luc Coulon (f5ibh)" <jean-luc.coulon@wanadoo.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
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

Hi,

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.


Regards

Jean-Luc


-- 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:
  lvm2/snapshots:
[lvm.conf.diff (text/plain, attachment)]

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

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

Message #10 received at 287042-close@bugs.debian.org (full text, mbox):

From: Patrick Caulfield <patrick@debian.org>
To: 287042-close@bugs.debian.org
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:

clvm_2.00.32-1_i386.deb
  to pool/main/l/lvm2/clvm_2.00.32-1_i386.deb
lvm2-udeb_2.00.32-1_i386.udeb
  to pool/main/l/lvm2/lvm2-udeb_2.00.32-1_i386.udeb
lvm2_2.00.32-1.diff.gz
  to pool/main/l/lvm2/lvm2_2.00.32-1.diff.gz
lvm2_2.00.32-1.dsc
  to pool/main/l/lvm2/lvm2_2.00.32-1.dsc
lvm2_2.00.32-1_i386.deb
  to pool/main/l/lvm2/lvm2_2.00.32-1_i386.deb
lvm2_2.00.32.orig.tar.gz
  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
attached.

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

Debian distribution maintenance software
pp.
Patrick Caulfield <patrick@debian.org> (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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
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 <patrick@debian.org>
Changed-By: Patrick Caulfield <patrick@debian.org>
Description: 
 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
Changes: 
 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
     troubles.
     Closes: #287042
Files: 
 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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBzA5Xhej7/PCycRMRAhGoAJ9YewMO0EZtI3up/A3X6KOg8vb5GACgiaqD
dr3yG0cK82s2BuAAOoiTtQc=
=Dfem
-----END PGP SIGNATURE-----




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Apr 21 16:14:31 2014; Machine Name: beach.debian.org

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