From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Vong Subject: Re: bug#21410: Environment containers Date: Mon, 23 Nov 2015 23:08:40 +0800 Message-ID: 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> <87egfjutvt.fsf@gnu.org> <87y4dr3uwm.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]:34904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0sjS-0004qa-Qn for guix-devel@gnu.org; Mon, 23 Nov 2015 10:08:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0sjR-00088A-R3 for guix-devel@gnu.org; Mon, 23 Nov 2015 10:08:42 -0500 In-Reply-To: <87y4dr3uwm.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 Sorry for late reply. I can confirm the two tests are now skipped with the latest master. Cheers, Alex On 22/11/2015, Ludovic Court=C3=A8s wrote: > Mathieu Lirzin skribis: > >> 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 -- >>>> guile -c '(exit 42)' >>>> guix environment: error: cannot create container: unprivileged user >>>> cannot 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. > > Thanks, pushed as 6493fd0. > > Ludo=E2=80=99. >