Your message dated Mon, 09 Jan 2006 07:47:03 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#346127: fixed in grub 0.97-3
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; 5 Jan 2006 21:11:36 +0000
>From [EMAIL PROTECTED] Thu Jan 05 13:11:30 2006
Return-path: <[EMAIL PROTECTED]>
Received: from r5ap74.chello.upc.cz ([86.49.49.74] helo=cihar.com)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1EucOI-0006IY-QQ
        for [EMAIL PROTECTED]; Thu, 05 Jan 2006 13:11:29 -0800
Received: from michal by cihar.com with local (Exim 4.60)
        (envelope-from <[EMAIL PROTECTED]>)
        id 1EucOE-0001wU-3f; Thu, 05 Jan 2006 22:11:18 +0100
Content-Type: multipart/mixed; boundary="===============0093636556=="
MIME-Version: 1.0
From: =?utf-8?b?TWljaGFsIMSMaWhhxZk=?= <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: update-grub fails with dash if there are no kopt_
Message-ID: <[EMAIL PROTECTED]>
X-Mailer: reportbug 3.18
Date: Thu, 05 Jan 2006 22:11:17 +0100
Delivered-To: [EMAIL PROTECTED]
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

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

--===============0093636556==
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline

Package: grub
Version: 0.97-2
Severity: normal
Tags: patch

Hi

as stated it subject update-grub fails to run with dash as /bin/sh if
there is no line like kopt_ in menu.lst. This is caused by passing empty
string to eval, attached patch fixes it.

-- 
    Michal Čihař | http://cihar.com

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-raptor
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages grub depends on:
ii  libc6                         2.3.5-11   GNU C Library: Shared libraries an
ii  libncurses5                   5.5-1      Shared libraries for terminal hand

grub recommends no packages.

-- no debconf information

--===============0093636556==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="update-grub.patch"

--- /tmp/update-grub    2006-01-05 22:02:50.826639000 +0100
+++ /sbin/update-grub   2006-01-05 21:02:07.744658500 +0100
@@ -635,7 +635,8 @@
 test -z "$(GetMenuOpt "kopt" "")" && kopt_2_6="root=$root_device_2_6 ro"
 
 # Extract options for specific kernels
-eval $(ExtractMenuOpts "\(kopt_[a-zA-Z0-9_]\+\)")
+opts="$(ExtractMenuOpts "\(kopt_[a-zA-Z0-9_]\+\)")"
+test -z "$opts" || eval "$opts"
 CustomKopts=$(GetMenuOpts "\(kopt_[a-zA-Z0-9_]\+\)")
 
 # Extract the grub root

--===============0093636556==--

---------------------------------------
Received: (at 346127-close) by bugs.debian.org; 9 Jan 2006 15:50:38 +0000
>From [EMAIL PROTECTED] Mon Jan 09 07:50:38 2006
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
        id 1EvzEd-0007mF-MF; Mon, 09 Jan 2006 07:47:03 -0800
From: Otavio Salvador <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.65 $
Subject: Bug#346127: fixed in grub 0.97-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 09 Jan 2006 07:47:03 -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: grub
Source-Version: 0.97-3

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.97-3_all.deb
  to pool/main/g/grub/grub-disk_0.97-3_all.deb
grub-doc_0.97-3_all.deb
  to pool/main/g/grub/grub-doc_0.97-3_all.deb
grub_0.97-3.diff.gz
  to pool/main/g/grub/grub_0.97-3.diff.gz
grub_0.97-3.dsc
  to pool/main/g/grub/grub_0.97-3.dsc
grub_0.97-3_i386.deb
  to pool/main/g/grub/grub_0.97-3_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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Otavio Salvador <[EMAIL PROTECTED]> (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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon,  9 Jan 2006 13:37:41 -0200
Source: grub
Binary: grub-disk grub grub-doc
Architecture: source i386 all
Version: 0.97-3
Distribution: unstable
Urgency: low
Maintainer: Grub Maintainers <[EMAIL PROTECTED]>
Changed-By: Otavio Salvador <[EMAIL PROTECTED]>
Description: 
 grub       - GRand Unified Bootloader
 grub-disk  - GRUB bootable disk image
 grub-doc   - Documentation for GRand Unified Bootloader
Closes: 264312 314210 342221 344739 344767 346080 346127 346327
Changes: 
 grub (0.97-3) unstable; urgency=low
 .
   * Replace automake1.9 build-dependencie with automake1.8 to fix a FTBFS
     issue. (closes: #344739, #346080)
   * Redirect output to stderr. Thanks Bastian Blank <[EMAIL PROTECTED]> for
     a better solution. (closes: #344767, #346327)
   * Add print_func.diff patch to beep in menu.lst. Useful for blind
     people. Really thank up Osvaldo La rosa <[EMAIL PROTECTED]> for the
     patch. (closes: #314210)
   * Applied patch provided by Kristian Edlund <[EMAIL PROTECTED]> to fix
     ordering kernel issues. (closes: #264312, #342221)
   * Applied patch provided by Michal Cihar <[EMAIL PROTECTED]> to allow
     update-grub to run with dash. (closes: #346127)
Files: 
 f33f9d32562bf9a3a054473d9edf9309 932 admin optional grub_0.97-3.dsc
 ea9a96d60e9760f313ec04dc97316f20 60160 admin optional grub_0.97-3.diff.gz
 5ce5fdba383383e99616b9cc77ec7d9f 357734 admin optional grub_0.97-3_i386.deb
 f5f34c8713f72ab3883e9b30a27fe9b0 231474 admin optional grub-disk_0.97-3_all.deb
 a4440c379067ce3b2f1ca20bd8c54176 266292 doc optional grub-doc_0.97-3_all.deb

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

iD8DBQFDwoRULqiZQEml+FURAqkHAJ9erPyIqxAyOEZ8YoYUDMa6ZFx+sACfTdbf
yFkKvkUX5l5tQk5MgcquQPI=
=h+iY
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to