Bug#224441: marked as done (update-grub has broken ordering by kernel version for test/rc/ac/pre kernels)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 24 Jun 2004 16:18:08 -0700


Your message dated Thu, 24 Jun 2004 19:02:41 -0400
with message-id <E1BddEv-0000AW-00@newraff.debian.org>
and subject line Bug#224441: fixed in grub 0.95+cvs20040624-1
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; 19 Dec 2003 01:39:13 +0000
>From strad@cowsgomoo.org Thu Dec 18 19:39:04 2003
Return-path: <strad@cowsgomoo.org>
Received: from lakemtao04.cox.net [68.1.17.241] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AX9X1-0000tx-00; Thu, 18 Dec 2003 19:34:19 -0600
Received: from tron ([68.2.255.87]) by lakemtao04.cox.net
          (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP
          id <20031219013417.TDBS19895.lakemtao04.cox.net@tron>;
          Thu, 18 Dec 2003 20:34:17 -0500
Received: from strad by tron with local (Exim 3.36 #1 (Debian))
	id 1AX9Wz-0006Qa-00; Thu, 18 Dec 2003 18:34:17 -0700
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Coltrey Mather <debian-bugs@cowsgomoo.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: update-grub has broken ordering by kernel version for test/rc/ac/pre kernels
X-Mailer: reportbug 2.37
Date: Thu, 18 Dec 2003 18:34:16 -0700
Message-Id: <E1AX9Wz-0006Qa-00@tron>
Sender: Mister Coco <strad@tron>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15
X-Spam-Level: 

Package: grub
Version: 0.93+cvs20031021-7
Severity: normal
Tags: sid

update-grub does not correctly differenticate ac/pre/rc and completely
ignores the weighting of test kernels.
e.g.: vmlinuz-2.6.0 < vmlinunz-2.6.0-test11

I beleive lines 389-296 should probably read something like (that is,
it works for me):

	# we weight different kernel suffixes here
	# ac   = 50 
	# pre  = -50
	# rc   = -40
	# test = -30
	# others are given 99
	v1=$(echo $v1 | sed -e 's! k7 ! 786 !g' -e 's! test[0-9]* ! -30 !g' -e 's! ac[0-9]* ! 50 !g' -e 's! rc[0-9]* ! -40 !g' -e 's! pre[0-9]* ! -50 !g' -e 's![^-0-9 ]\+!99!g')

	v2=$(echo $v2 | sed -e 's! k7 ! 786 !g' -e 's! test[0-9]* ! -30 !g' -e 's! ac[0-9]* ! 50 !g' -e 's! rc[0-9]* ! -40 !g' -e 's! pre[0-9]* ! -50 !g' -e 's![^-0-9 ]\+!99!g')


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux tron 2.6.0-test11 #1 Thu Nov 27 09:55:15 MST 2003 i686
Locale: LANG=ja_JP, LC_CTYPE=ja_JP

Versions of packages grub depends on:
ii  libc6                     2.3.2.ds1-10   GNU C Library: Shared libraries an
ii  libncurses5               5.3.20030719-4 Shared libraries for terminal hand

-- no debconf information


---------------------------------------
Received: (at 224441-close) by bugs.debian.org; 24 Jun 2004 23:08:40 +0000
>From katie@ftp-master.debian.org Thu Jun 24 16:08:40 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 1BddKi-0006sZ-00; Thu, 24 Jun 2004 16:08:40 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BddEv-0000AW-00; Thu, 24 Jun 2004 19:02:41 -0400
From: Robert Millan <rmh@debian.org>
To: 224441-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#224441: fixed in grub 0.95+cvs20040624-1
Message-Id: <E1BddEv-0000AW-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 24 Jun 2004 19:02:41 -0400
Delivered-To: 224441-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: 

Source: grub
Source-Version: 0.95+cvs20040624-1

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-1_all.deb
  to pool/main/g/grub/grub-disk_0.95+cvs20040624-1_all.deb
grub-doc_0.95+cvs20040624-1_all.deb
  to pool/main/g/grub/grub-doc_0.95+cvs20040624-1_all.deb
grub_0.95+cvs20040624-1.diff.gz
  to pool/main/g/grub/grub_0.95+cvs20040624-1.diff.gz
grub_0.95+cvs20040624-1.dsc
  to pool/main/g/grub/grub_0.95+cvs20040624-1.dsc
grub_0.95+cvs20040624-1_i386.deb
  to pool/main/g/grub/grub_0.95+cvs20040624-1_i386.deb
grub_0.95+cvs20040624.orig.tar.gz
  to pool/main/g/grub/grub_0.95+cvs20040624.orig.tar.gz



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 224441@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Robert Millan <rmh@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: Thu, 24 Jun 2004 16:56:19 +0200
Source: grub
Binary: grub-disk grub grub-doc
Architecture: source i386 all
Version: 0.95+cvs20040624-1
Distribution: unstable
Urgency: low
Maintainer: Grub-Devel <pkg-grub-devel@lists.alioth.debian.org>
Changed-By: Robert Millan <rmh@debian.org>
Description: 
 grub       - GRand Unified Bootloader
 grub-disk  - GRUB bootable disk image
 grub-doc   - Documentation for GRand Unified Bootloader
Closes: 224441 253945 254433
Changes: 
 grub (0.95+cvs20040624-1) unstable; urgency=low
 .
   * New upstream snapshot. (Closes: #254433)
     - Fixes FTBFS in UFS2 code. (Closes: #253945)
     - Resync all patches.
     - patches/revert_grub-set-default.diff: New. Revert to old interface in
       setdefault, untill we implement --once with the new one.
     * FHS compliance for stage files.
       - rules: Unset --datadir.
       - rules: s|/usr/lib/grub|/lib/grub|g.
       - grub-floppy: Likewise.
       - patches/02grub-doco-path.patch: Nuked. Merged in upstream.
   * update-grub: Fix ordering by Linux version for test/rc/ac/pre.
     GrĂ cis Kiko Piris. (Closes: #224441)
   * update-grub: Minor k*bsd-related portability fixes.
Files: 
 ccaf89ccac8923aabc47262c2284f859 826 admin optional grub_0.95+cvs20040624-1.dsc
 87fc0eabf4b123bc430772bd33718464 914614 admin optional grub_0.95+cvs20040624.orig.tar.gz
 7e5de619a2f297c7bfd10622b0787130 49473 admin optional grub_0.95+cvs20040624-1.diff.gz
 893b68226456fe95c237971c4aa538dc 355514 admin optional grub_0.95+cvs20040624-1_i386.deb
 139671befb15a76c2960d2cbe132ce21 531066 admin optional grub-disk_0.95+cvs20040624-1_all.deb
 69945aa4c5ba87405ec52d3f92155fa5 257938 doc optional grub-doc_0.95+cvs20040624-1_all.deb

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

iD8DBQFA21dOC19io6rUCv8RAgBTAJ4jm1tYsscfNWzbfVxODdI01CTsiQCfXYo4
baAzvNlHWDdqr1fX2zV0atE=
=dUO0
-----END PGP SIGNATURE-----