From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: bug#21410: Environment containers Date: Sat, 21 Nov 2015 18:47:34 +0100 Message-ID: <87egfjutvt.fsf__23571.0999150344$1448140712$gmane$org@gnu.org> References: <87y4epsnjs.fsf@T420.taylan> <87r3kgwpb8.fsf@gnu.org> <87mvv3832q.fsf@gnu.org> <87fv0v6l6v.fsf@gnu.org> <87eggda36z.fsf@gnu.org> <87r3jkg1vl.fsf@gnu.org> <87wptb9wgl.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]:55393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0FTz-0003kA-W4 for bug-guix@gnu.org; Sat, 21 Nov 2015 16:14:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0FTu-00088P-5F for bug-guix@gnu.org; Sat, 21 Nov 2015 16:14:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0FTu-00088C-2Q for bug-guix@gnu.org; Sat, 21 Nov 2015 16:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a0FTt-00015h-Mv for bug-guix@gnu.org; Sat, 21 Nov 2015 16:14:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87wptb9wgl.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 21 Nov 2015 16:57:30 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: guix-devel , 21410@debbugs.gnu.org, Alex Vong ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> FAIL: tests/guix-environment-container >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> + set -e >> + guix environment --version >> guix environment (GNU Guix) 0.9.0 >> Copyright (C) 2015 the Guix authors >> License GPLv3+: GNU GPL version 3 or later >> This is free software: you are free to change and redistribute it. >> There is NO WARRANTY, to the extent permitted by law. >> + tmpdir=3Dt-guix-environment-29930 >> + trap 'rm -r "$tmpdir"' EXIT >> + mkdir t-guix-environment-29930 >> + guix environment --container --ad-hoc --bootstrap guile-bootstrap -- g= uile -c '(exit 42)' >> guix environment: error: cannot create container: unprivileged user cann= ot create user namespaces >> guix environment: error: please set /proc/sys/kernel/unprivileged_userns= _clone to "1" > > Oh I see, that part fell through the cracks. > > Could you confirm that the test is skipped with the attached patch? this test was failing on my system too, and it is skipped successfully with this patch. -- Mathieu Lirzin