Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#70439 - [arch-install-scripts] support running pacstrap with fakechroot

Attached to Project: Arch Linux
Opened by nl6720 (nl6720) - Wednesday, 14 April 2021, 12:34 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 15 April 2021, 13:34 GMT
Task Type Feature Request
Category Packages: Extra
Status Assigned
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

Description:
pacstrap does not work when run with fakechroot. It fails in chroot_setup which mounts stuff. E.g.:
$ fakeroot fakechroot pacstrap /tmp/test base

==> Creating install root at /tmp/test
ERROR: ld.so: object 'libfakechroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
mount: /tmp/test/proc: must be superuser to use mount.
==> ERROR: failed to setup chroot /tmp/test


Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any
arch-install-scripts 23-2
fakechroot 2.20.1-2
fakeroot 1.25.3-2


Steps to reproduce:
$ mkdir /tmp/test
$ fakeroot fakechroot pacstrap /tmp/test base
This task depends upon

Loading...