Your message dated Wed, 25 Oct 2006 19:02:09 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#395259: fixed in nobootloader 1.13
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)

--- Begin Message ---
Package: nobootloader
Version: 1.12
Severity: grave
Tags: patch
Justification: renders package unusable


It seems that nobootloader uses still devfs paths for some reason. The
following line :

  part="$(($(echo "$bootfs_devfs" | sed 's/[^0-9]*//') - $partition_offset))"

will fail on paths like this one :

  /dev/ide/host0/bus0/target0/lun0/part4

Since :

  $ echo /dev/ide/host0/bus0/target0/lun0/part4 | sed 's/[^0-9]*//'
  0/bus0/target0/lun0/part4

which causes the calculation to result in a division by zero, thus making it
impossible to create a bootable pegasos system.

Please apply the below patch to fix this problem.

Friendly,

Sven Luther

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-powerpc
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Index: nobootloader/debian/postinst
===================================================================
--- nobootloader/debian/postinst	(revision 42226)
+++ nobootloader/debian/postinst	(working copy)
@@ -75,13 +75,14 @@
 					;;
 			esac
 			part="$(($(echo "$bootfs_devfs" | sed 's/[^0-9]*//') - $partition_offset))"
+			part="$(($(echo "$bootfs_devfs" | sed 's%^.*part%%') - $partition_offset))"
 		else
 			kind=`echo $bootfs_devfs | sed -e 's%/dev/%%' -e 's%/host.*$%%'`
 			host=`echo $bootfs_devfs | sed -e 's%^.*host%%' -e 's%/bus.*$%%'`
 			bus=`echo $bootfs_devfs | sed -e 's%^.*bus%%' -e 's%/target.*$%%'`
 			target=`echo $bootfs_devfs | sed -e 's%^.*target%%' -e 's%/lun.*$%%'`
 			lun=`echo $bootfs_devfs | sed -e 's%^.*lun%%' -e 's%/part.*$%%'`
-			part="$(($(echo $bootfs_devfs | sed -e 's%^.*part%%') - $partition_offset))"
+			part="$(($(echo "$bootfs_devfs" | sed -e 's%^.*part%%') - $partition_offset))"
 		fi
 
 		# We don't know how to map non ide or scsi disks
Index: nobootloader/debian/changelog
===================================================================
--- nobootloader/debian/changelog	(revision 42226)
+++ nobootloader/debian/changelog	(working copy)
@@ -1,3 +1,10 @@
+nobootloader (1.13) UNRELEASED; urgency=low
+
+  [ Sven Luther ]
+  * Fixed bad sed invocation, which failed on devfs-style paths.
+
+ -- Sven Luther <[EMAIL PROTECTED]>  Wed, 25 Oct 2006 22:59:00 +0200
+
 nobootloader (1.12) unstable; urgency=low
 
   [ Updated translations ]
@@ -31,7 +38,7 @@
       partitions at 0.
 
   [ Sven Luther ]
-  * Update template for Genisi systems. Closes #388591.
+  * Update template for Genesi systems. Closes #388591.
 
   [ Christian Perrier ]
   * Avoid splitting a sentence in two parts which can make translations

--- End Message ---
--- Begin Message ---
Source: nobootloader
Source-Version: 1.13

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

nobootloader_1.13.dsc
  to pool/main/n/nobootloader/nobootloader_1.13.dsc
nobootloader_1.13.tar.gz
  to pool/main/n/nobootloader/nobootloader_1.13.tar.gz
nobootloader_1.13_all.udeb
  to pool/main/n/nobootloader/nobootloader_1.13_all.udeb



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.
Frans Pop <[EMAIL PROTECTED]> (supplier of updated nobootloader 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: Thu, 26 Oct 2006 03:46:59 +0200
Source: nobootloader
Binary: nobootloader
Architecture: source all
Version: 1.13
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Frans Pop <[EMAIL PROTECTED]>
Description: 
 nobootloader - Don't install any bootloader. (udeb)
Closes: 395259
Changes: 
 nobootloader (1.13) unstable; urgency=low
 .
   [ Sven Luther ]
   * Fix bad sed invocation, which failed on devfs-style paths.
     Closes: #395259.
Files: 
 2a2f65e973baa45899d2219c350f5722 708 debian-installer standard 
nobootloader_1.13.dsc
 7d8f387fc460da6b357c61c8cb0a5c2f 56508 debian-installer standard 
nobootloader_1.13.tar.gz
 3098055abff34983c4cbe283c7cb0047 44486 debian-installer standard 
nobootloader_1.13_all.udeb
Package-Type: udeb

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

iD8DBQFFQBQSgm/Kwh6ICoQRAmgGAJ0QT17jgQ7yoQUmQDSAnn7xNkMrDwCfUJU3
lGUyvxwjTvTBsy4gs+weza4=
=NUdX
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to