[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:49:28 +0000
with message-id <E1OrCye-0005lg-Cg@franck.debian.org>
and subject line Bug#595264: fixed in live-boot 3.0~a3-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: 3.0~a3-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_3.0~a3-1_all.deb
  to main/l/live-boot/live-boot_3.0~a3-1.debian.tar.gz
  to main/l/live-boot/live-boot_3.0~a3-1.dsc
  to main/l/live-boot/live-boot_3.0~a3-1_all.deb
  to main/l/live-boot/live-boot_3.0~a3.orig.tar.gz

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:28:40 +0200
Source: live-boot
Binary: live-boot live-boot-initramfs-tools
Architecture: source all
Version: 3.0~a3-1
Distribution: experimental
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)
Closes: 590494 595264
 live-boot (3.0~a3-1) experimental; urgency=low
   * Updating seperators in networking bottom script to fix ip parameter
     parsing (Closes: #590494).
   * Updating live-build reference in manpages.
   * Adding reference to live-tools in manpages.
   * Checking for file existence in initramfs hook (Closes: #595264).
 cb52a0b0d01b4dff5e8947643db3013148343fdd 1249 live-boot_3.0~a3-1.dsc
 6b6551aac1a6e7ec6f315cc66a7d3c3011da56a7 103868 live-boot_3.0~a3.orig.tar.gz
 285778f16d34fbedcd6349946828584015678617 17577 live-boot_3.0~a3-1.debian.tar.gz
 f3b579c14756e5ff12faa567d84df3ec3cfba3d7 74258 live-boot_3.0~a3-1_all.deb
 08d2b062e4320b2b96f34f86ac76bd4827958b79 28676 live-boot-initramfs-tools_3.0~a3-1_all.deb
 d8da5c3ae23b30dafb8f14ecc0122029e5bceefc14db8758d5e2fda8d7915909 1249 live-boot_3.0~a3-1.dsc
 0d48e624fbfa03e4a2f981d04cdadaca52843e51d82956b7d62879dcbaa4e9ac 103868 live-boot_3.0~a3.orig.tar.gz
 ec42188b8523f94cf0945f10695f65e21cebabc7f6f266d2bf5b7b6f5b0784c6 17577 live-boot_3.0~a3-1.debian.tar.gz
 67314a5e182c0bc794ce662b088e68c2a941b061db77885f89b72a6bbe6c908f 74258 live-boot_3.0~a3-1_all.deb
 4976f2f0eafa47e203debefa0cff5281a440100d1b2d88ec48e93b65ea20364e 28676 live-boot-initramfs-tools_3.0~a3-1_all.deb
 c41b6783dca410a84c853d7fa91e4755 1249 misc optional live-boot_3.0~a3-1.dsc
 b15d822778f153fc753280d6e7c9eb40 103868 misc optional live-boot_3.0~a3.orig.tar.gz
 8d9886b45edf28def1850a1310ae0c0b 17577 misc optional live-boot_3.0~a3-1.debian.tar.gz
 c858cfca77bd104ef2231d12487de987 74258 misc optional live-boot_3.0~a3-1_all.deb
 2db96a29037690f928f60bef2bbfae9e 28676 misc optional live-boot-initramfs-tools_3.0~a3-1_all.deb

Version: GnuPG v1.4.10 (GNU/Linux)


--- End Message ---

Reply to: