Bug#336573: marked as done (/sbin/update-grub: fail to find_device
because of typo)
Debian Bug Tracking System
owner at bugs.debian.org
Mon Oct 31 22:48:24 UTC 2005
Your message dated Mon, 31 Oct 2005 14:18:50 -0800
with message-id <E1EWhzO-0006Jn-00 at spohr.debian.org>
and subject line Bug#336573: fixed in grub 0.95+cvs20040624-19
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; 31 Oct 2005 09:33:27 +0000
>From jean-christophe.andre at auf.org Mon Oct 31 01:33:27 2005
Return-path: <jean-christophe.andre at auf.org>
Received: from (hoadao.vn.refer.org) [210.245.61.205]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EWW2h-0003dg-00; Mon, 31 Oct 2005 01:33:27 -0800
Received: from virus.home (unknown [203.210.155.25])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client did not present a certificate)
by hoadao.vn.refer.org (Postfix) with ESMTP id 93BBC21D
for <submit at bugs.debian.org>; Mon, 31 Oct 2005 16:33:24 +0700 (ICT)
Received: by virus.home (Postfix, from userid 1000)
id 3553D5A1E6; Mon, 31 Oct 2005 16:28:15 +0700 (ICT)
Content-Type: multipart/mixed; boundary="===============0504838877=="
MIME-Version: 1.0
From: Progfou <jean-christophe.andre at auf.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: /sbin/update-grub: fail to find_device because of typo
X-Mailer: reportbug 3.17
Date: Mon, 31 Oct 2005 16:28:15 +0700
Message-Id: <20051031092815.3553D5A1E6 at virus.home>
Delivered-To: submit at 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.5 required=4.0 tests=BAYES_00,HAS_PACKAGE,
RCVD_IN_SORBS autolearn=no version=2.60-bugs.debian.org_2005_01_02
This is a multi-part MIME message sent by reportbug.
--===============0504838877==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: grub
Version: 0.95+cvs20040624-18
Severity: important
Tags: patch
There is a small typo in the new update-grub root discovery
functionality that make grub selecting the wrong root device
in case it's not /dev/hda1 (default)! Here is a patch.
Regards.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (900, 'unstable'), (800, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages grub depends on:
ii libc6 2.3.5-7 GNU C Library: Shared libraries an
ii libncurses5 5.5-1 Shared libraries for terminal hand
grub recommends no packages.
-- no debconf information
--===============0504838877==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="update-grub.diff"
--- /sbin/update-grub 2005-10-29 23:47:22.000000000 +0700
+++ update-grub 2005-10-31 16:22:15.000000000 +0700
@@ -63,7 +63,7 @@
device=
if [ -f /etc/fstab ] ; then
while read DEV MNT FOO; do
- if [ `echo "$DEV" | grep -q "^#"` ]; then
+ if `echo "$DEV" | grep -q "^#"`; then
continue
fi
if [ "$MNT" = "$mount_point" ]; then
@@ -91,7 +91,7 @@
device=$(find_device "/")
if [ -z "$device" ]; then
- echo "$PROG: Cannot determine root device. Assuming /dev/hda1" >&2
+ echo "Cannot determine root device. Assuming /dev/hda1" >&2
echo "This error is probably caused by an invalid /etc/fstab" >&2
device=/dev/hda1
fi
--===============0504838877==--
---------------------------------------
Received: (at 336573-close) by bugs.debian.org; 31 Oct 2005 22:28:50 +0000
>From katie at spohr.debian.org Mon Oct 31 14:28:50 2005
Return-path: <katie at spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
id 1EWhzO-0006Jn-00; Mon, 31 Oct 2005 14:18:50 -0800
From: Otavio Salvador <otavio at debian.org>
To: 336573-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#336573: fixed in grub 0.95+cvs20040624-19
Message-Id: <E1EWhzO-0006Jn-00 at spohr.debian.org>
Sender: Archive Administrator <katie at spohr.debian.org>
Date: Mon, 31 Oct 2005 14:18:50 -0800
Delivered-To: 336573-close at 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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Source: grub
Source-Version: 0.95+cvs20040624-19
We believe that the bug you reported is fixed in the latest version of
grub, which is due to be installed in the Debian FTP archive:
grub-disk_0.95+cvs20040624-19_all.deb
to pool/main/g/grub/grub-disk_0.95+cvs20040624-19_all.deb
grub-doc_0.95+cvs20040624-19_all.deb
to pool/main/g/grub/grub-doc_0.95+cvs20040624-19_all.deb
grub_0.95+cvs20040624-19.dsc
to pool/main/g/grub/grub_0.95+cvs20040624-19.dsc
grub_0.95+cvs20040624-19.tar.gz
to pool/main/g/grub/grub_0.95+cvs20040624-19.tar.gz
grub_0.95+cvs20040624-19_i386.deb
to pool/main/g/grub/grub_0.95+cvs20040624-19_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 336573 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Otavio Salvador <otavio at debian.org> (supplier of updated grub 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 at debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Mon, 31 Oct 2005 18:54:39 -0200
Source: grub
Binary: grub-disk grub grub-doc
Architecture: source i386 all
Version: 0.95+cvs20040624-19
Distribution: unstable
Urgency: low
Maintainer: Grub Maintainers <pkg-grub-devel at lists.alioth.debian.org>
Changed-By: Otavio Salvador <otavio at debian.org>
Description:
grub - GRand Unified Bootloader
grub-disk - GRUB bootable disk image
grub-doc - Documentation for GRand Unified Bootloader
Closes: 336573
Changes:
grub (0.95+cvs20040624-19) unstable; urgency=low
.
* Applied patch to fix a typo on update-grub script. (closes: #336573)
Files:
edfb7069d0e89945f1fc165ed8104c0e 896 admin optional grub_0.95+cvs20040624-19.dsc
18421e38f794f0d1d8395da5bf65f146 1994752 admin optional grub_0.95+cvs20040624-19.tar.gz
ac7663a4869cec83212f95274298d61d 349222 admin optional grub_0.95+cvs20040624-19_i386.deb
c7494044dc94f2c2c18ba5927995c5d1 226550 admin optional grub-disk_0.95+cvs20040624-19_all.deb
d00f933fff5ba0c9230c304088575e4d 171326 doc optional grub-doc_0.95+cvs20040624-19_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDZoWeLqiZQEml+FURApsCAJ0eWwW32mrhX9Uj2xmLj4Cxcej9UgCdFiTz
W65FX8s45goO0f1Y+2jrgSo=
=XeL2
-----END PGP SIGNATURE-----
More information about the Pkg-grub-devel
mailing list