guix/guix/scripts
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
..
container
git Add 'guix git authenticate'. 2020-07-11 12:33:01 +02:00
import
system machine: ssh: Check for potential system downgrades. 2020-07-27 12:06:35 +02:00
archive.scm
authenticate.scm
build.scm
challenge.scm challenge: Fix option indentation in '--help' output. 2020-06-26 16:19:53 +02:00
container.scm
copy.scm
deploy.scm
describe.scm guix describe: Display channel introductions and add 'channels-sans-intro'. 2020-07-01 23:34:51 +02:00
download.scm guix hash, guix download: Support base64 format. 2020-05-22 00:35:24 +02:00
edit.scm guix: edit: Make nano the default editor. 2020-04-27 23:29:40 +02:00
environment.scm tests: Actually run 'tests/guix-environment-container.sh'. 2020-06-20 13:18:11 +02:00
gc.scm
git.scm Add 'guix git authenticate'. 2020-07-11 12:33:01 +02:00
graph.scm Use 'formatted-message' instead of '&message' where appropriate. 2020-07-25 19:11:37 +02:00
hash.scm guix hash, guix download: Support base64 format. 2020-05-22 00:35:24 +02:00
import.scm
install.scm
lint.scm
offload.scm Use 'formatted-message' instead of '&message' where appropriate. 2020-07-25 19:11:37 +02:00
pack.scm pack: "fakechroot" execution engine can load its audit module. 2020-07-28 14:41:04 +02:00
package.scm guix package: Support multiple profiles with '--list-installed'. 2020-05-23 16:29:29 +02:00
perform-download.scm
processes.scm processes: Allow 'less' to properly estimate line length. 2020-07-27 12:06:35 +02:00
publish.scm publish: Improve performance by increasing buffer size. 2020-05-19 23:15:41 +02:00
pull.scm git: Add 'with-git-error-handling'. 2020-07-11 11:51:56 +02:00
refresh.scm
remove.scm
repl.scm repl: Fix typo that would lead ~/.guile to be used when running scripts. 2020-06-18 14:48:17 +02:00
search.scm
show.scm guix package, show: Support multiple queries. 2020-05-11 23:30:54 +02:00
size.scm size: Document that positional arguments can be store items. 2020-05-29 18:48:44 +02:00
substitute.scm substitute: Close port at the end of http-multiple-get. 2020-04-26 19:37:25 +01:00
system.scm guix system: Report file system errors using 'report-error'. 2020-07-25 19:11:37 +02:00
time-machine.scm git: Add 'with-git-error-handling'. 2020-07-11 11:51:56 +02:00
upgrade.scm
weather.scm weather: Print 0.0% correctly. 2020-07-05 16:13:37 +05:30