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

Bug#304358: marked as done (lilo-installer: should not try to make MD device active)



Your message dated Tue, 12 Apr 2005 15:47:51 -0400
with message-id <E1DLRMV-000430-00@newraff.debian.org>
and subject line Bug#304358: fixed in lilo-installer 1.10
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; 12 Apr 2005 16:03:24 +0000
>From eugen@univ.kiev.ua Tue Apr 12 09:03:24 2005
Return-path: <eugen@univ.kiev.ua>
Received: from boy.univ.kiev.ua (mail.univ.kiev.ua) [193.125.78.122] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DLNrG-0002Qf-00; Tue, 12 Apr 2005 09:03:24 -0700
Received: from intel4.icc.univ.kiev.ua ([10.25.0.243])
	by mail.univ.kiev.ua with esmtp (Exim 4.43)
	id 1DLNtB-000984-9D; Tue, 12 Apr 2005 19:05:21 +0300
Received: from eugen by intel4.icc.univ.kiev.ua with local (Exim 4.50)
	id 1DLNrD-00041o-MM; Tue, 12 Apr 2005 19:03:19 +0300
Content-Type: multipart/mixed; boundary="===============0984633239=="
MIME-Version: 1.0
From: Eugeniy Meshcheryakov <eugen@univ.kiev.ua>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: lilo-installer: should not try to make MD device active
X-Mailer: reportbug 3.9
Date: Tue, 12 Apr 2005 19:03:19 +0300
Message-Id: <[🔎] E1DLNrD-00041o-MM@intel4.icc.univ.kiev.ua>
X-Spam-Score: -1.2
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-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============0984633239==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: lilo-installer
Severity: normal
Tags: d-i patch

  When user selects to install lilo on MD device lilo-installer tries to
make it active. It should not do this. Attached patch fixes this bug and
also makes it possible to enter MD device manually.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11
Locale: LANG=uk_UA.KOI8-U, LC_CTYPE=uk_UA.KOI8-U (charmap=KOI8-U)

--===============0984633239==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="lilo-installer-md.diff"

Index: debian/postinst
===================================================================
--- debian/postinst	(revision 26681)
+++ debian/postinst	(working copy)
@@ -86,14 +86,14 @@
       db_get lilo-installer/manual_bootdev
 
         case "$RET" in
-          /dev/ide*|/dev/discs/*|/dev/scsi/*)
+          /dev/ide*|/dev/discs/*|/dev/scsi/*|/dev/md/*)
 	   if [ -b "$RET" ]; then
 	    bootdev="$(mapdevfs $RET)"
 	    not_done=0
 	    part=$(echo $bootdev | sed 's/.*\([0-9]\)/part\1/')
 	   fi
 	  ;;
-	  /dev/[hs]d[a-z]*)
+	  /dev/[hs]d[a-z]*|/dev/md*)
 	    bootdev=$RET;
 	    not_done=0
 	    part=$(echo $bootdev | sed 's/.*\([0-9]\)/part\1/')
@@ -118,7 +118,8 @@
 db_progress info lilo-installer/progress_active
 
 # If installing to a partition (not MBR), offer to make it active
-if echo "${bootdev}" | grep -q '[0-9]$'; then
+# Do not try to make MD device active
+if (echo "${bootdev}" | grep -q '[0-9]$') && !(echo "${bootdev}" | grep -q '^/dev/md'); then
     # Installing to a partition, check if it is already marked active
     if ! fdisk -l ${disc_offered_devfs} | grep "^/dev[a-z0-9/]\+${part} " | grep -q '\*'; then
         # partition is not marked active, offer to make it so

--===============0984633239==--

---------------------------------------
Received: (at 304358-close) by bugs.debian.org; 12 Apr 2005 19:55:06 +0000
>From katie@ftp-master.debian.org Tue Apr 12 12:55:06 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DLRTV-0001Nz-00; Tue, 12 Apr 2005 12:55:05 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DLRMV-000430-00; Tue, 12 Apr 2005 15:47:51 -0400
From: Joey Hess <joeyh@debian.org>
To: 304358-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#304358: fixed in lilo-installer 1.10
Message-Id: <E1DLRMV-000430-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Tue, 12 Apr 2005 15:47:51 -0400
Delivered-To: 304358-close@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-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
X-Spam-Level: 

Source: lilo-installer
Source-Version: 1.10

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.10.dsc
  to pool/main/l/lilo-installer/lilo-installer_1.10.dsc
lilo-installer_1.10.tar.gz
  to pool/main/l/lilo-installer/lilo-installer_1.10.tar.gz
lilo-installer_1.10_i386.udeb
  to pool/main/l/lilo-installer/lilo-installer_1.10_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 304358@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <joeyh@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: Tue, 12 Apr 2005 15:45:40 -0400
Source: lilo-installer
Binary: lilo-installer
Architecture: source i386
Version: 1.10
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description: 
 lilo-installer - Install LILO on a hard disk (udeb)
Closes: 304358
Changes: 
 lilo-installer (1.10) unstable; urgency=low
 .
   * Colin Watson
     - Send lilo output to /var/log/messages.
   * Joey Hess
     - Apply patch by Eugeniy Meshcheryakov to avoid making MD devices active,
       and allow manual entry of MD device names. Closes: #304358
Files: 
 a1b57fe439ee31470e6b20983817e563 640 debian-installer standard lilo-installer_1.10.dsc
 8fe14fb961d9f72992a869612c7630cc 61021 debian-installer standard lilo-installer_1.10.tar.gz
 41772f363546a449cea89d030b99b0b6 43838 debian-installer standard lilo-installer_1.10_i386.udeb
package-type: udeb

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

iD8DBQFCXCWW2tp5zXiKP0wRAiYlAJ40mB4J6FfXoIQPl8ed4U8oGlSSUQCgrkVY
qbmtNFquS+HGf6dPaQAhnUE=
=klfr
-----END PGP SIGNATURE-----



Reply to: