diff options
author | David Thompson <dthompson2@worcester.edu> | 2015-08-01 21:04:31 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2015-08-08 14:04:13 -0400 |
commit | 831bc1468ea27732ba59d58e4b38a192151aa123 (patch) | |
tree | 7e6474a505e7721ad27a203ac24ff28a0f12697e /AUTHORS | |
parent | 8c812f2aeeed8398a27f1594c20914031d97db58 (diff) | |
download | patches-831bc1468ea27732ba59d58e4b38a192151aa123.tar patches-831bc1468ea27732ba59d58e4b38a192151aa123.tar.gz |
build: container: Add #:host-uids argument to call-with-container.
It's not always possible to map 65536 uids when creating a container as the
root user within another user namespace. This is true when building Guix
within the build daemon's container. By using a uid range of 1 by default,
even as the root user, the tests now pass.
* gnu/build/linux-container.scm (initialize-user-namespace, run-container):
Add 'host-uids' argument.
(call-with-container): Add #:host-uids keyword argument.
* tests/containers.scm ("container-excursion"): Update 'run-container' call.
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions