Bug#321072: marked as done (update-grub fail if cwd is /usr/bin)
Debian Bug Tracking System
owner at bugs.debian.org
Sat Oct 29 17:33:34 UTC 2005
Your message dated Sat, 29 Oct 2005 10:02:17 -0700
with message-id <E1EVu5x-0003RS-00 at spohr.debian.org>
and subject line Bug#321072: fixed in grub 0.95+cvs20040624-18
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; 3 Aug 2005 09:36:57 +0000
>From lll_deb at m4x.org Wed Aug 03 02:36:57 2005
Return-path: <lll_deb at m4x.org>
Received: from emmental.realmagic.fr (bunker.france.sdesigns.com) [82.229.218.57]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1E0FgG-00014q-00; Wed, 03 Aug 2005 02:36:56 -0700
Received: from pavuc.france.sdesigns.com (pavuc.france.sdesigns.com [172.27.0.37])
by bunker.france.sdesigns.com (Postfix) with ESMTP
id D67289D4A2; Wed, 3 Aug 2005 11:36:53 +0200 (CEST)
Received: by pavuc.france.sdesigns.com (Postfix, from userid 1091)
id 087284AD63; Wed, 3 Aug 2005 11:36:53 +0200 (CEST)
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
From: Loic Le Loarer <lll_deb at m4x.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: update-grub fail if cwd is /usr/bin
X-Mailer: reportbug 3.15
Date: Wed, 03 Aug 2005 11:36:53 +0200
Message-Id: <20050803093653.087284AD63 at pavuc.france.sdesigns.com>
Content-Transfer-Encoding: quoted-printable
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Package: grub
Version: 0.95+cvs20040624-17
Severity: normal
Tags: patch
Hi,
When lanching update-grub while current working directory is /usr/bin,
it takes a long time to execute and fail.
I have found the reason of the problem, it is the line 700 of
/sbin/update-grub which is buggy :
for kern in $(/bin/ls -1vr /boot/vmlinuz-* | grep -v dpkg-*) ; do
The "grep -v dpkg-*" is expanded when a dpkg-something file is present
in the current directory, which is not what we want.
The correction is simple, change=20
grep -v dpkg-*
in
grep -v "dpkg-*"
or better remove this part of the pipe as it is not useful (I don't see
how the first part of the pipe could produce a line containing "dpkg-*",
which by the way is probably a misspelling of "dpkg-.*").
Best regards.
--=20
Lo=EFc Le Loarer
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (110, 'stable'), (99, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.3-p4-1
Locale: LANG=3Dfr_FR, LC_CTYPE=3Dfr_FR (charmap=3DISO-8859-1)
Versions of packages grub depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared librar=
ies an
ii libncurses5 5.4-8 Shared libraries for termina=
l hand
grub recommends no packages.
-- no debconf information
---------------------------------------
Received: (at 321072-close) by bugs.debian.org; 29 Oct 2005 17:08:38 +0000
>From katie at spohr.debian.org Sat Oct 29 10:08:36 2005
Return-path: <katie at spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
id 1EVu5x-0003RS-00; Sat, 29 Oct 2005 10:02:17 -0700
From: Otavio Salvador <otavio at debian.org>
To: 321072-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#321072: fixed in grub 0.95+cvs20040624-18
Message-Id: <E1EVu5x-0003RS-00 at spohr.debian.org>
Sender: Archive Administrator <katie at spohr.debian.org>
Date: Sat, 29 Oct 2005 10:02:17 -0700
Delivered-To: 321072-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=-5.2 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
REMOVE_REMOVAL_NEAR autolearn=no
version=2.60-bugs.debian.org_2005_01_02
Source: grub
Source-Version: 0.95+cvs20040624-18
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-18_all.deb
to pool/main/g/grub/grub-disk_0.95+cvs20040624-18_all.deb
grub-doc_0.95+cvs20040624-18_all.deb
to pool/main/g/grub/grub-doc_0.95+cvs20040624-18_all.deb
grub_0.95+cvs20040624-18.diff.gz
to pool/main/g/grub/grub_0.95+cvs20040624-18.diff.gz
grub_0.95+cvs20040624-18.dsc
to pool/main/g/grub/grub_0.95+cvs20040624-18.dsc
grub_0.95+cvs20040624-18_i386.deb
to pool/main/g/grub/grub_0.95+cvs20040624-18_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 321072 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: Sat, 29 Oct 2005 14:14:27 -0200
Source: grub
Binary: grub-disk grub grub-doc
Architecture: source i386 all
Version: 0.95+cvs20040624-18
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: 261936 266243 280086 306255 310030 318539 321072 333181 335038
Changes:
grub (0.95+cvs20040624-18) unstable; urgency=low
.
* Fix update-grub to handle the case when /boot is in another partition
then /. (closes: #280086, #261936)
* Fix update-grub to don't fail when called from /usr/bin. (closes: #321072)
* Applied patch from Martin Michlmayr <tbm at cyrius.com> to not generate
trailing white space. (closes: #310030)
* Applied patch from Y Giridhar Appaji Nag <debian at appaji.net> to fix
FTBFS due invalid storage class for function. (closes: #318539)
* Remove code to use gcc-3.4 in case of x86-64 architecture since we now
use gcc-4.0 as default compiler.
* fwritable-strings_remove.diff: New. Remove -fwritable-strings from
Makefiles to allow the build with GCC 4.0.
* Change code to handle architectures to be compatible with new dpkg
versions but maintaining it backward compatible to make easier to
backport it to stable. (closes: #335038)
* Clean up doc directory in clean targe of rules.
* Bump Standards-Version to 3.6.2.1 (no changes need).
* Add myself in Uploaders field.
* Remove Robert Millan <rmh at debian.org> from Uploaders field as
requested by him.
* Applied patch from Jason Thomas <jason at debian.org> to remove the use
of awk. (closes: #266243)
* Applied patch from Jens Kubieziel <jens at kubieziel.de> to fix a typo in
update-grub script. (closes: #333181, #306255)
* Add gen-control target in rules and remove the control update from
clean target since it isn't allowed in Debian Police anymore.
* Update FSF address in copyright file.
Files:
a611d42fe2805e301e279acc01f947ea 970 admin optional grub_0.95+cvs20040624-18.dsc
8f4473fa633a1ca5efb06a13214ffba6 60874 admin optional grub_0.95+cvs20040624-18.diff.gz
0faa59927af5d2f95aac66681392980b 349172 admin optional grub_0.95+cvs20040624-18_i386.deb
54fbeb92f4a4c9a8a539c9af6d07acfd 226510 admin optional grub-disk_0.95+cvs20040624-18_all.deb
9c1584ca8a0c5ee22a9cbe373da3f20f 171274 doc optional grub-doc_0.95+cvs20040624-18_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDY6gdLqiZQEml+FURAtWwAKCQjOJPLrlxSeVOX3SSJErsiJ0B3wCcD0gG
FAQugoB5c3qP3l/TYa6/Tdk=
=ps90
-----END PGP SIGNATURE-----
More information about the Pkg-grub-devel
mailing list