Bug#230136: marked as done (grub: update-grub wrongly detects version for default and previous kernels)
Debian Bug Tracking System
owner@bugs.debian.org
Thu, 18 Nov 2004 15:48:20 -0800
Your message dated Thu, 18 Nov 2004 18:32:11 -0500
with message-id <E1CUvl5-0003oe-00@newraff.debian.org>
and subject line Bug#230136: fixed in grub 0.95+cvs20040624-11
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; 28 Jan 2004 20:17:29 +0000
>From michal@cihar.com Wed Jan 28 12:17:29 2004
Return-path: <michal@cihar.com>
Received: from internet.centrum.cz [62.84.131.184]
by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
id 1Alw7r-0007Ry-00; Wed, 28 Jan 2004 12:17:28 -0800
Received: (qmail 30170 invoked from network); 28 Jan 2004 20:17:22 -0000
Received: from unknown (HELO quirk.cic) (62.84.140.81)
by internet.centrum.cz with SMTP; 28 Jan 2004 20:17:22 -0000
Received: from michal by quirk.cic with local (Exim 4.30)
id 1AlmSe-000640-F6; Wed, 28 Jan 2004 10:58:16 +0100
Content-Type: multipart/mixed; boundary="===============1419876796=="
MIME-Version: 1.0
From: Michal Cihar <michal@cihar.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: grub: update-grub wrongly detects version for default and previous kernels
X-Mailer: reportbug 2.39
Date: Wed, 28 Jan 2004 10:58:16 +0100
Message-Id: <E1AlmSe-000640-F6@quirk.cic>
Sender: Michal Cihar <michal@cihar.com>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_01_27
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-4.2 required=4.0 tests=DATE_IN_PAST_06_12,
HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2004_01_27
X-Spam-Level:
This is a multi-part MIME message sent by reportbug.
--===============1419876796==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: grub
Version: 0.93+cvs20031021-8
Severity: important
Tags: patch sid
Version of default and previous kernels is badly detected which leads to
wrong options passed to 2.6 kernel in my case. Attached patch fixes the
update-grub script.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux quirk.cic 2.6.0-nijel2 #1 Sat Dec 27 12:57:32 CET 2003 i686
Locale: LANG=C, LC_CTYPE=cs_CZ
Versions of packages grub depends on:
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libncurses5 5.3.20030719-5 Shared libraries for terminal hand
-- no debconf information
--===============1419876796==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="/tmp/update-grub.patch"
--- /sbin/update-grub.orig 2004-01-28 10:47:08.000000000 +0100
+++ /sbin/update-grub 2004-01-28 10:53:25.000000000 +0100
@@ -692,18 +692,18 @@
echo "Found kernel: $kernel"
- if [ "$kernelVersion" = "vmlinuz" ]; then
- if [ -L "/boot/$kernelVersion" ]; then
- kernelVersion=`readlink -f "/boot/$kernelVersion"`
+ if [ "$kernelName" = "vmlinuz" ]; then
+ if [ -L "/boot/$kernelName" ]; then
+ kernelVersion=`readlink -f "/boot/$kernelName"`
kernelVersion=$(echo $kernelVersion | sed -e 's/.*vmlinuz-//')
kernelVersion="$kernelVersion Default"
else
kernelVersion="Default"
fi
fi
- if [ "$kernelVersion" = "vmlinuz.old" ]; then
- if [ -L "/boot/$kernelVersion" ]; then
- kernelVersion=`readlink -f "/boot/$kernelVersion"`
+ if [ "$kernelName" = "vmlinuz.old" ]; then
+ if [ -L "/boot/$kernelName" ]; then
+ kernelVersion=`readlink -f "/boot/$kernelName"`
kernelVersion=$(echo $kernelVersion | sed -e 's/.*vmlinuz-//')
kernelVersion="$kernelVersion Previous"
else
--===============1419876796==--
---------------------------------------
Received: (at 230136-close) by bugs.debian.org; 18 Nov 2004 23:38:25 +0000
>From katie@ftp-master.debian.org Thu Nov 18 15:38:25 2004
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 1CUvr6-0007ii-00; Thu, 18 Nov 2004 15:38:25 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1CUvl5-0003oe-00; Thu, 18 Nov 2004 18:32:11 -0500
From: Jason Thomas <jason@debian.org>
To: 230136-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#230136: fixed in grub 0.95+cvs20040624-11
Message-Id: <E1CUvl5-0003oe-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 18 Nov 2004 18:32:11 -0500
Delivered-To: 230136-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(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_2004_03_25
X-Spam-Level:
X-CrossAssassin-Score: 4
Source: grub
Source-Version: 0.95+cvs20040624-11
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-11_all.deb
to pool/main/g/grub/grub-disk_0.95+cvs20040624-11_all.deb
grub-doc_0.95+cvs20040624-11_all.deb
to pool/main/g/grub/grub-doc_0.95+cvs20040624-11_all.deb
grub_0.95+cvs20040624-11.diff.gz
to pool/main/g/grub/grub_0.95+cvs20040624-11.diff.gz
grub_0.95+cvs20040624-11.dsc
to pool/main/g/grub/grub_0.95+cvs20040624-11.dsc
grub_0.95+cvs20040624-11_i386.deb
to pool/main/g/grub/grub_0.95+cvs20040624-11_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 230136@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jason Thomas <jason@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@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 19 Nov 2004 09:40:53 +1100
Source: grub
Binary: grub-disk grub grub-doc
Architecture: source i386 all
Version: 0.95+cvs20040624-11
Distribution: unstable
Urgency: low
Maintainer: Grub Maintainers <pkg-grub-devel@lists.alioth.debian.org>
Changed-By: Jason Thomas <jason@debian.org>
Description:
grub - GRand Unified Bootloader
grub-disk - GRUB bootable disk image
grub-doc - Documentation for GRand Unified Bootloader
Closes: 211096 215116 229649 230136 240599 250545 265915 266049 268141 281652
Changes:
grub (0.95+cvs20040624-11) unstable; urgency=low
.
* Added support for LABEL/UUID to update-grub.
(Closes: #211096, #215116)
* Added support for 4 digit kernel version to update-grub.
(Closes: #266049)
* Added support for memtest86 to update-grub.
(Closes: #229649)
* Fixed update-grub to detect default and previous kernels correctly.
(Closes: #230136, #240599, #250545, #268141)
* Update-grub now ignores .dpkg-*
(Closes: #265915)
* Added support for fat_stage1_5 to linux build.
(Closes: #281652)
* Removed e2fsprogs from Build-Depends-Indep as it is an Essential package.
Files:
6312c61d3fa54da18e50cf672b20621f 888 admin optional grub_0.95+cvs20040624-11.dsc
a1ecf0c6f9f4de39a178a36578a82c86 57457 admin optional grub_0.95+cvs20040624-11.diff.gz
2a88c3e037c0dda156245ab5c15591bb 358066 admin optional grub_0.95+cvs20040624-11_i386.deb
0907858e7a2474fb1f7f5be863d633b5 227732 admin optional grub-disk_0.95+cvs20040624-11_all.deb
e42661f13128fbdf82d1684fb17326ca 259350 doc optional grub-doc_0.95+cvs20040624-11_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBnSzb7cYwRJJSiL4RAjNaAKDzr6sJEJkLdUymxCkP4MK1MGanmQCeJpE4
T+Da3GDgn1LDor5899KolK8=
=DNYB
-----END PGP SIGNATURE-----