From: Paul Garlick <pgarlick@tourbillion-technology.com>
To: zimoun <zimon.toutoune@gmail.com>
Cc: 31977@debbugs.gnu.org
Subject: bug#31977: clone tests fail on CentOS 7
Date: Wed, 02 Dec 2020 18:08:18 +0000 [thread overview]
Message-ID: <85c5c82b887d921b3395a1d7a240b5c9de46c89b.camel@tourbillion-technology.com> (raw)
In-Reply-To: <86ft4pv1ik.fsf@gmail.com>
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.
next prev parent reply other threads:[~2020-12-02 18:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-26 14:16 bug#31977: clone tests fail on CentOS 7 Paul Garlick
2020-12-01 18:12 ` zimoun
2020-12-02 18:08 ` Paul Garlick [this message]
2020-12-03 16:34 ` Paul Garlick
2020-12-07 0:54 ` zimoun
2020-12-19 9:26 ` zimoun
2020-12-21 15:29 ` Paul Garlick
2022-10-08 14:30 ` zimoun
2022-11-03 9:47 ` zimoun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85c5c82b887d921b3395a1d7a240b5c9de46c89b.camel@tourbillion-technology.com \
--to=pgarlick@tourbillion-technology.com \
--cc=31977@debbugs.gnu.org \
--cc=zimon.toutoune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).