Debian Bug report logs - #565676
lvm2: initrd script could be extended beyond what it currently supports.

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: cheako911@yahoo.com

Date: Sun, 17 Jan 2010 21:30:08 UTC

Severity: normal

Found in version lvm2/2.02.39-7

Reply or subscribe to this bug.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>:
Bug#565676; Package lvm2. (Sun, 17 Jan 2010 21:30:11 GMT) Full text and rfc822 format available.

Acknowledgement sent to cheako911@yahoo.com:
New Bug report received and forwarded. Copy sent to Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>. (Sun, 17 Jan 2010 21:30:11 GMT) Full text and rfc822 format available.

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

From: Mike Mestnik <cheako@visi.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: lvm2: initrd script could be extended beyond what it currently supports.
Date: Sun, 17 Jan 2010 15:27:33 -0600
Package: lvm2
Version: 2.02.39-7
Severity: normal

I believe that a lot can be done to extend the usefulness of the 
local-top/lvm2 script.  Currently the script supports a number of
formats for root and swap filesystem names, but it's vary limited.

fe[0-9]*
/dev/root
/dev/mapper/#\(.*\)\([^-]\)-[^-].*#

This leaves UUID file systems and a whole lot more.  I suggest that
a handful of kernel command line parameters are added.  There is
specifying the vg of the root and swap partitions and perhaps it
should just allow the mounting of any number of lvms, including "".

Would there be any objection to carrying out this task and attaching
the new script to this bug?

There is also the version of lvm to use, I feel the user should be
able to force this with a nolvm2 and/or a uselvm1.

P.S.
The script provided by this package and the one provided by
initramfs-tools(lvm) are vary similar, perhaps a join and
removing lvm2 from this package and having the initramfs-tools
pkg have one script that covers both.

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages lvm2 depends on:
ii  libc6                        2.10.2-2    GNU C Library: Shared libraries
ii  libdevmapper1.02.1           2:1.02.27-4 The Linux Kernel Device Mapper use
ii  libreadline5                 5.2-3.1     GNU readline and history libraries
ii  lsb-base                     3.2-20      Linux Standard Base 3.2 init scrip

Versions of packages lvm2 recommends:
ii  dmsetup                      2:1.02.27-4 The Linux Kernel Device Mapper use

lvm2 suggests no packages.

-- debconf information:
  lvm2/snapshots:




Information forwarded to debian-bugs-dist@lists.debian.org, Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>:
Bug#565676; Package lvm2. (Sun, 17 Jan 2010 23:18:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bastian Blank <waldi@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>. (Sun, 17 Jan 2010 23:18:10 GMT) Full text and rfc822 format available.

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

From: Bastian Blank <waldi@debian.org>
To: cheako911@yahoo.com, 565676@bugs.debian.org
Subject: Re: Bug#565676: lvm2: initrd script could be extended beyond what it currently supports.
Date: Mon, 18 Jan 2010 00:15:58 +0100
On Sun, Jan 17, 2010 at 03:27:33PM -0600, Mike Mestnik wrote:
> This leaves UUID file systems and a whole lot more.

Nothing of this is detectable without enabled anything.

>                                                         There is
> specifying the vg of the root and swap partitions and perhaps it
> should just allow the mounting of any number of lvms, including "".

This script have the task to find exactly two things: the root
filesystem and the resume image if necessary, nothing else.

> Would there be any objection to carrying out this task and attaching
> the new script to this bug?

You are free to write as much patches as you want.

> There is also the version of lvm to use, I feel the user should be
> able to force this with a nolvm2 and/or a uselvm1.

There is only lvm2 userspace left. lvm1 vgs are read by them.

> The script provided by this package and the one provided by
> initramfs-tools(lvm) are vary similar, perhaps a join and
> removing lvm2 from this package and having the initramfs-tools
> pkg have one script that covers both.

There is no lvm script provided by initramfs-tools, at least not in
anything newer then Lenny.

Please note that every development is done on unstable/Sid. Please
gather your information with this distribution.

BAstian 

-- 
Each kiss is as the first.
		-- Miramanee, Kirk's wife, "The Paradise Syndrome",
		   stardate 4842.6




Information forwarded to debian-bugs-dist@lists.debian.org, Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>:
Bug#565676; Package lvm2. (Thu, 24 Jun 2010 13:24:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christoph Anton Mitterer <christoph.anton.mitterer@physik.uni-muenchen.de>:
Extra info received and forwarded to list. Copy sent to Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>. (Thu, 24 Jun 2010 13:24:03 GMT) Full text and rfc822 format available.

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

From: Christoph Anton Mitterer <christoph.anton.mitterer@physik.uni-muenchen.de>
To: 565676@bugs.debian.org, 566965@bugs.debian.org
Subject: merging?
Date: Thu, 24 Jun 2010 15:21:08 +0200
[Message part 1 (text/plain, inline)]
Hi Martin.

Are those issues the same (which I guess)? Can I merge them?

Why does it affect mdadm?



Cheers,
Chris.
[smime.p7s (application/x-pkcs7-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>:
Bug#565676; Package lvm2. (Sun, 26 Sep 2010 13:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christoph Anton Mitterer <calestyo@scientia.net>:
Extra info received and forwarded to list. Copy sent to Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>. (Sun, 26 Sep 2010 13:09:03 GMT) Full text and rfc822 format available.

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

From: Christoph Anton Mitterer <calestyo@scientia.net>
To: 565676@bugs.debian.org, 566965@bugs.debian.org
Cc: control@bugs.debian.org, martin f krafft <madduck@debian.org>, cheako911@yahoo.com
Subject: merging them
Date: Sun, 26 Sep 2010 15:06:03 +0200
[Message part 1 (text/plain, inline)]
merge 565676 566965
stop

Hi.

It seems those two bugs are identical. Please unmerge if you thing
they're not.

May I suggest to continue discussion at #566965.


Cheers,
Chris.
[smime.p7s (application/x-pkcs7-signature, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 09:05:36 2014; Machine Name: buxtehude.debian.org

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