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

Bug#595264: marked as done (assumes libdevmapper1.02.1 (optional in Squeeze) is installed; breaks update-initramfs)

Your message dated Thu, 02 Sep 2010 16:32:19 +0000
with message-id <E1OrCi3-00043w-Ie@franck.debian.org>
and subject line Bug#595264: fixed in live-boot 2.0.2-1
has caused the Debian Bug report #595264,
regarding assumes libdevmapper1.02.1 (optional in Squeeze) is installed; breaks update-initramfs
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

595264: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595264
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-boot-initramfs-tools
Version: 2.0.1-1
Severity: important
File: /usr/share/initramfs-tools/hooks/live

When installing live-boot and a kernel into a pretty minimalist
bootstrap chroot, update-initramfs fails with

    cp: cannot stat `/lib/libdevmapper*': No such file or directory

This is because live-boot currently assumes libdevmapper1.02.1 is
installed, instead of checking for it.

This was a reasonable assumption in Lenny, but in Squeeze its priority
is downgraded:

    $ curl -s http://cdn.debian.net/debian/dists/stable/main/binary-amd64/Packages.bz2 |
      bzcat | grep-dctrl -PsPriority libdevmapper1.02.1
    > Priority: required
    $ curl -s http://cdn.debian.net/debian/dists/testing/main/binary-amd64/Packages.bz2 |
      bzcat | grep-dctrl -PsPriority libdevmapper1.02.1
    > Priority: optional

A simple patch along these lines should suffice (untested):

    diff -ud /usr/share/initramfs-tools/hooks/live /tmp/buffer-content-1839QrW
    --- /usr/share/initramfs-tools/hooks/live	2010-09-02 02:27:57.000000000 +1000
    +++ /tmp/buffer-content-1839QrW	2010-09-03 01:35:15.115969801 +1000
    @@ -61,7 +61,7 @@
     # klibc dependencies
     for FILE in /lib/libacl* /lib/libblkid* /lib/libuuid* /lib/libdevmapper* /lib/libattr*
    -	if [ ! -e "${DESTDIR}"/"${FILE}" ]
    +	if [ -e "$FILE" -a ! -e "${DESTDIR}"/"${FILE}" ]
                    cp -a "${FILE}" "${DESTDIR}"/"${FILE}"

    Diff finished.  Fri Sep  3 01:35:15 2010

A temporary workaround is simply to run "touch t/lib/libdevmapper*"
prior to installing live-boot into the bootstrap environment t/, which
results in an useless but harmless literal "libdevmapper*" file being
copied into the ramdisk.

PS: I'm surprised that live-boot needs to pull in klibc dependencies
at all -- I'd have thought either klibc or initramfs-tools would've
handled that automagically elsewhere.  Go figure.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-boot-initramfs-tools depends on:
ii  busybox                       1:1.17.1-4 Tiny utilities for small and embed
ii  initramfs-tools               0.98.1     tools for generating an initramfs
ii  udev                          161-1      /dev/ and hotplug management daemo

live-boot-initramfs-tools recommends no packages.

live-boot-initramfs-tools suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: live-boot
Source-Version: 2.0.2-1

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

  to main/l/live-boot/live-boot-initramfs-tools_2.0.2-1_all.deb
  to main/l/live-boot/live-boot_2.0.2-1.diff.gz
  to main/l/live-boot/live-boot_2.0.2-1.dsc
  to main/l/live-boot/live-boot_2.0.2-1_all.deb
  to main/l/live-boot/live-boot_2.0.2.orig.tar.gz
  to main/l/live-boot/live-initramfs_2.0.2-1_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 595264@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Daniel Baumann <daniel@debian.org> (supplier of updated live-boot 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)

Hash: SHA1

Format: 1.8
Date: Thu, 02 Sep 2010 18:25:12 +0200
Source: live-boot
Binary: live-boot live-boot-initramfs-tools live-initramfs
Architecture: source all
Version: 2.0.2-1
Distribution: unstable
Urgency: low
Maintainer: Debian Live Project <debian-live@lists.debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
 live-boot  - Debian Live - System Boot Scripts
 live-boot-initramfs-tools - Debian Live - System Boot Scripts (initramfs-tools backend)
 live-initramfs - Debian Live - System Boot Scripts (transitional package)
Closes: 590494 595264
 live-boot (2.0.2-1) unstable; urgency=low
   * Updating seperators in networking bottom script to fix ip parameter
     parsing (Closes: #590494).
   * Updating live-build reference in manpages.
   * Checking for file existence in initramfs hook (Closes: #595264).
   * Adding live-toram script to copy the running live system to ram and
     eject the live media.
 0532f1e078d0af3f28e3b95183d72a3622a2be7c 1232 live-boot_2.0.2-1.dsc
 31832cdfa223fd0960bff64a2ff7ce31aeeda312 105881 live-boot_2.0.2.orig.tar.gz
 228334b89bf54d659b2cbbcdc807843648d892dc 17275 live-boot_2.0.2-1.diff.gz
 96b499fa3137ce001a217aaa2f623e8cdb1a56ab 74922 live-boot_2.0.2-1_all.deb
 3524be306b8813fd1f88c1a97e66e26437543718 28158 live-boot-initramfs-tools_2.0.2-1_all.deb
 ac3797b8d8cfef872121c1fa1635d3e6bd16e9c6 3970 live-initramfs_2.0.2-1_all.deb
 43e23b1a0e9207ea67f627d4443bc9cd34a9a59af22d9ed09d88c818a93e53f1 1232 live-boot_2.0.2-1.dsc
 00c0fc7224be8852170330090e253493f5d1c174fa39c029bcacc4b2d48a6842 105881 live-boot_2.0.2.orig.tar.gz
 39222aeaa417b185d90cdcf9c90634ad80ef1f1cfc65918c70aeda0c27d76bed 17275 live-boot_2.0.2-1.diff.gz
 676e68232338d905ed0eaeced538ff3f37096e1ad5f0a8863a00449db6ffe572 74922 live-boot_2.0.2-1_all.deb
 35e5a632da71ae04e1ac9f8ae3c4b436ef047eebf5855c4b8fc52aa8f347ce66 28158 live-boot-initramfs-tools_2.0.2-1_all.deb
 960ae40e3ce777b22fc67ad00cf8670e15053ca7f8454d447061f06664a1603e 3970 live-initramfs_2.0.2-1_all.deb
 0ac8ca870a968af6ccef9eb76c91e100 1232 misc optional live-boot_2.0.2-1.dsc
 f3eaf18d597c6dd286859ef53e8400c5 105881 misc optional live-boot_2.0.2.orig.tar.gz
 55798082164d2d2b217387505f4fd912 17275 misc optional live-boot_2.0.2-1.diff.gz
 5239a1657fe24eccb7d1d34f43ed8b03 74922 misc optional live-boot_2.0.2-1_all.deb
 724b8d3e253b4a11f6ef88a7a82d8977 28158 misc optional live-boot-initramfs-tools_2.0.2-1_all.deb
 0dc1cdb2fd018eb7381a205f9e19bcb2 3970 misc optional live-initramfs_2.0.2-1_all.deb

Version: GnuPG v1.4.10 (GNU/Linux)


--- End Message ---

Reply to: