[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#504555: marked as done (initramfs-tools: fix reboot partition support)



Your message dated Tue, 16 Dec 2008 15:32:02 +0000
with message-id <E1LCbty-0004x6-VH@ries.debian.org>
and subject line Bug#504555: fixed in initramfs-tools 0.92m
has caused the Debian Bug report #504555,
regarding initramfs-tools: fix reboot partition support
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
504555: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504555
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.92l
Severity: normal

Hi,

Redboot partitioning (used by mtd devices) provides devices with names like
"mtd:foo".  Unfortunately, when booting with root=mtd:foo, the "*:*" check in
parse_numeric is matched and things break (the code expects major:minor
numbers).  This patch fixes that by explicitly checking for something that
starts with a number.
>From 7651875d24f8e35bf4b601beef7b7a4e8b92ad9d Mon Sep 17 00:00:00 2001
From: Andres Salomon <dilinger@debian.org>
Date: Fri, 17 Oct 2008 17:56:22 -0400
Subject: [PATCH] fix redboot partition support

Fix buglet in parse_numeric where *:* would match mtd:root.  We only
want to match numbers.  This fixes redboot partition support.

Signed-off-by: Andres Salomon <dilinger@debian.org>
---
 debian/changelog  |    2 ++
 scripts/functions |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4fdf762..20af58e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ initramfs-tools (0.92l.1) unstable; urgency=high
   * include video (framebuffer, fbcon) modules when 'most' is selected.
   * allow root=mtd0 to be used; skip root checks if ROOT doesn't start
     with /dev.
+  * Fix buglet in parse_numeric where *:* would match mtd:root.  We only
+    want to match numbers.  This fixes redboot partition support.
 
  -- Andres Salomon <dilinger@debian.org>  Tue, 14 Oct 2008 14:16:50 -0400
 
diff --git a/scripts/functions b/scripts/functions
index 299c29c..ba6b2fc 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -238,7 +238,7 @@ parse_numeric() {
 	/*)
 		return
 		;;
-	*:*)
+	[0-9]*:[0-9]*)
 		minor=${1#*:}
 		major=${1%:*}
 		;;
-- 
1.5.6.5


--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.92m

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:

initramfs-tools_0.92m.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.92m.dsc
initramfs-tools_0.92m.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.92m.tar.gz
initramfs-tools_0.92m_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.92m_all.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 504555@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <maks@debian.org> (supplier of updated initramfs-tools 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.8
Date: Tue, 16 Dec 2008 16:01:44 +0100
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.92m
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@debian.org>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 426465 502056 502058 503216 504555 505440 507059 507619
Changes: 
 initramfs-tools (0.92m) unstable; urgency=medium
 .
   [ Colin Watson ]
   * scripts/functions: Call ipconfig with a one-minute timeout.
   * Make debug option write to /dev/.initramfs/initramfs.debug,
     so that it can be retrieved after boot.
 .
   [ Julien Danjou ]
   * scripts/functions: Wrong check for udevadm in functions. (closes: #507059)
 .
   [ maximilian attems ]
   * scripts/functions: fix not set break variable. (closes: #502058)
   * MODULES=dep fix for ida devices.
   * hook-functions: alphebetize net drivers, fix typhoon typo.
   * Add atl1e, cxgb, ixgb, ixgbe, mlx4_core, netxen_nic, sfc, tehuti to
     net module list. (closes: #503216)
   * nuke 0.92k goof clean up.
   * postrm: set -e flag.
   * Revert "framebuffer: Let udev create fb devices."
   * scripts/functions: comment fix path to moved linux-2.6
     Documentation.
   * init: Don't leak initramfs-tools exported variables.
     (closes: #426465, #505440)
 .
   [ dann frazier ]
   * Fix MODULES=dep for cciss devices. (closes: #507619)
 .
   [ Michal Pokrywka ]
   * framebuffer: Add support for uvesafb. (closes: #502056)
 .
   [ Andres Salomon ]
   * fix redboot partition support. (closes: #504555)
Checksums-Sha1: 
 702a221cda8521293cc4f4a6b7f3ae7dbf293f73 1004 initramfs-tools_0.92m.dsc
 beb9f30b6faf92ced331b8b68883c2dd0e344428 68035 initramfs-tools_0.92m.tar.gz
 674de477133f0a777c655dda29dfa09475ae3b3e 74958 initramfs-tools_0.92m_all.deb
Checksums-Sha256: 
 db2603b500bb231840c51a328ce778e1058ff42b8776b85e0e67ab633b5ca099 1004 initramfs-tools_0.92m.dsc
 8978327526fc60e5d8ce03fa1abfbc66c57850800cae5b78838018c6c3a85cb4 68035 initramfs-tools_0.92m.tar.gz
 319731ec24a4d819985424e4ccd4c047f6c809084982a091baf45712c32c7c67 74958 initramfs-tools_0.92m_all.deb
Files: 
 38551370f0e1471b0d98e5a6c150d08a 1004 utils optional initramfs-tools_0.92m.dsc
 f5abdcdcce11c76d5c56c3480da884b9 68035 utils optional initramfs-tools_0.92m.tar.gz
 4194efef739007352dba29ddc51a4abb 74958 utils optional initramfs-tools_0.92m_all.deb

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

iEYEARECAAYFAklHxQAACgkQeW7Lc5tEHqhy8ACfVpYJICSK1g8Q5UJlXEzQcOKT
s7QAoKAdT3zEX83hdT06im7Up8+BqtGT
=hhrO
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: