[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31977: clone tests fail on CentOS 7
From: |
Paul Garlick |
Subject: |
bug#31977: clone tests fail on CentOS 7 |
Date: |
Wed, 02 Dec 2020 18:08:18 +0000 |
Hi Simon,
On Tue, 2020-12-01 at 19:12 +0100, zimoun wrote:
> This old bug #31977 is about an issue on your CentOS 7 machine. Is
> it still relevant?
Yes, this bug still exists.
However, I have just tested a fix:
--- 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))
- #t)))
+ #f)))
(define (setgroups-supported?)
"Return #t if the setgroups proc file, introduced in Linux-libre
3.19,
This ensures that tests are skipped if user namespaces are not enabled
for unprivileged users.
Best regards,
Paul.