diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-05-30 22:44:58 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-05-31 00:11:04 +0200 |
commit | c06f6db7a424fd47e3cd2625dbfda2367316f3bd (patch) | |
tree | 025d18dd2ed6d4f6a62cc09aa9633161c7d7edc8 /build-aux/hydra/gnu-system.scm | |
parent | 4c14d4eaa7ee9d5d89c04a41adb50c7c532d14e1 (diff) | |
download | guix-patches-c06f6db7a424fd47e3cd2625dbfda2367316f3bd.tar guix-patches-c06f6db7a424fd47e3cd2625dbfda2367316f3bd.tar.gz |
container: Gracefully report mount errors in the child process.
Fixes <http://bugs.gnu.org/23306>.
* gnu/build/linux-container.scm (run-container): Use 'socketpair'
instead of 'pipe'. Rename 'in' to 'child' and 'out' to 'parent'. Send
a 'ready message or an exception argument list from the child to the
parent; adjust the parent accordingly.
* tests/containers.scm ("call-with-container, mnt namespace, wrong bind
mount"): New test.
* tests/guix-environment-container.sh: Add test with
--expose=/does-not-exist.
Diffstat (limited to 'build-aux/hydra/gnu-system.scm')
0 files changed, 0 insertions, 0 deletions