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!
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!
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
Opened by nl6720 (nl6720) - Wednesday, 14 April 2021, 12:34 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 15 April 2021, 13:34 GMT
|
DetailsDescription:
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