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 David Runge (dvzrv) - Saturday, 02 September 2023, 17:22 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
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

Closed by  David Runge (dvzrv)
Saturday, 02 September 2023, 17:22 GMT
Reason for closing:  Upstream
Additional comments about closing:  Please open tickets for upstream issues at https://github.com/archlinux/arch-instal l-scripts/issues
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...