Your message dated Sun, 06 Feb 2011 09:41:55 +0000
with message-id <[email protected]>
and subject line Bug#610604: fixed in syslinux 2:4.03+dfsg-10
has caused the Debian Bug report #610604,
regarding extlinux-postinst does not install /usr/lib/extlinux/mbr.bin into MBR
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 [email protected]
immediately.)


-- 
610604: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610604
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: extlinux
Version: 2:4.03+dfsg-9
Severity: important
Tags: experimental patch

Hi,

on one system I have my / partition (including /boot) on /dev/sda3. The
extlinux-update script thus correctly sets the EXTLINUX_ROOT variable to
/dev/sda3, resp. its UID. However, when  the root partition is represented by
its UID in EXTLINUX_ROOT, then extlinux-postinst will call extlinux-install
with this UID, i.e. "extlinux-install ${UID-of-/dev/sda3}" instead of
"extlinux-install ${UID-of-/dev/sda}". Needless to say this won't install
/usr/lib/extlinux/mbr.bin into the MBR of the /dev/sda disk.

I think the UUID of the root partition has to get translated into the classic
device name form and then get the partition number removed. the attached patch
does right this.

 - Fabian



-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (501, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages extlinux depends on:
ii  cdebconf [debconf-2.0]        0.153      Debian Configuration Management Sy
ii  debconf [debconf-2.0]         1.5.38     Debian configuration management sy
ii  libc6                         2.11.2-8   Embedded GNU C Library: Shared lib

Versions of packages extlinux recommends:
ii  syslinux-common            2:4.03+dfsg-9 collection of boot loaders (common
ii  syslinux-themes-debian     3-1           utilities for the syslinux bootloa

extlinux suggests no packages.

-- debconf information:
* extlinux/install: true
--- extlinux.postinst.orig      2011-01-20 13:16:34.000000000 +0100
+++ extlinux.postinst   2011-01-20 13:19:14.000000000 +0100
@@ -19,7 +19,8 @@
 
                                if echo ${EXTLINUX_ROOT} | grep -qs UUID
                                then
-                                       _DEVICE="/dev/disk/by-uuid/$(echo 
${EXTLINUX_ROOT} | awk -F= '{ print $3 }')"
+                                       _PARTITION="$(readlink -f 
`/dev/disk/by-uuid/$(echo ${EXTLINUX_ROOT} | awk -F= '{ print $3 }')`)"
+                                       _DEVICE="$(echo ${_PARTITION} | sed -e 
's|[0-9]||g')"
                                else
                                        _DEVICE="$(echo ${EXTLINUX_ROOT} | awk 
-F= '{ print $2 }' | sed -e 's|[0-9]||g')"
                                fi

--- End Message ---
--- Begin Message ---
Source: syslinux
Source-Version: 2:4.03+dfsg-10

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

extlinux_4.03+dfsg-10_i386.deb
  to main/s/syslinux/extlinux_4.03+dfsg-10_i386.deb
syslinux-common_4.03+dfsg-10_all.deb
  to main/s/syslinux/syslinux-common_4.03+dfsg-10_all.deb
syslinux_4.03+dfsg-10.debian.tar.gz
  to main/s/syslinux/syslinux_4.03+dfsg-10.debian.tar.gz
syslinux_4.03+dfsg-10.dsc
  to main/s/syslinux/syslinux_4.03+dfsg-10.dsc
syslinux_4.03+dfsg-10_i386.deb
  to main/s/syslinux/syslinux_4.03+dfsg-10_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.
Daniel Baumann <[email protected]> (supplier of updated 
syslinux 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.8
Date: Sun, 06 Feb 2011 08:38:40 +0100
Source: syslinux
Binary: syslinux extlinux syslinux-common
Architecture: source i386 all
Version: 2:4.03+dfsg-10
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <[email protected]>
Changed-By: Daniel Baumann <[email protected]>
Description: 
 extlinux   - collection of boot loaders (ext2/3/4 and btrfs bootloader)
 syslinux   - collection of boot loaders
 syslinux-common - collection of boot loaders (common files)
Closes: 610604
Changes: 
 syslinux (2:4.03+dfsg-10) unstable; urgency=low
 .
   * Updating maintainer and uploaders fields.
   * Removing vcs fields.
   * Removing references to my old email address.
   * Makeing packaging distribution neutral.
   * Shortening instructions in extlinux readme file regarding theme
     packages.
   * Translate UUID to classic device names in extlinux postinst script
     when calling extlinux-installer, thanks to Fabian Greffrath
     <[email protected]> (Closes: #610604).
Checksums-Sha1: 
 cff742656bfec4ccf95da1d4d6111b99ed4e0ce5 1222 syslinux_4.03+dfsg-10.dsc
 1b11888da4a48127b779d41484780a0d1d3889f0 33358 
syslinux_4.03+dfsg-10.debian.tar.gz
 90c10695a0b5c09a34d3eb2989b8577c27aa96a1 92836 syslinux_4.03+dfsg-10_i386.deb
 a0c071926d76684424bb04b57765559da9239d5e 113584 extlinux_4.03+dfsg-10_i386.deb
 6791f80bf7f13bcbc5f66aa8a6e2694cc7db85dd 1278174 
syslinux-common_4.03+dfsg-10_all.deb
Checksums-Sha256: 
 8e8d620c49b744214924ec70875250f3554900281e1b85a451a96bdefee82156 1222 
syslinux_4.03+dfsg-10.dsc
 54f6fffcb943b5feebc1d72c13d405bcfde0f37d28733babaa521bcf64f9be24 33358 
syslinux_4.03+dfsg-10.debian.tar.gz
 2f37a22f8dac7136542e5f11ad386f748b7cc39b4e8b1210591c5ea0e40ea4a5 92836 
syslinux_4.03+dfsg-10_i386.deb
 4882d4fcf13b61f799375240ad45d8739c24600c99126a837f3a4968e51bff1a 113584 
extlinux_4.03+dfsg-10_i386.deb
 395e2c83b792f8de4508be51f877fb00e7a9c7bdfbedf5e109d99143ed3fb130 1278174 
syslinux-common_4.03+dfsg-10_all.deb
Files: 
 5ce726d1bb9b0f35af177c5cd93ae972 1222 utils optional syslinux_4.03+dfsg-10.dsc
 b8c7a816c3e487446ee12c6b2d71f8e9 33358 utils optional 
syslinux_4.03+dfsg-10.debian.tar.gz
 519397d38bdbc10147fe364464fc5292 92836 utils optional 
syslinux_4.03+dfsg-10_i386.deb
 bbfd6da3e9c623da031498fb3dac1c38 113584 utils optional 
extlinux_4.03+dfsg-10_i386.deb
 0f8931c818219f0258614a609a96d2a7 1278174 utils optional 
syslinux-common_4.03+dfsg-10_all.deb

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

iEYEARECAAYFAk1OUskACgkQ+C5cwEsrK56pAACgiaXiTCSeeiIP34shkxhntgrn
eiMAmwV5UpL/oy7I2JuFROxafwK0pFRs
=MPDw
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to