Debian Bug report logs - #261062
lvm10: can't install package if lvm-mod module not loaded

version graph

Package: lvm10; Maintainer for lvm10 is (unknown);

Reported by: Colin Watson <cjwatson@debian.org>

Date: Fri, 23 Jul 2004 13:48:02 UTC

Severity: important

Tags: patch

Found in version 1.0.8-4

Fixed in version lvm10/1:1.0.8-5

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#261062; Package lvm10. (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
New Bug report received and forwarded. Copy sent to Patrick Caulfield <patrick@debian.org>. (full text, mbox, link).


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

From: Colin Watson <cjwatson@debian.org>
To: submit@bugs.debian.org
Subject: lvm10: can't install package if lvm-mod module not loaded
Date: Fri, 23 Jul 2004 14:32:00 +0100
Package: lvm10
Version: 1.0.8-4
Severity: important

  $ sudo apt-get install lvm10
  [...]
  Unpacking lvm-common (from .../lvm-common_1.5.16_powerpc.deb) ...
  Selecting previously deselected package lvm10.
  Unpacking lvm10 (from .../lvm10_1%3a1.0.8-4_powerpc.deb) ...
  Setting up lvm-common (1.5.16) ...
  
  Setting up lvm10 (1.0.8-4) ...
  vgscan -- LVM driver/module not loaded?
  
  dpkg: error processing lvm10 (--configure):
   subprocess post-installation script returned error exit status 95
  Errors were encountered while processing:
   lvm10
  E: Sub-process /usr/bin/dpkg returned an error code (1)

I think the postinst should succeed even if vgscan fails. Once you load
lvm-mod you'll run it yourself anyway, manually or by way of an init
script.

Thanks,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Information forwarded to debian-bugs-dist@lists.debian.org, Patrick Caulfield <patrick@debian.org>:
Bug#261062; Package lvm10. (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to Patrick Caulfield <patrick@debian.org>. (full text, mbox, link).


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

From: Colin Watson <cjwatson@debian.org>
To: 261062@bugs.debian.org
Cc: control@bugs.debian.org
Subject: patch
Date: Fri, 23 Jul 2004 15:26:01 +0100
tags 261062 patch
thanks

Trivial patch here:

  http://www.no-name-yet.com/patches/lvm10.261062.diff

It works for me, anyway.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Tags added: patch Request was from Colin Watson <cjwatson@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Patrick Caulfield <patrick@debian.org>:
Bug#261062; Package lvm10. (full text, mbox, link).


Acknowledgement sent to Martin Michlmayr <tbm@cyrius.com>:
Extra info received and forwarded to list. Copy sent to Patrick Caulfield <patrick@debian.org>. (full text, mbox, link).


Message #17 received at 261062@bugs.debian.org (full text, mbox, reply):

From: Martin Michlmayr <tbm@cyrius.com>
To: Colin Watson <cjwatson@debian.org>
Cc: 261062@bugs.debian.org
Subject: Re: patch
Date: Sat, 24 Jul 2004 03:29:01 +0100
* Colin Watson <cjwatson@debian.org> [2004-07-23 15:26]:
> Trivial patch here:
>   http://www.no-name-yet.com/patches/lvm10.261062.diff

Thanks, but please send patches to the BTS next time.


--- lvm10-1.0.8.orig/debian/lvm.postinst
+++ lvm10-1.0.8/debian/lvm.postinst
@@ -21,7 +21,7 @@
 	fi
 	if [ ! -d /etc/lvmtab.d ] ; then
 	    mkdir /etc/lvmtab.d
- 	    vgscan
+ 	    vgscan || true
 	fi
 	/sbin/vgcfgbackup || true
 

-- 
Martin Michlmayr
tbm@cyrius.com



Reply sent to Patrick Caulfield <patrick@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Colin Watson <cjwatson@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #22 received at 261062-close@bugs.debian.org (full text, mbox, reply):

From: Patrick Caulfield <patrick@debian.org>
To: 261062-close@bugs.debian.org
Subject: Bug#261062: fixed in lvm10 1:1.0.8-5
Date: Fri, 20 Aug 2004 09:32:03 -0400
Source: lvm10
Source-Version: 1:1.0.8-5

We believe that the bug you reported is fixed in the latest version of
lvm10, which is due to be installed in the Debian FTP archive:

lvm10-udeb_1.0.8-5_i386.udeb
  to pool/main/l/lvm10/lvm10-udeb_1.0.8-5_i386.udeb
lvm10_1.0.8-5.diff.gz
  to pool/main/l/lvm10/lvm10_1.0.8-5.diff.gz
lvm10_1.0.8-5.dsc
  to pool/main/l/lvm10/lvm10_1.0.8-5.dsc
lvm10_1.0.8-5_i386.deb
  to pool/main/l/lvm10/lvm10_1.0.8-5_i386.deb



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 261062@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 lvm10 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, 20 Aug 2004 13:58:10 +0100
Source: lvm10
Binary: lvm10 lvm10-udeb
Architecture: source i386
Version: 1:1.0.8-5
Distribution: unstable
Urgency: low
Maintainer: Patrick Caulfield <patrick@debian.org>
Changed-By: Patrick Caulfield <patrick@debian.org>
Description: 
 lvm10      - The Logical Volume Manager for Linux
 lvm10-udeb - The Logical Volume Manager for Linux (udeb)
Closes: 261062 261067
Changes: 
 lvm10 (1:1.0.8-5) unstable; urgency=low
 .
   * Don't die in postinst if lvm-mod isn't loaded
     Closes: #261062
   * Don't truncate long package version numbers.
     Closes: #261067
Files: 
 0bb5463386d79827f2e59053af0bcd07 574 admin optional lvm10_1.0.8-5.dsc
 51013fc2d2e239f176f3e504da933597 26757 admin optional lvm10_1.0.8-5.diff.gz
 55d403fa466164ec75417abdd8d0df9b 2586184 admin optional lvm10_1.0.8-5_i386.deb
 a977a1927889906d0121d39031aa7915 140112 debian-installer extra lvm10-udeb_1.0.8-5_i386.udeb

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

iD8DBQFBJfZVhej7/PCycRMRApwOAJ9c1UuGm+0k+jLrwLGFK7CSNby9IgCbBFCd
vNFELn4ztLCfgHHAyRpxr7s=
=SKHv
-----END PGP SIGNATURE-----




Bug unarchived. Request was from Stefano Zacchiroli <zack@debian.org> to control@bugs.debian.org. (Sun, 10 Apr 2011 08:43:26 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 09 May 2011 07:45:00 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Oct 11 12:07:55 2017; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.