Your message dated Thu, 03 Jun 2010 11:51:07 +0000
with message-id <[email protected]>
and subject line Bug#540786: fixed in grub2 1.98+20100602-1
has caused the Debian Bug report #540786,
regarding update-grub doesn't work with root fs on btrfs
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.)


-- 
540786: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540786
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: grub-legacy
Version: 0.97-60
Severity: normal
Tag: patch

When root is on btrfs, update-grub just exits nonzero, no error message.

This is because it uses grub-probe, and per #540786 that doesn't support
btrfs.

I sent a patch to #540786 that works around the grub-probe problem in
grub 2's update-grub. If that patch is applied, the same problem can
be worked around in grub-legacy's update grub via the attached patch.

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

Kernel: Linux 2.6.32-trunk-686 (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/bash

Versions of packages grub-legacy depends on:
ii  grub-common              1.98~20100126-1 GRand Unified Bootloader, version 
ii  libc6                    2.10.2-5        Embedded GNU C Library: Shared lib
ii  libncurses5              5.7+20090803-2  shared libraries for terminal hand

grub-legacy recommends no packages.

Versions of packages grub-legacy suggests:
pn  grub-legacy-doc               <none>     (no description available)
pn  mdadm                         <none>     (no description available)
pn  multiboot-doc                 <none>     (no description available)

-- 
see shy jo
--- update-grub.orig	2010-01-26 23:30:19.117596575 -0500
+++ update-grub	2010-01-26 23:30:24.693653198 -0500
@@ -110,12 +110,15 @@
 # Full path to the device.map
 device_map=$grub_dir/device.map
 
+. /usr/lib/grub/grub-mkconfig_lib
+
 find_device ()
 {
 	if ! test -e ${device_map} ; then
 		echo quit | grub --batch --no-floppy --device-map=${device_map} > /dev/null
 	fi
-	grub-probe --device-map=${device_map} -t device $1 2> /dev/null
+	grub-probe --device-map=${device_map} -t device $1 2> /dev/null ||
+		legacy_find_root_device
 }
 
 # Usage: convert_raid1 os_device

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: grub2
Source-Version: 1.98+20100602-1

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

grub-common_1.98+20100602-1_i386.deb
  to main/g/grub2/grub-common_1.98+20100602-1_i386.deb
grub-coreboot_1.98+20100602-1_i386.deb
  to main/g/grub2/grub-coreboot_1.98+20100602-1_i386.deb
grub-efi-amd64_1.98+20100602-1_i386.deb
  to main/g/grub2/grub-efi-amd64_1.98+20100602-1_i386.deb
grub-efi-ia32_1.98+20100602-1_i386.deb
  to main/g/grub2/grub-efi-ia32_1.98+20100602-1_i386.deb
grub-efi_1.98+20100602-1_i386.deb
  to main/g/grub2/grub-efi_1.98+20100602-1_i386.deb
grub-emu_1.98+20100602-1_i386.deb
  to main/g/grub2/grub-emu_1.98+20100602-1_i386.deb
grub-firmware-qemu_1.98+20100602-1_i386.deb
  to main/g/grub2/grub-firmware-qemu_1.98+20100602-1_i386.deb
grub-ieee1275_1.98+20100602-1_i386.deb
  to main/g/grub2/grub-ieee1275_1.98+20100602-1_i386.deb
grub-linuxbios_1.98+20100602-1_i386.deb
  to main/g/grub2/grub-linuxbios_1.98+20100602-1_i386.deb
grub-pc_1.98+20100602-1_i386.deb
  to main/g/grub2/grub-pc_1.98+20100602-1_i386.deb
grub-rescue-pc_1.98+20100602-1_i386.deb
  to main/g/grub2/grub-rescue-pc_1.98+20100602-1_i386.deb
grub2_1.98+20100602-1.diff.gz
  to main/g/grub2/grub2_1.98+20100602-1.diff.gz
grub2_1.98+20100602-1.dsc
  to main/g/grub2/grub2_1.98+20100602-1.dsc
grub2_1.98+20100602-1_i386.deb
  to main/g/grub2/grub2_1.98+20100602-1_i386.deb
grub2_1.98+20100602.orig.tar.gz
  to main/g/grub2/grub2_1.98+20100602.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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated grub2 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: SHA256

Format: 1.8
Date: Thu, 03 Jun 2010 11:24:41 +0100
Source: grub2
Binary: grub2 grub-linuxbios grub-efi grub-common grub-emu grub-pc 
grub-rescue-pc grub-coreboot grub-efi-ia32 grub-efi-amd64 grub-ieee1275 
grub-firmware-qemu grub-yeeloong
Architecture: source i386
Version: 1.98+20100602-1
Distribution: unstable
Urgency: low
Maintainer: GRUB Maintainers <[email protected]>
Changed-By: Colin Watson <[email protected]>
Description: 
 grub-common - GRand Unified Bootloader, version 2 (common files)
 grub-coreboot - GRand Unified Bootloader, version 2 (Coreboot version)
 grub-efi   - GRand Unified Bootloader, version 2 (dummy package)
 grub-efi-amd64 - GRand Unified Bootloader, version 2 (EFI-AMD64 version)
 grub-efi-ia32 - GRand Unified Bootloader, version 2 (EFI-IA32 version)
 grub-emu   - GRand Unified Bootloader, version 2 (emulated version)
 grub-firmware-qemu - GRUB firmware image for QEMU
 grub-ieee1275 - GRand Unified Bootloader, version 2 (Open Firmware version)
 grub-linuxbios - GRand Unified Bootloader, version 2 (dummy package)
 grub-pc    - GRand Unified Bootloader, version 2 (PC/BIOS version)
 grub-rescue-pc - GRUB bootable rescue images, version 2 (PC/BIOS version)
 grub-yeeloong - GRand Unified Bootloader, version 2 (Yeeloong version)
 grub2      - GRand Unified Bootloader, version 2 (dummy package)
Closes: 450505 497085 540786 548320 567211 584176 584218
Changes: 
 grub2 (1.98+20100602-1) unstable; urgency=low
 .
   * New Bazaar snapshot.
     - Add btrfs probing support, currently only in the single-device case
       (closes: #540786).
     - Fix grub-emu build on mips/powerpc/sparc.
     - Add safety check to make sure that /boot/grub/locale exists before
       trying to probe it (closes: #567211).
     - Several 'info grub' improvements, including a new section on
       configuration file generation using grub-mkconfig which documents the
       available keys in /etc/default/grub (closes: #497085).
     - Many USB fixes.
 .
   [ Colin Watson ]
   * Reorganise configure and build targets in debian/rules to use stamp
     files.  configure/* never existed and build/* was always a directory, so
     make never considered either of them up to date (closes: #450505).
   * Remove config.h.in from AUTOGEN_FILES, since autoheader doesn't
     necessarily update it.
   * Remove conf/gcry.mk from AUTOGEN_FILES, and conf/gcry.rmk from their
     dependencies.  autogen.sh runs util/import_gcry.py after autoconf et al,
     so conf/gcry.rmk's timestamp will be later than some of the
     autogenerated outputs.
   * Go back to shipping rescue images in the grub-rescue-pc .deb itself
     rather than generating them in the postinst.  This means that (a) they
     get removed when the package is removed (closes: #584176); (b) they are
     listed in package metadata, as is proper for files in /usr (closes:
     #584218); (c) grub-rescue-pc can potentially be used as a
     build-dependency for other packages that need to build GRUB images into
     installation media etc., without having to build-depend on grub-pc which
     isn't coinstallable with other platform variants and does invasive
     things in its postinst.
   * Add grub-mkrescue patch from Thomas Schmitt to allow reducing the size
     of xorriso-created images.  Use this to ensure that
     grub-rescue-floppy.img fits well within size limits (closes: #548320).
Checksums-Sha1: 
 d7c8a7ca219f59854e33a42a8e91ecfdd036d75d 2641 grub2_1.98+20100602-1.dsc
 5a7788deecc812a71e2219f088d66fb465205539 1709707 
grub2_1.98+20100602.orig.tar.gz
 5eb50c3990e4f897a0ad30961013c2f08bcca15d 496607 grub2_1.98+20100602-1.diff.gz
 210c8b48ad990820470f4ccd0971df4c2c952626 258678 grub2_1.98+20100602-1_i386.deb
 37ce5fc303b774a91011a825edb24dbda1da82e1 257472 
grub-linuxbios_1.98+20100602-1_i386.deb
 4d99decb1f748e06338507c9ba83bf88414453bd 257476 
grub-efi_1.98+20100602-1_i386.deb
 2205466b9d9aa3f32d89e8dc4be5f1bbf16c2f8c 1237136 
grub-common_1.98+20100602-1_i386.deb
 2e4385bcae654e6916ee52725059463ac7fb9859 2568648 
grub-emu_1.98+20100602-1_i386.deb
 8b7b26016f5d7fcd42de15b66fcb04569f368881 912518 
grub-pc_1.98+20100602-1_i386.deb
 e1aa233bdaabb853bceec0f118a3ad50996d1ead 1405960 
grub-rescue-pc_1.98+20100602-1_i386.deb
 cde82bc0dd302a98740ccffbab22e645dac6ac45 714532 
grub-coreboot_1.98+20100602-1_i386.deb
 23181afde01e0e418d46c772a188b85caa8ba2a5 750244 
grub-efi-ia32_1.98+20100602-1_i386.deb
 d6137413c432c46881ac89ed979166d60dee1468 824930 
grub-efi-amd64_1.98+20100602-1_i386.deb
 229825f827e7df7c801a5cc4aa872b015673e0ef 707950 
grub-ieee1275_1.98+20100602-1_i386.deb
 d93278bd2644c3256c2cb7a45469c4ee19144892 662958 
grub-firmware-qemu_1.98+20100602-1_i386.deb
Checksums-Sha256: 
 9f21072606323d78ae68f938c7c06796cc55d227d9aeef2096c49c7cdc6d5899 2641 
grub2_1.98+20100602-1.dsc
 2194ed5f47b5c3b5799751f515893cfb185e4d2774bc17c93a1cbde54b32a593 1709707 
grub2_1.98+20100602.orig.tar.gz
 d45e49878ea42d8183bf9b103e35bf1f804c1d78888a9f35cf71dc3bfac7d14e 496607 
grub2_1.98+20100602-1.diff.gz
 30618d7debf58a14ad30788cb7dd433c7170ad13b5d3beab00cf7c4d327ac036 258678 
grub2_1.98+20100602-1_i386.deb
 a00b8d95f3b57ed4ad63d967c3f26ed99f67d817dfc74e377785079c810b9ad0 257472 
grub-linuxbios_1.98+20100602-1_i386.deb
 bf78aa7639880fadfd5bf5f543cc9e1e70edfeb6daf4d8a9f62ba6200d645f5d 257476 
grub-efi_1.98+20100602-1_i386.deb
 9bf619e679ce1175281e0fd9537cb4a5fe2a1a27421b800a7616aebaa206178a 1237136 
grub-common_1.98+20100602-1_i386.deb
 5d754f807f278547e0a386e21b0cad5352fbfb8414ac2599cf2bc63f5bd08fb3 2568648 
grub-emu_1.98+20100602-1_i386.deb
 6f2d6277da522469845f8b3f4682ecfd3756fc9f3400afb10812f14302b68d7d 912518 
grub-pc_1.98+20100602-1_i386.deb
 3054f0bf986db68ba0351bb84d0604cd14e6177f11f5f2d35b5057d1e8eb6a3f 1405960 
grub-rescue-pc_1.98+20100602-1_i386.deb
 55d99e5cd9caa69a2bf2066275afc3d80c1f7b83a6a989e747e5f39497f90d9d 714532 
grub-coreboot_1.98+20100602-1_i386.deb
 8b3cf4e4d12aba1015e715062d302d3db0272cfbe782915734a4ad19f72a7941 750244 
grub-efi-ia32_1.98+20100602-1_i386.deb
 d25cf3cbcda0626466bfd83cc8119d1d2692ff086abb881cc6e9c60583e20bd7 824930 
grub-efi-amd64_1.98+20100602-1_i386.deb
 bb73ef7ac08765d6dfd470ca853ff067933023f826f6b9158e23791eaff03ccf 707950 
grub-ieee1275_1.98+20100602-1_i386.deb
 2c6b0fae25a5b37308ee97b4e85a5620263e8ec37bde2103ff640cab5ee389f2 662958 
grub-firmware-qemu_1.98+20100602-1_i386.deb
Files: 
 2358fb1cad5df500b688a314c06d8cff 2641 admin extra grub2_1.98+20100602-1.dsc
 fbb8fdb4b47541c2dc1a8d13e8f7208f 1709707 admin extra 
grub2_1.98+20100602.orig.tar.gz
 a5e58ac4c1ed4b6d4e7403721792f3ea 496607 admin extra 
grub2_1.98+20100602-1.diff.gz
 25dfcf4335c40fdc060532fbf63a6f1b 258678 admin extra 
grub2_1.98+20100602-1_i386.deb
 071396419ee9249733942e0e7a76a374 257472 admin extra 
grub-linuxbios_1.98+20100602-1_i386.deb
 0b12a321df8e2118c11c061bdfe6fd3e 257476 admin extra 
grub-efi_1.98+20100602-1_i386.deb
 b011c9f47aa1cc965a13a96f62e8a50e 1237136 admin extra 
grub-common_1.98+20100602-1_i386.deb
 781e90c2a3af192ca86fd636784fbc5d 2568648 admin extra 
grub-emu_1.98+20100602-1_i386.deb
 223c81ed09766589668f36e737a394b3 912518 admin extra 
grub-pc_1.98+20100602-1_i386.deb
 9806e8ce2ead822414dc2fa30d08c168 1405960 admin extra 
grub-rescue-pc_1.98+20100602-1_i386.deb
 e72c222644d6294ec7c83f24f48a9db3 714532 admin extra 
grub-coreboot_1.98+20100602-1_i386.deb
 cde6dbc40abf95e1c74fd1e45c8b380d 750244 admin extra 
grub-efi-ia32_1.98+20100602-1_i386.deb
 50547fc5f3ca69f03c8e71b165b1c39e 824930 admin extra 
grub-efi-amd64_1.98+20100602-1_i386.deb
 fff5bb9b076a7b0c2b58576c408249ff 707950 admin extra 
grub-ieee1275_1.98+20100602-1_i386.deb
 d0cf9382700b0d95e9f6d4b7282cb019 662958 admin extra 
grub-firmware-qemu_1.98+20100602-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Colin Watson <[email protected]> -- Debian developer

iQIVAwUBTAeREjk1h9l9hlALAQgjQRAAmnOqrFnDDWlQ13mLkURpIMBd6N/HpHoK
3wFdBRdf92nWL25qY+XW42WRMgoYSg7OZi0l50apFbzW/iXS3HzlQZrfd4d6rayv
7igdU+j1edCWK47JOyd07wGSy54jFayAn8N9euOe+xCCnUwMeZl0a4SNBoZUyau/
STgJ/sfTC33tTaY6jpOfgxCVRumuj6jADI/pgKRUFxBq+sVSCa20rAqZHrMIIrBx
JT1dP0LTafBgNVId/ecDmD0bDcBSHb0GagnCLeMCYE+4hWL3ca8gMcFIA/JOR88q
gihlrVj8xx2QETfIuyWvg0yy2s1SPk4ESJ4ifrJqThLs+hTYoTFDDV+gmkUKH1jE
DHuZnfg05KJf3jGVaM+7xiMwsdz/g75EDCd6t5fQwfmBIn4nuplh9wIflI8rTJt2
2DAir+Ce4YHr2wPkuXgpBBF8BN/JM3cQaZtFisodIBad/k8zi/nf+DsIJDB7p6EG
prpblHtNyer/5UbPgmPQ5sHHcyo/87tqbZKVrEZ2rwqtvkvVzM9VVv7L8WgZ/FkX
UqQn1iIPeMGc4h7bVmSH4oS1RE0VtmAbt3okygQ9XRumxrFkpXqCNV9+I3E7mCEg
zcGAVCXPaSKVkPmwtv/tFzQfMNsIMNn7+nt4Eb8US1qAkyrjm2kf2emyAF7eNTy+
urtwI+q+eb8=
=U1sJ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to