Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 91283

The original version `fakeroot` uses `LD_PRELOAD` to coerce child processes that expect to run as superuser (root) into thinking they get to run as superuser. A rewrite based on `ptrace` exists, named `fakeroot-ng`.

1 vote
1 answer
15 views

debootstrap --second-stage with fakechroot fails on docker (/lib/ld-linux-armhf.so.3: No suc...

Excerpt from the script: apt-get -y install debootstrap fakechroot fakeroot qemu-user-static binfmt-support mkdir -p $CROSS_ROOT fakechroot fakeroot -s .fakeroot.state debootstrap --variant=fakechroot … --include=fakeroot,build-essential,ca-certificates,debian-archive-keyring,git,sudo --arch=${CROSS_ARCH} --foreign ${CROSS_RELEASE} $CROSS_ROOT $CROSS_MIRROR mkdir -p $CROSS_ROOT/usr/bin ln /usr/bin/qemu …
user149408's user avatar
  • 1,343
0 votes
Accepted

debootstrap --second-stage with fakechroot fails on docker (/lib/ld-linux-armhf.so.3: No suc...

On the other hand, fakeroot seems to be necessary, as some privileged operations (namely, mounting /sys and /proc) will otherwise fail on an unprivileged Docker container. … fakeroot -s .fakeroot.state debootstrap --variant=buildd --include=fakechroot,fakeroot,build-essential,ca-certificates,debian-archive-keyring,git,sudo --arch=${CROSS_ARCH} --foreign ${CROSS_RELEASE} $ …
user149408's user avatar
  • 1,343