Your message dated Wed, 9 May 2007 01:22:23 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Are (c)debootstrap broken ?
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: mount
Version: 2.12r-19
Severity: grave
Justification: mount needs libdevmapper1.02 to run, which is not in depends

Hi,

        mount does not work on new installs of Sid -- since it depends
 on a library runtime that is no longer in Sid, and the dependency
 relationship is  underspecified. Observer the following demonstration
 using debootstrap.

        Running:
,----
| debootstrap --resolve-deps --exclude=hwclock --include=selinux-utils \
|   --verbose sid ./mounted/ http://http.us.debian.org/debian
|         Fails with:
|  ...
| I: Retrieving libdb4.4
| I: Validating libdb4.4
| I: Retrieving libdevmapper1.02.1
| I: Validating libdevmapper1.02.1
| I: Retrieving libgcc1
| I: Validating libgcc1
|  ....
| I: Extracting libcomerr2...
| I: Extracting libdb4.3...
| I: Extracting libdevmapper1.02.1...
| I: Extracting libgcc1...
| I: Extracting liblocale-gettext-perl...
|   ...
| I: Extracting zlib1g...
| W: Failure trying to run: chroot /scratch/sandbox/strict/mounted mount
|                -t proc proc /proc 
`----

        The reason is:
,----
| __>  chroot /scratch/sandbox/strict/mounted mount -t proc proc /proc
| mount: error while loading shared libraries: libdevmapper.so.1.02:
|        cannot open shared object file: No such file or directory 
| __>  ls -als mounted/lib/libdevmapper*
| 80 -rw-r--r-- 1 root root 76564 2007-04-08 13:00 
mounted/lib/libdevmapper.so.1.02.1
`----


        So, somehow, mount's dependency on libdevmapper is
 missing. libdevmapper is not essential, so the dependency should be
 there, no?

,----
| __> ldd /bin/mount
|         linux-gate.so.1 =>  (0xffffe000)
|         libblkid.so.1 => /lib/libblkid.so.1 (0xb7fce000)
|         libuuid.so.1 => /lib/libuuid.so.1 (0xb7fcb000)
|         libc.so.6 => /lib/libc.so.6 (0xb7e88000)
|         libdevmapper.so.1.02 => /lib/libdevmapper.so.1.02 (0xb7e77000)
|         libselinux.so.1 => /lib/libselinux.so.1 (0xb7e62000)
|         libsepol.so.1 => /lib/libsepol.so.1 (0xb7e21000)
|         libpthread.so.0 => /lib/libpthread.so.0 (0xb7e09000)
|         /lib/ld-linux.so.2 (0x80000000)
|         libdl.so.2 => /lib/libdl.so.2 (0xb7e05000)
| _> dpkg -S /lib/libdevmapper.so.1.02
| libdevmapper1.02: /lib/libdevmapper.so.1.02
| __> rmadison libdevmapper1.02
| libdevmapper1.02 | 2:1.02.08-1 |     etch-m68k | m68k
| libdevmapper1.02 | 2:1.02.08-1 |        stable | alpha, amd64, arm, hppa, 
i386, ia64, mips, mipsel, powerpc, s390, sparc
| libdevmapper1.02 | 2:1.02.08-1 |       testing | alpha, amd64, arm, hppa, 
i386, ia64, mips, mipsel, powerpc, s390, sparc
`----

        So, libdevmapper1.02 no longer lives in Sid, but mount seems to
 depend on it.

        manoj

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

Kernel: Linux 2.6.21.1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mount depends on:
ii  libblkid 1.39+1.40-WIP-2006.11.14+dfsg-2 block device id library
ii  libc6    2.5-5                           GNU C Library: Shared libraries
ii  libuuid1 1.39+1.40-WIP-2006.11.14+dfsg-2 universally unique id library

mount recommends no packages.

-- no debconf information

-- 
Economy is of itself a great revenue.  -- Cicero
Manoj Srivastava <[EMAIL PROTECTED]> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


--- End Message ---
--- Begin Message ---
On Wed, May 09, 2007 at 02:49:53AM -0500, Manoj Srivastava wrote:
> Hi,
> On Wed, 9 May 2007 09:24:16 +0900, Charles Plessy
> <[EMAIL PROTECTED]> said:  

> > Dear all, I do not know what I am doing wrong, but I can not prepare a
> > chroot using debootstrap or cdebootstrap:

> > sorbet【chroots】$ sudo debootstrap --verbose sid sid
> > http://ftp2.jp.debian.org/debian/I: Retrieving Packages I: Retrieving
> > Packages I: Resolving dependencies of required packages...  I:
> > Resolving dependencies of base packages...  W: Failure trying to run:
> > chroot /usr/local/chroots/sid mount -t proc proc /proc

>         See Bug#421957.

421957 is not actually a bug in mount.  mount itself only depends on three
libraries:

$ objdump -p /bin/mount|grep NEEDED
  NEEDED      libblkid.so.1
  NEEDED      libuuid.so.1
  NEEDED      libc.so.6
$

It's libblkid1 that depends on libdevmapper; and indeed the package did have
a dependency on libdevmapper1.02, the problem was that libdevmapper1.02 had
already been superseded in unstable by libdevmapper1.02.1, which is what
debootstrap was installing.

This has been fixed in unstable now anyway with both a binNMU of e2fsprogs
and a subsequent maintainer upload, so I think this bug can be closed rather
than reassigned.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

--- End Message ---

Reply via email to