From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" Subject: Re: Environment containers Date: Wed, 28 Oct 2015 12:08:01 -0400 Message-ID: References: <87y4epsnjs.fsf@T420.taylan> <87r3kgwpb8.fsf@gnu.org> <87mvv3832q.fsf@gnu.org> <87fv0v6l6v.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrTGd-0006Ei-Nv for guix-devel@gnu.org; Wed, 28 Oct 2015 12:08:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrTGc-0005nO-LR for guix-devel@gnu.org; Wed, 28 Oct 2015 12:08:03 -0400 Received: from mail-yk0-x22f.google.com ([2607:f8b0:4002:c07::22f]:34549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrTGc-0005n7-E5 for guix-devel@gnu.org; Wed, 28 Oct 2015 12:08:02 -0400 Received: by ykdr3 with SMTP id r3so12795721ykd.1 for ; Wed, 28 Oct 2015 09:08:02 -0700 (PDT) In-Reply-To: <87fv0v6l6v.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: guix-devel , 21410@debbugs.gnu.org On Wed, Oct 28, 2015 at 11:56 AM, Ludovic Court=C3=A8s wrote= : > "Thompson, David" skribis: > >> On Wed, Oct 28, 2015 at 11:14 AM, Alex Vong wro= te: >>> On 28/10/2015, Ludovic Court=C3=A8s wrote: >>>> Alex Vong skribis: >>>> >>>>> On 27/10/2015, Ludovic Court=C3=A8s wrote: >>>> >>>> [...] >>>> >>>>>> Do you still experience the test failures mentioned in that report? = If >>>>>> not, could you email 21410@debbugs.gnu.org, specifying which commit >>>>>> works for you? >>>>>> >>>>> Yes, there are 4 tests still failing with the latest master branch >>>>> without unprivileged container. >>>> >>>> Which tests? Does tests/container.scm pass? >>>> >>> It doesn't pass if I run as unprivileged user. It passes if I run as >>> root. I will be mailing the test logs on another mail. >> >> This is because Debian doesn't let unprivileged users create user >> namespaces without explicitly overriding some configuration. > > How could we determine whether this restriction is in place? That would > allow us to skip the test on these systems. I think it is /proc/sys/kernel/unprivileged_userns_clone, but I don't know what the contents are exactly. 0 when off, 1 when on? Can someone on Debian confirm? If we can get the test suite passing, I'd like to extract these user namespace presence tests to a procedure that 'guix environment' can use to give the user an informative error message in these cases. - Dave