Debian Bug report logs - #204652
debootstrap: fakechroot support

version graph

Package: debootstrap; Maintainer for debootstrap is Debian Install System Team <debian-boot@lists.debian.org>; Source for debootstrap is src:debootstrap (PTS, buildd, popcon).

Reported by: Piotr Roszatycki <Piotr_Roszatycki@netia.net.pl>

Date: Sat, 9 Aug 2003 01:33:01 UTC

Severity: wishlist

Tags: fixed, patch

Found in version 0.2.2-0.1

Fixed in version debootstrap/0.3.3

Done: Anthony Towns <aj@azure.humbug.org.au>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.debian.org
Subject: Bug#204652: fakechroot support
Reply-To: Piotr Roszatycki <Piotr_Roszatycki@netia.net.pl>, 204652@bugs.debian.org
Resent-From: Piotr Roszatycki <Piotr_Roszatycki@netia.net.pl>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Anthony Towns <ajt@debian.org>
Resent-Date: Wed, 20 Aug 2003 11:18:07 UTC
Resent-Message-ID: <handler.204652.B204652.10613774048144@bugs.debian.org>
Resent-Sender: owner@bugs.debian.org
X-Debian-PR-Message: report 204652
X-Debian-PR-Package: debootstrap
X-Debian-PR-Keywords: patch
Received: via spool by 204652-submit@bugs.debian.org id=B204652.10613774048144
          (code B ref 204652); Wed, 20 Aug 2003 11:18:07 UTC
Received: (at 204652) by bugs.debian.org; 20 Aug 2003 11:03:24 +0000
Received: from lars.internetia.pl [195.114.173.133] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19pQkD-00025l-00; Wed, 20 Aug 2003 06:03:13 -0500
Received: from mail1.n1.pl ([195.114.173.155])
	by lars.internetia.pl with esmtp (Exim 3.35)
	envelope-from <dexter@netia.net.pl>
	id 19pQk9-0007KB-00; Wed, 20 Aug 2003 13:03:09 +0200
Received: from granat.internetia.pl ([195.114.173.177.63150])
	by mail1.n1.pl with esmtp (Exim 3.35)
	envelope-from <dexter@netia.net.pl>
	id 19pQk2-0002OT-00; Wed, 20 Aug 2003 13:03:02 +0200
Date: Wed, 20 Aug 2003 13:03:00 +0200 (CEST)
From: Piotr Roszatycki <Piotr_Roszatycki@netia.net.pl>
X-X-Sender: dexter@granat.internetia.pl
To: Anthony Towns <ajt@debian.org>
cc: "J.H.M. Dassen (Ray)" <jdassen@debian.org>, 
    "204652@bugs.debian.org" <204652@bugs.debian.org>
In-Reply-To: <20030820103240.GB29888@azure.humbug.org.au>
Message-ID: <Pine.LNX.4.56.0308201301190.10142@granat.internetia.pl>
References: <Pine.LNX.4.56.0308191716420.10142@granat.internetia.pl>
 <20030819182739.GA11773@zensunni> <20030820044059.GA25846@azure.humbug.org.au>
 <Pine.LNX.4.56.0308200943070.10142@granat.internetia.pl>
 <20030820082413.GB28879@azure.humbug.org.au> <Pine.LNX.4.56.0308201043330.10142@granat.internetia.pl>
 <20030820103240.GB29888@azure.humbug.org.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 204652@bugs.debian.org
X-Spam-Status: No, hits=-15.5 required=4.0
	tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
	      REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_PINE
	autolearn=ham version=2.53-bugs.debian.org_2003_8_17
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_17 (1.174.2.15-2003-03-30-exp)
On Wed, 20 Aug 2003, Anthony Towns wrote:
> I realise the patch doesn't support this.
>
> But my intuition for it would be to have "--fakechroot" allow you to
> run debootstrap as an ordinary user. Sure, you have to run "fakechroot"
> to get into it, rather than real chroot, but that's no big deal.
>
> ie, the syntax would be something like:
>
> 	debootstrap --fakechroot ...
> 		# fakechroots into $TARGET, creates chroot, saves settings as
> 		# $TARGET/.debootstrap-fakechroot
>
> That probably requires debootstrap re-exec'ing itself, but that's no
> big deal.
>
> > There is possibility to detect fakechroot environment and enable this
> > switch automatically.
>
> Yes, that's probably a good idea too.

Hmm, which option would be better?

> Also, why is fakechroot being added to the list of debs to install
> for sid?

There must be a libfakechroot.so library in chroot as far as it is
preloaded by linker.

-- 
Piotr Roszatycki, Netia Telekom S.A.                    .''`.
mailto:Piotr_Roszatycki@netia.net.pl                   : :' :
mailto:dexter@debian.org                               `. `'
                                                         `-



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 25 18:48:24 2026; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.