From bounce-debian-bugs-dist==chris-lamb.co.uk@lists.debian.org Sun Apr 20 18:51:26 2008
Received: from liszt.debian.org ([82.195.75.100])
	by chris-lamb.co.uk with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.63)
	(envelope-from <bounce-debian-bugs-dist==chris-lamb.co.uk@lists.debian.org>)
	id 1Jndgj-0000Bl-Vb
	for bot.address@chris-lamb.co.uk; Sun, 20 Apr 2008 18:51:24 +0100
Received: from localhost (localhost [127.0.0.1])
	by liszt.debian.org (Postfix) with QMQP
	id 9B79713A4941; Sun, 20 Apr 2008 17:50:52 +0000 (UTC)
Old-Return-Path: <debbugs@rietz.debian.org>
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on liszt.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.0 required=4.0 tests=BAYES_00,IMPRONONCABLE_2,
	RCVD_IN_DNSWL_LOW autolearn=no version=3.2.3
X-Original-To: debian-bugs-dist@lists.debian.org
Delivered-To: lists-debian-bugs-dist@liszt.debian.org
Received: from rietz.debian.org (rietz.debian.org [140.211.166.43])
	by liszt.debian.org (Postfix) with ESMTP id C4A4A13A4786;
	Sun, 20 Apr 2008 17:50:27 +0000 (UTC)
Received: from debbugs by rietz.debian.org with local (Exim 4.63)
	(envelope-from <debbugs@rietz.debian.org>)
	id 1JndeI-0004Ek-Ax; Sun, 20 Apr 2008 17:48:22 +0000
X-Loop: owner@bugs.debian.org
Subject: Bug#475783: busybox: mounting loopback device fails in initrd (using live-initramfs)
Reply-To: Michael Prokop <mika@grml.org>, 475783@bugs.debian.org
Resent-From: Michael Prokop <mika@grml.org>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Debian Install System Team <debian-boot@lists.debian.org>
Resent-Date: Sun, 20 Apr 2008 17:48:21 +0000
Resent-Message-ID: <handler.475783.B475783.120871303426576@bugs.debian.org>
X-Debian-PR-Message: followup 475783
X-Debian-PR-Package: busybox
X-Debian-PR-Keywords: moreinfo
X-Debian-PR-Source: busybox
Received: via spool by 475783-submit@bugs.debian.org id=B475783.120871303426576
          (code B ref 475783); Sun, 20 Apr 2008 17:48:21 +0000
Received: (at 475783) by bugs.debian.org; 20 Apr 2008 17:37:14 +0000
X-Amavis-Spam-Status: No, score=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	IMPRONONCABLE_2 autolearn=no version=3.1.4-bugs.debian.org_2005_01_02
Received: from mail.michael-prokop.at ([88.198.6.110])
	by rietz.debian.org with esmtp (Exim 4.63)
	(envelope-from <msmtp@michael-prokop.at>)
	id 1JndTU-0006rP-W9
	for 475783@bugs.debian.org; Sun, 20 Apr 2008 17:37:13 +0000
Received: from mail.michael-prokop.at (grmlvrs [127.0.0.1])
	by mail.michael-prokop.at (Postfix) with ESMTP id 1F4A65F401E;
	Sun, 20 Apr 2008 19:37:08 +0200 (CEST)
Received: by mail.michael-prokop.at (Postfix, from userid 5001)
	id 142DD5F400A; Sun, 20 Apr 2008 19:37:08 +0200 (CEST)
Received: from localhost (grmlvrs [127.0.0.1])
	by mail.michael-prokop.at (Postfix) with ESMTP id 24F505F400A;
	Sun, 20 Apr 2008 19:37:02 +0200 (CEST)
Date: Sun, 20 Apr 2008 19:37:02 +0200
From: Michael Prokop <mika@grml.org>
To: Bastian Blank <waldi@debian.org>
Cc: 475783@bugs.debian.org
Message-ID: <2008-04-20T19-15-41@devnull.michael-prokop.at>
References: <20080412225129.24623.7759.reportbug@grmlvrs> <20080420170253.GA11007@wavehammer.waldi.eu.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="MW5yreqqjyrRcusr"
Content-Disposition: inline
In-Reply-To: <20080420170253.GA11007@wavehammer.waldi.eu.org>
X-URL: http://michael-prokop.at/
X-GPG-Key-ID: 0x37E272E8
X-GPG-Key: http://www.michael-prokop.at/gpg
X-GPG-Fingerprint: 04AE E62C 9502 CD34 A7DA 857B D8DF 53FB 37E2 72E8
User-Agent: Mutt/1.5.13 (2006-08-11)
X-Virus-Scanned: ClamAV using ClamSMTP
Resent-Date: Sun, 20 Apr 2008 17:48:22 +0000
X-Debian-Message: from BTS
X-Rc-Virus: 2007-09-13_01
X-Rc-Spam: 2007-10-04_01
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/343689
X-Loop: debian-bugs-dist@lists.debian.org
List-Id: <debian-bugs-dist.lists.debian.org>
List-Post: <mailto:debian-bugs-dist@lists.debian.org>
List-Help: <mailto:debian-bugs-dist-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-bugs-dist-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-bugs-dist-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-bugs-dist-request@lists.debian.org
Received-SPF: none
X-SPF-Guess: pass
X-Spam-Score: -37.2
X-Spam-Report: (-37.2 points, 5.0 required)
	pts rule name              description
	---- ---------------------- --------------------------------------------------
	-50 D_FOR_BOT              For debian-devel-changes bot
	0.0 UNPARSEABLE_RELAY      Informational: message has unparseable relay lines
	-2.6 BAYES_00               BODY: Bayesian spam probability is 0 to 1%
	[score: 0.0000]
	15 AWL                    AWL: From: address is in the auto white-list


--MW5yreqqjyrRcusr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

* Bastian Blank <waldi@debian.org> [20080420 19:03]:
> On Sun, Apr 13, 2008 at 12:51:29AM +0200, Michael Prokop wrote:

> > I'm using live-initramfs for booting my live-cd system (using kernel
> > 2.6.23).  My old setup with busybox 1:1.1.3-5 used to work fine.
> > Nowadays using busybox version 1:1.9.2-2 with different versions of
> > klibc-utils, initramfs-tools and live-initramfs fails at the stage
> > of mounting the loopback device (being a squashfs file behind).

> Please provide commands used and error messages.

That's what I can find inside live.log:

| debug: Can not mount backdev /dev/loop0 (image = /live/image/live/grml-medium.squashfs) on croot/imagename //grml-medium.squashfs
| Usage: mount [-r] [-w] [-o options] [-t type] [-n] device directory

Debugging inside busybox (version 1:1.9.2-3, klibc-utils 1.5.7-4):

# md5sum /bin/mount
7b979b1804e776462f21b1ed43bf08b3  /bin/mount
# mkdir /mnt
# mount /dev/loop0 /mnt
Usage: mount [-r] [-w] [-o options] [-t type] [-n] device directory
# mv /bin/mount /bin/mount.unused
# ln -s /bin/busybox /bin/mount
# mount /dev/loop0 /mnt
# ls /mnt
bin etc [...]

So the mount binary of busybox works whereas the one from
klibc-utils seems to fail. As a reference (executing inside the
chroot where I'm building the initramfs):

# md5sum /usr/lib/klibc/bin/mount
7b979b1804e776462f21b1ed43bf08b3  /usr/lib/klibc/bin/mount

Tested also with klibc-utils 1.5.9-2 (same problem):

# md5sum /usr/lib/klibc/bin/mount
c1c83fc15996474a5621d47c68a1f28e  /usr/lib/klibc/bin/mount

Please let me know if you need any further information.

thx && regards,
-mika-

--MW5yreqqjyrRcusr
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFIC38+2N9T+zficugRAsXrAJ9jtBxVonc5RENm9TS5gzJcjuLJ5ACfbflZ
FN6ESkC4WsllwxEppCM3TlI=
=pHNo
-----END PGP SIGNATURE-----

--MW5yreqqjyrRcusr--



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


