Your message dated Mon, 28 Jan 2013 11:47:42 +0000
with message-id <[email protected]>
and subject line Bug#670515: fixed in syslinux 2:5.00+dfsg-1
has caused the Debian Bug report #670515,
regarding root device detection doesn't work when fs below aufs
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.)


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

Upgrade of extlinux fails if the system works on AUFS and upgrade is being done
in an environment chrooted to the underlying real (persistent) filesystem. This
is because extlinux.postinst uses df to determine which block device contains
the /boot/extlinux directory. Df returns "aufs", while findmnt finds the block
device correctly. I propose a patch to use findmnt (from mount package).

There is a patch for findmnt being implemented upstream[1] which will simplify
the postinst script. It will then look like the df version now (no path
chopping). But it's going to need some time before it gets to Debian.

[1] http://article.gmane.org/gmane.linux.utilities.util-linux-ng/5690



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'stable-updates'), (500, 'stable'), (50, 
'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages extlinux depends on:
ii  debconf [debconf-2.0]  1.5.42
ii  libc6                  2.13-27

Versions of packages extlinux recommends:
pn  syslinux-common         2:4.05+dfsg-2
pn  syslinux-themes-debian  <none>

extlinux suggests no packages.

-- debconf information excluded
>From 7073983154e962cbfea32aaa710eea0429413581 Mon Sep 17 00:00:00 2001
From: Marcin Szewczyk <[email protected]>
Date: Thu, 12 Apr 2012 15:54:33 +0200
Subject: [PATCH] use findmnt instead of df for finding /'s device

---
 extlinux.postinst |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/extlinux.postinst b/extlinux.postinst
index b09f61b..86d33b5 100644
--- a/extlinux.postinst
+++ b/extlinux.postinst
@@ -15,7 +15,14 @@ case "${1}" in
 			true)
 				extlinux-update
 
-				_DEVICE="$(df -P /boot/extlinux | tail -1 | awk '{ print $1 }' | sed -e 's|[0-9]||g')"
+				_DEVICE=
+				_PATH=/boot/extlinux
+				while true; do
+					_DEVICE="$(findmnt -n --raw -c -o SOURCE "${_PATH}/" | sed -e 's|[0-9]||g')"
+					[ -n "${_DEVICE}" ] && break
+					[ -z "${_PATH}" ] && break
+					_PATH=${_PATH%/*}
+				done
 
 				extlinux-install "${_DEVICE}"
 				;;
-- 
1.7.9.1


--- End Message ---
--- Begin Message ---
Source: syslinux
Source-Version: 2:5.00+dfsg-1

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.

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: Mon, 28 Jan 2013 09:08:40 +0100
Source: syslinux
Binary: syslinux extlinux syslinux-common
Architecture: source i386 all
Version: 2:5.00+dfsg-1
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: 630922 670515
Changes: 
 syslinux (2:5.00+dfsg-1) unstable; urgency=low
 .
   * Merging upstream version 5.00+dfsg.
   * Removing Otavio from uploaders with his consent.
   * Updating to standards version 3.9.4.
   * Updating years in copyright file.
   * Dropping dpkg-source compression levels.
   * Rediffing isolinux-quiet.patch.
   * Rediffing pxelinux-quiet.patch.
   * Rediffing ldlinux-quiet.patch.
   * Renaming patches with 4 digit prefix.
   * Tightening diff headers.
   * Using findmnt instead of df-parsing in extlinux.postinst to find root
     partition, thanks to Marcin Szewczyk <[email protected]>
     (Closes: #670515).
   * Including gptmbr.bin in extlinux and syslinux-udeb too in preparation
     for gpt support in distribution scripts.
   * Adding initial support for gpt in extlinux distribution scripts
     (Closes: #630922).
   * Updating date and version headers in local files.
   * Updating lintian overrides.
   * Removing extra license file for logo.
Checksums-Sha1: 
 5ed3188d9a7f44d1bb3d6ceb06e4282491f9b2e8 1311 syslinux_5.00+dfsg-1.dsc
 8e7c331af6aafaf7f997d6bd383a6ddbeae0412c 5363924 syslinux_5.00+dfsg.orig.tar.xz
 4752050dce6bb1be9bc29d8b3e90fdde93230035 31116 
syslinux_5.00+dfsg-1.debian.tar.xz
 aba36a249fde4c417acf0a6b5fdafc62df8a15a0 256780 syslinux_5.00+dfsg-1_i386.deb
 5ea2987f11496a10f52fae90f1b1aae645c69e6c 277412 extlinux_5.00+dfsg-1_i386.deb
 0be20642e5c4ddfc07ea8c5d2d4bc1cd1812d2e2 1192808 
syslinux-common_5.00+dfsg-1_all.deb
Checksums-Sha256: 
 8385e0a58c9f3b445829afe3e4a7c731d4d996e712ed0b1b20b177e288f2feac 1311 
syslinux_5.00+dfsg-1.dsc
 bfd1d4ad739678e2e6d9758868bdee6952eff9eae67ec3b4b17b2b3212924c64 5363924 
syslinux_5.00+dfsg.orig.tar.xz
 1a54d4dc6f5269b1ef0e8d58fd2e2b52e23bd16ccd27d7abd145a00514fa0df7 31116 
syslinux_5.00+dfsg-1.debian.tar.xz
 47a210489de7eb458a7a160799e207833f1b9c344d2bfcc265035ce2be901f0d 256780 
syslinux_5.00+dfsg-1_i386.deb
 39c51d3693936591d6747057bd6ee67c77baab13e1caebcf66e5b07399daee42 277412 
extlinux_5.00+dfsg-1_i386.deb
 9959f36da498e8a60007fb0c4f3ff64ee3ebd3545467b15637fead3133a7ef46 1192808 
syslinux-common_5.00+dfsg-1_all.deb
Files: 
 b914b377e5cdc7a2d05ad195d07bf3c0 1311 utils optional syslinux_5.00+dfsg-1.dsc
 42375620d634e0dc6499a1b02415881d 5363924 utils optional 
syslinux_5.00+dfsg.orig.tar.xz
 8c1c5412ea784fc4c0a6a1b49f16566f 31116 utils optional 
syslinux_5.00+dfsg-1.debian.tar.xz
 46042e91d3caf84f750610802ed8c61e 256780 utils optional 
syslinux_5.00+dfsg-1_i386.deb
 5ce84a36a5dee72bd5b17604cd05d9da 277412 utils optional 
extlinux_5.00+dfsg-1_i386.deb
 f81508e451416798f6907cc187b07787 1192808 utils optional 
syslinux-common_5.00+dfsg-1_all.deb

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

iEYEARECAAYFAlEGYfEACgkQ+C5cwEsrK550TACfXpIT9EC5O8qUaq5CPnyaFqGr
EpkAoKlxcOCFXB+kEpb7TxecdX4cuyjJ
=ym/+
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to