From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CEh9IxxHzV8XBQAA0tVLHw (envelope-from ) for ; Sun, 06 Dec 2020 21:03:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id ILlDHxxHzV86CQAA1q6Kng (envelope-from ) for ; Sun, 06 Dec 2020 21:03:24 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0678E94042A for ; Sun, 6 Dec 2020 21:03:24 +0000 (UTC) Received: from localhost ([::1]:56782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1km1Bi-0000us-Jy for larch@yhetil.org; Sun, 06 Dec 2020 16:03:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1km1BO-0000sD-PL for bug-guix@gnu.org; Sun, 06 Dec 2020 16:03:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39931) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1km1BO-0008QW-Hi for bug-guix@gnu.org; Sun, 06 Dec 2020 16:03:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1km1BO-0002lJ-F2 for bug-guix@gnu.org; Sun, 06 Dec 2020 16:03:02 -0500 Subject: bug#45066: guix environment --container is borken Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Sun, 06 Dec 2020 21:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 45066 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun , luhux , 45066-done@debbugs.gnu.org Mail-Followup-To: 45066@debbugs.gnu.org, marius@gnu.org, luhux@outlook.com Received: via spool by 45066-done@debbugs.gnu.org id=D45066.16072885469930 (code D ref 45066); Sun, 06 Dec 2020 21:03:02 +0000 Received: (at 45066-done) by debbugs.gnu.org; 6 Dec 2020 21:02:26 +0000 Received: from localhost ([127.0.0.1]:51476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1km1An-0002Zr-RD for submit@debbugs.gnu.org; Sun, 06 Dec 2020 16:02:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1km1Am-0002V3-HP for 45066-done@debbugs.gnu.org; Sun, 06 Dec 2020 16:02:24 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42972) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1km1Ah-0008FP-1m; Sun, 06 Dec 2020 16:02:19 -0500 Received: from host-37-191-236-253.lynet.no ([37.191.236.253]:59332 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1km1Af-0007Ll-HE; Sun, 06 Dec 2020 16:02:18 -0500 From: Marius Bakke In-Reply-To: <86a6uqamqa.fsf@gmail.com> References: <86a6uqamqa.fsf@gmail.com> Date: Sun, 06 Dec 2020 22:02:14 +0100 Message-ID: <874kky1wdl.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.40 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 0678E94042A X-Spam-Score: -2.40 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: iU/sKCOGTD1V --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable zimoun skriver: > Hi, > > On Sun, 06 Dec 2020 at 16:59, luhux wrote: >> In the new guix `guix environment --container` is borken. > > It is not broken. It was broken. :-) > Have you tried the recommendation? > > --8<---------------cut here---------------start------------->8--- > $ su - > Password:=20 > # echo 1 > /proc/sys/kernel/unprivileged_userns_clone=20 > # logout > > $ guix environment -C --ad-hoc hello -- hello=20 > Hello, world! > --8<---------------cut here---------------end--------------->8--- ...because this only works on the Debian kernel. We need to find a more robust test for user namespaces, but for now I reverted the commit. Closing! Thanks for the report luhux. :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFDBAEBCgAtFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl/NRtYPHG1hcml1c0Bn bnUub3JnAAoJEKKgbfKjOlT6lCoIALELPwC/yU69unv973jNMyFX3VQj/8pBJVMF 0TvoY4oxFEAbPOlq/O/uR45Laq/VdzvdVF8+yx36YFkD05YWZoWqKo9lXK5IVO3a 2lS8me/El0dHoyIEP73/fks5mBSHtZHHBe/+VMgDpI2bnW0pxSimpiT3Sp96HYS7 HszTVR9iLzfQ09F+ZlI17qz4QzUjdUuRuF0z6rU+6ktGWWvYCjh11KVEHNtkQHw+ PUsco8Wtq5/zgBAtYOolkW0jZsGHWmMVIVJA6IDWR0PorObrRr7yuCG+8QrMhbb1 44vUiNHTSH1oYkRxVIVDLAAZetCm1BgmVUAkVtPVgHr6ei6sDUY= =r74s -----END PGP SIGNATURE----- --=-=-=--