guix/guix
Ludovic Courtès c6c0d5a22c
pack: "fakechroot" execution engine can load its audit module.
Fixes <https://bugs.gnu.org/42558>.

Until now, loading 'pack-audit.so' in a truly non-Guix environment would
usually fail because 'pack-audit.so' depends on 'libgcc_s.so' and
'libc.so', none of which could be found.

Furthermore, the test was not working as expected: the trick

  unshare -mrf sh -c 'mount -t tmpfs none /gnu ; ...'

would allow the fakechroot engine to make its store available as
/gnu/store as a result of another bug.

* gnu/packages/aux-files/run-in-namespace.c (relocated_search_path): New
function.
(exec_with_loader): Pass "--library-path" to the loader.
* guix/scripts/pack.scm (wrapped-package)[build](runpath): New procedure.
(elf-loader-compile-flags): Pass "-DLOADER_AUDIT_RUNPATH".
* tests/guix-pack-relocatable.sh: Remove 'STORE_PARENT'.
(run_without_store): New function.  Erase $NIX_STORE_DIR instead of
$STORE_PARENT.
Use 'run_without_store' throughout.
2020-07-28 14:41:04 +02:00
..
build guix: Add maven-build-system. 2020-07-17 04:21:22 +02:00
build-system build-system/maven: Make default-maven-plugins a procedure. 2020-07-17 09:45:19 +01:00
import utils: Remove compatibility re-export of 'memoize'. 2020-07-25 19:11:36 +02:00
scripts pack: "fakechroot" execution engine can load its audit module. 2020-07-28 14:41:04 +02:00
store store: deduplication: Handle fs without d_type support. 2020-07-28 14:10:28 +02:00
tests
base16.scm
base32.scm
base64.scm
build-system.scm
bzr-download.scm
cache.scm
channels.scm Use 'formatted-message' instead of '&message' where appropriate. 2020-07-25 19:11:37 +02:00
ci.scm
colors.scm
combinators.scm combinators: Fix typo. 2020-07-05 03:15:08 +05:30
config.scm.in
cpio.scm
cve.scm Use 'formatted-message' instead of '&message' where appropriate. 2020-07-25 19:11:37 +02:00
cvs-download.scm
deprecation.scm
derivations.scm
describe.scm
diagnostics.scm diagnostics: Add '&formatted-message'. 2020-07-25 19:11:36 +02:00
discovery.scm discovery: Fix typo. 2020-07-05 16:07:59 +05:30
docker.scm
download.scm download: Add Savannah mirror. 2020-07-20 23:25:10 +02:00
elf.scm
ftp-client.scm
gexp.scm
git-authenticate.scm Use 'formatted-message' instead of '&message' where appropriate. 2020-07-25 19:11:37 +02:00
git-download.scm git-download: Don't verify X.509 certificate of SWH. 2020-07-10 00:11:00 +02:00
git.scm git: 'update-cached-checkout' has a new #:check-out? parameter. 2020-07-23 00:22:25 +02:00
glob.scm
gnu-maintenance.scm upstream: 'download-tarball' gracefully handles missing signatures. 2020-07-21 17:50:44 +02:00
gnupg.scm
grafts.scm
graph.scm
hg-download.scm
http-client.scm
i18n.scm
inferior.scm utils: Move <location> and '&error-location' to (guix diagnostics). 2020-07-25 19:11:36 +02:00
json.scm json: Re-export 'define-json-mapping' from (json) when available. 2020-07-20 23:25:10 +02:00
licenses.scm
lint.scm Use 'formatted-message' instead of '&message' where appropriate. 2020-07-25 19:11:37 +02:00
lzlib.scm
man-db.scm
memoization.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm
openpgp.scm
packages.scm packages: Ensure bags are insensitive to '%current-system'. 2020-07-13 16:49:12 +02:00
pki.scm
profiles.scm utils: Move '&fix-hint' to (guix diagnostics). 2020-07-25 19:11:36 +02:00
profiling.scm
progress.scm
quirks.scm quirks: Adjust patch to allow traveling back to Dec. 2018. 2020-07-24 18:56:25 +02:00
records.scm
remote.scm Use 'formatted-message' instead of '&message' where appropriate. 2020-07-25 19:11:37 +02:00
repl.scm
scripts.scm scripts: Typo in args-fold*. 2020-07-12 10:07:59 +02:00
search-paths.scm
self.scm maint: Remove traces of "berlin.guixsd.org". 2020-07-10 00:11:00 +02:00
serialization.scm
sets.scm
ssh.scm Use 'formatted-message' instead of '&message' where appropriate. 2020-07-25 19:11:37 +02:00
status.scm
store.scm
svn-download.scm
swh.scm swh: Allow callers to disable X.509 certificate verification. 2020-07-10 00:11:00 +02:00
tests.scm
ui.scm processes: Allow 'less' to properly estimate line length. 2020-07-27 12:06:35 +02:00
upstream.scm upstream: Handle the case where the file name has no extension. 2020-07-27 13:35:49 +02:00
utils.scm utils: Move '&fix-hint' to (guix diagnostics). 2020-07-25 19:11:36 +02:00
workers.scm
zlib.scm