guix-play/gnu/build
Ludovic Courtès 7fee5b5397
container: Allow 'container-excursion' to the same namespaces.
Before that, 'container-excursion' would call 'setns' even when the
target namespace is the one the caller is already in, which would fail.

* gnu/build/linux-container.scm (container-excursion): Introduce
'source' and 'target'.  Compare the result of 'readlink' on these
instead of comparing file descriptors to decide whether to call
'setns'.
* tests/containers.scm ("container-excursion, same namespace"): New test.
2016-10-19 15:54:10 +02:00
..
activation.scm activation: Don't fail if /var/lib exists. 2016-09-06 14:41:48 -04:00
file-systems.scm
install.scm
linux-boot.scm
linux-container.scm container: Allow 'container-excursion' to the same namespaces. 2016-10-19 15:54:10 +02:00
linux-initrd.scm
linux-modules.scm
marionette.scm
vm.scm