#649146 mismatch between system ld-linux.so and chroot libc.so breaks most pseudo-chroot environments

Package:
fakechroot
Source:
fakechroot
Submitter:
Michael Gilbert
Date:
2022-05-20 14:15:05 UTC
Severity:
important
Tags:
#649146#5
Date:
2011-11-18 08:06:43 UTC
From:
To:
package: debootstrap
version: 1.0.37
severity: important

Hi,

debootstrapping squeeze with the fakechroot variant leads to a nested
usage of fakeroot.  For example

$ fakeroot fakechroot /usr/sbin/debootstrap --variant=fakechroot
squeeze --verbose ./squeeze-fakechroot
[...]
I: Extracting xz-utils...
I: Extracting zlib1g...
I: Installing core packages...
W: Failure trying to run: chroot
/media/newhd/chroots/squeeze-fakechroot dpkg --force-depends --install
/var/cache/apt/archives/base-files_6.0squeeze3_amd64.deb
/var/cache/apt/archives/base-passwd_3.5.22_amd64.deb

The tail of squeeze-fakechroot/debootstrap/debootstrap.log contains
the following:

    fakeroot: FAKEROOTKEY set to 1661226400
    fakeroot: nested operation not yet supported

Note that bootstrapping sid seems to be ok with the same command

$ fakeroot fakechroot /usr/sbin/debootstrap --variant=fakechroot sid
--verbose ./sid-fakechroot
[ok]

Thanks for looking into this.

Best wishes,
Mike

#649146#10
Date:
2011-11-18 08:31:31 UTC
From:
To:
gets a segfault instead of the nested fakeroot error:

$ export PATH="/sbin:/usr/sbin:/bin:/usr/bin"
$ fakeroot fakechroot /usr/sbin/debootstrap --variant=fakechroot
--verbose squeeze ./squeeze
[...]
I: Installing core packages...
W: Failure trying to run: chroot /home/zero79/tmp/squeeze dpkg
--force-depends --install
/var/cache/apt/archives/base-files_6.0squeeze3_amd64.deb
/var/cache/apt/archives/base-passwd_3.5.22_amd64.deb

Tail of debootstrap.log:

    Segmentation fault

#649146#15
Date:
2012-01-31 20:09:30 UTC
From:
To:
This isn't fixed in 1.0.38.

I'm seeing the same error and segfault trying to debootstrap lucid in a
fakechroot.

Big Fish Games, Inc. A New Game Every Day! (R)

#649146#20
Date:
2012-04-13 02:07:13 UTC
From:
To:
forcemerge 650234 649146
reassign 650234 eglibc
retitle 650234 eglibc: libc-2.11.x.so segfaults when used with ld-2.13.so
thanks

Hi, this seems more of an eglibc issue, so I am reassigning.  Daniel
Kahn Gillmor did a lot of useful tinkering in
http://bugs.debian.org/650234.

Thanks,
Mike

#649146#53
Date:
2012-11-14 04:29:37 UTC
From:
To:
retitle 649146 mismatch between system ld-linux.so and chroot libc.so breaks most pseudo-chroot environments
quit

There is a potential solution demonstrated in #650234.  This looks worthy
of "grave" severity.  The system and chroot libc.so being the exact same
version is almost a degenerate situation, not a common situation.

#649146#60
Date:
2013-12-06 00:33:28 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
fakechroot, which is due to be installed in the Debian FTP archive.

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

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

Debian distribution maintenance software
pp.
Piotr Roszatycki <dexter@debian.org> (supplier of updated fakechroot 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@ftp-master.debian.org)
Format: 1.8
Date: Thu, 05 Dec 2013 22:14:14 +0100
Source: fakechroot
Binary: fakechroot libfakechroot
Architecture: source all amd64
Version: 2.17.1-1
Distribution: unstable
Urgency: low
Maintainer: Piotr Roszatycki <dexter@debian.org>
Changed-By: Piotr Roszatycki <dexter@debian.org>
Description:
 fakechroot - gives a fake chroot environment - utilities
 libfakechroot - gives a fake chroot environment - runtime
Closes: 533560 582478 582479 631390 649146 663967 664121 691538 694827 697465 700816 720641 720643 720645 720647 720648 726161 730981
Changes:
 fakechroot (2.17.1-1) unstable; urgency=low
 .
   * New upstream release:
     - It is safe to use relative paths which won't escape from fake chroot.
       Closes: #533560, #582478, #582479, #663967.
     - More bugfixes. Closes: #631390, #649146, #664121, #691538, #694827,
       #697465, #700816, #720641, #720643, #720645, #720647, #720648, #730981.
   * Use dh_autoreconf to update config.guess and config.sub for arm64. Thanks
     to Colin Watson. Closes: #726161.
Checksums-Sha1:
 0c1754ca8202c3f39968f74803afc6449dbe850e 1314 fakechroot_2.17.1-1.dsc
 499589449ed80e227c0ebe262f5e210a2e9978ed 461563 fakechroot_2.17.1.orig.tar.gz
 8244d99eeab2c7bc057a00030e10515df78ec961 8907 fakechroot_2.17.1-1.debian.tar.gz
 bea2771ab61c4e64f7afce0b4254cd2e23038da9 28492 fakechroot_2.17.1-1_all.deb
 1b052e43697565f665189dfc9a4456c87ffe0969 40650 libfakechroot_2.17.1-1_amd64.deb
Checksums-Sha256:
 f4ff65496e320f5a61e4b5d1e482785c2a5e96ddf28fa98fe509bfee8e2ad59a 1314 fakechroot_2.17.1-1.dsc
 7662279b38f4cab0475d432872dde328e774f17306448abc98033ece35999315 461563 fakechroot_2.17.1.orig.tar.gz
 db68914921d2ad7cb9ba183863a524f5034501e0013942e8338ace9f2a349f04 8907 fakechroot_2.17.1-1.debian.tar.gz
 d3ccaca2a6a6482d4754172db8f36c0f242ae89de4eb21f18f3c99e6457c189e 28492 fakechroot_2.17.1-1_all.deb
 74e0452d091386bf39f5b11fffb866fe14602fa2ac4f993d53b6aff0cd211980 40650 libfakechroot_2.17.1-1_amd64.deb
Files:
 d6c2d8f94a83f77b3231c80b639f0c33 1314 utils optional fakechroot_2.17.1-1.dsc
 3c17eff0c854a77f98b4d0db086bc5bc 461563 utils optional fakechroot_2.17.1.orig.tar.gz
 741b102d298ecfb8d7a4b6b690245512 8907 utils optional fakechroot_2.17.1-1.debian.tar.gz
 a3dbcdacc8c9a79a362dab705c8d2d7e 28492 utils optional fakechroot_2.17.1-1_all.deb
 1c3581efc0e422760b406981ecb232c9 40650 libs optional libfakechroot_2.17.1-1_amd64.deb
iEYEARECAAYFAlKhGHcACgkQhMHHe8CxCls2ygCg6sYz89upVHUuGu6iTNOVoUys
UmkAnjyNLL+lnr1lxscWd9U6l12eCsE4
=PN5Y
-----END PGP SIGNATURE-----

#649146#75
Date:
2022-05-20 14:11:48 UTC
From:
To:
Dapatkan Outlook untuk Android<https://aka.ms/AAb9ysg>