From 329fa5bdbb621dae586cbfb062cbd3b295880ba5 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 6 Dec 2020 21:55:18 +0100 Subject: Revert "linux-container: Correct test for unprivileged user namespace support." This broke 'guix environment --container' on non-Debian distributions. Fixes . Reported by luhux . This reverts commit 8bc5ca5160db3d82bd5b6b2b7ed80c96f42bd33e. --- gnu/build/linux-container.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/build') diff --git a/gnu/build/linux-container.scm b/gnu/build/linux-container.scm index 3870b50907..4a8bed5a9a 100644 --- a/gnu/build/linux-container.scm +++ b/gnu/build/linux-container.scm @@ -44,7 +44,7 @@ (let ((userns-file "/proc/sys/kernel/unprivileged_userns_clone")) (if (file-exists? userns-file) (eqv? #\1 (call-with-input-file userns-file read-char)) - #f))) + #t))) (define (setgroups-supported?) "Return #t if the setgroups proc file, introduced in Linux-libre 3.19, -- cgit v1.2.3