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

Bug#341383: marked as done (lilo-installer fails to find LVM group)



Your message dated Wed, 25 Jan 2006 04:17:07 -0800
with message-id <E1F1jaF-0000dE-33@spohr.debian.org>
and subject line Bug#341383: fixed in lilo-installer 1.15
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 30 Nov 2005 10:44:02 +0000
>From xmedeko@gmail.com Wed Nov 30 02:44:02 2005
Return-path: <xmedeko@gmail.com>
Received: from service.aswsyst.cz ([195.250.132.194] helo=serverx.aswsyst.cz)
	by spohr.debian.org with smtp (Exim 4.50)
	id 1EhPRR-00064z-Am
	for submit@bugs.debian.org; Wed, 30 Nov 2005 02:44:02 -0800
Received: (qmail 13804 invoked from network); 30 Nov 2005 10:43:59 -0000
Message-ID: <20051130104359.13803.qmail@serverx.aswsyst.cz>
Received: from unknown (HELO ?10.0.10.210?) (10.0.10.210)
  by serverx.aswsyst.cz with SMTP; 30 Nov 2005 10:43:55 -0000
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: MeDon <xmedeko@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: lilo-installer fails to find LVM group
X-Mailer: reportbug 3.8
Date: Wed, 30 Nov 2005 11:43:53 +0100
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-7.3 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	MSGID_FROM_MTA_HEADER autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

Package: lilo-installer
Version: 1.14
Severity: normal


(Architecture i386)

Hi,

I have my own script to partition disc. It create a root LVM volume
/dev/lvmsys/root and mout it as

mount /dev/lvmsys/root /target

However, lilo-installer assumes that an LVM volume is mounted as

mount /dev/mapper/....

So, the function lvm_vg () in postinst does not recognise that root is
mounted on LVM (in my case). I've chenged lvm_vg() to

lvm_vg () {
  # Map from /dev/mapper/<vg>-<lv> to /dev/<vg>/<lv> for
  # Dup of code in partman.
  vglv=${1#/dev/mapper/}
  if [ "$vglv" != "$1" ]; then
    vglv=$(echo "$vglv" | sed -e 's/\([^-]\)-\([^-]\)/\1 \2/' | sed -e 's/--/-/g')
    vg=$(echo "$vglv" | cut -d" " -f1)
    lv=$(echo "$vglv" | cut -d" " -f2)
    lvdisplay -c "/dev/$vg/$lv" 2>/dev/null | cut -d: -f2
  else
    lvdisplay -c "$1" 2>/dev/null | cut -d: -f2
  fi
}

and now it works OK for both cases.


Cheers
        Ondra Medek

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2)

---------------------------------------
Received: (at 341383-close) by bugs.debian.org; 25 Jan 2006 12:22:01 +0000
>From katie@ftp-master.debian.org Wed Jan 25 04:22:01 2006
Return-path: <katie@ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1F1jaF-0000dE-33; Wed, 25 Jan 2006 04:17:07 -0800
From: Frans Pop <fjp@debian.org>
To: 341383-close@bugs.debian.org
X-Katie: $Revision: 1.65 $
Subject: Bug#341383: fixed in lilo-installer 1.15
Message-Id: <E1F1jaF-0000dE-33@spohr.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Wed, 25 Jan 2006 04:17:07 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: lilo-installer
Source-Version: 1.15

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

lilo-installer_1.15.dsc
  to pool/main/l/lilo-installer/lilo-installer_1.15.dsc
lilo-installer_1.15.tar.gz
  to pool/main/l/lilo-installer/lilo-installer_1.15.tar.gz
lilo-installer_1.15_i386.udeb
  to pool/main/l/lilo-installer/lilo-installer_1.15_i386.udeb



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 341383@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frans Pop <fjp@debian.org> (supplier of updated lilo-installer 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: Wed, 25 Jan 2006 12:46:14 +0100
Source: lilo-installer
Binary: lilo-installer
Architecture: source i386
Version: 1.15
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Frans Pop <fjp@debian.org>
Description: 
 lilo-installer - Install LILO on a hard disk (udeb)
Closes: 341383
Changes: 
 lilo-installer (1.15) unstable; urgency=low
 .
   [ Joey Hess ]
   * Applied a patch from Ondra Medek to support lvm volumes that are not
     mounted via /dev/mapper/. Closes: #341383
 .
   [ Colin Watson ]
   * Resolve any symlinks in the output from 'pvdisplay -c', fixing issues
     when using udev. Requires busybox-udeb 1:1.01-4.
 .
   [ Frans Pop ]
   * Add myself to uploaders.
 .
   [ Updated translations ]
   * Arabic (ar.po) by Ossama M. Khayat
   * Bengali (bn.po) by Baishampayan Ghose
   * Danish (da.po) by Claus Hindsgaul
   * German (de.po) by Jens Seidel
   * Greek, Modern (1453-) (el.po) by Konstantinos Margaritis
   * Finnish (fi.po) by Tapio Lehtonen
   * French (fr.po) by Christian Perrier
   * Galician (gl.po) by Jacobo Tarrio
   * Indonesian (id.po) by Parlin Imanuel Toh
   * Icelandic (is.po) by David Steinn Geirsson
   * Korean (ko.po) by Sunjae park
   * Lithuanian (lt.po) by KÄ?stutis BiliÅ«nas
   * Latvian (lv.po) by Aigars Mahinovs
   * Malagasy (mg.po) by Jaonary Rabarisoa
   * Dutch (nl.po) by Bart Cornelis
   * Norwegian Nynorsk (nn.po)
   * Punjabi (Gurmukhi) (pa_IN.po) by Amanpreet Singh Alam
   * Polish (pl.po) by Bartosz Fenski
   * Romanian (ro.po) by Eddy PetriÅ?or
   * Russian (ru.po) by Yuri Kozlov
   * Slovenian (sl.po) by Jure Cuhalev
   * Albanian (sq.po) by Elian Myftiu
   * Swedish (sv.po) by Daniel Nylander
   * Tagalog (tl.po) by Eric Pareja
   * Turkish (tr.po) by Recai OktaÅ?
   * Vietnamese (vi.po) by Clytie Siddall
Files: 
 f72a955238a0fc17393ebb9628a69e60 629 debian-installer standard lilo-installer_1.15.dsc
 5c759e923b67817d1cde5641ebcb94a0 82433 debian-installer standard lilo-installer_1.15.tar.gz
 8a482a698545faec878b7ddb5a41c404 57356 debian-installer standard lilo-installer_1.15_i386.udeb
Package-Type: udeb

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

iD8DBQFD12mJgm/Kwh6ICoQRAvm1AJ4lvkAt2Ut4EsT5jtY4X+lqAL5qDQCguLOL
FvFGLGXRvl1NPZ1xkPfrriw=
=wkhF
-----END PGP SIGNATURE-----



Reply to: