guix-devel/gnu/build
Ludovic Courtès c06f6db7a4
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.
2016-05-31 00:11:04 +02:00
..
activation.scm activation: Copy account skeletons silently. 2016-03-24 22:47:15 +01:00
file-systems.scm file-systems: Add 'find-partition-by-luks-uuid'. 2016-04-17 01:23:52 +02:00
install.scm build: reset-timestamps: Include directories. 2016-03-14 12:36:49 +01:00
linux-boot.scm Rename '/root/etc/dmd' directory and 'do-not-kill' file. 2016-01-29 20:20:19 +03:00
linux-container.scm container: Gracefully report mount errors in the child process. 2016-05-31 00:11:04 +02:00
linux-initrd.scm linux-initrd: Compress cpio archives deterministically. 2015-09-09 23:27:10 +02:00
linux-modules.scm linux-modules: Use normalized module names for 'modprobe.blacklist'. 2016-02-21 13:04:10 +01:00
marionette.scm Add (gnu tests) and (gnu build marionette). 2016-05-04 23:35:55 +02:00
vm.scm vm: Only pass "-enable-kvm" to qemu if /dev/kvm is present. 2016-02-22 13:28:58 -08:00