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 FYPOGiKhzF+/bAAA0tVLHw (envelope-from ) for ; Sun, 06 Dec 2020 09:15:14 +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 uJ00FiKhzF8hFAAA1q6Kng (envelope-from ) for ; Sun, 06 Dec 2020 09:15:14 +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 D3EBB9404FC for ; Sun, 6 Dec 2020 09:15:13 +0000 (UTC) Received: from localhost ([::1]:57646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klq8N-0002G0-Ku for larch@yhetil.org; Sun, 06 Dec 2020 04:15:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klq8E-0002Fh-F9 for bug-guix@gnu.org; Sun, 06 Dec 2020 04:15:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37333) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klq8E-0006Ta-7S for bug-guix@gnu.org; Sun, 06 Dec 2020 04:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klq8E-0007be-32 for bug-guix@gnu.org; Sun, 06 Dec 2020 04:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45066: guix environment --container is borken Resent-From: luhux Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 06 Dec 2020 09:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45066 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45066@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160724609729208 (code B ref -1); Sun, 06 Dec 2020 09:15:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Dec 2020 09:14:57 +0000 Received: from localhost ([127.0.0.1]:48879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klq89-0007b2-8h for submit@debbugs.gnu.org; Sun, 06 Dec 2020 04:14:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:51790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klq88-0007av-D8 for submit@debbugs.gnu.org; Sun, 06 Dec 2020 04:14:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klq88-0002EC-8G for bug-guix@gnu.org; Sun, 06 Dec 2020 04:14:56 -0500 Received: from mail-oln040092254060.outbound.protection.outlook.com ([40.92.254.60]:6047 helo=APC01-PU1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klq86-0006Ow-0f for bug-guix@gnu.org; Sun, 06 Dec 2020 04:14:55 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H6oVlzLmlnB+kdDnsiYZictWusCMPMNAD7fhGIxjYEkRCjPf0a/60HM9UlvEiBcH7MqadHmILyb8JnPTCCyiFm9+dFsERBACn81T+dwdezZUhNJYn5yCWwZoU2rbQgsIqnooCI81WaOX8Zf4zFxnsPOGbkpjfJhUrCym1HQdlujj5VHcHBdKBN5ZT9Pd0dgCiIT2uEE22TTQLowXJF9RuhhxPCVvBOaBdG3+/Hg2lXAMl+bfCKLIA2vMqLd/LQpfgrKErjFmZ5B+Aacc6HQGgqofeyI+6y2QShynYNMN+hr8OwKpTMaKdzNgT8TGAWqkYun42HZcLOfBN3/iid8uCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pKbml26a5x9G1FJnKIgxo4MvajmdIm2NHDnto+Y0//I=; b=Uh+rquB/7dI0KgGg6oydnK5P/TRhyr5p0wD3rcjlaP7k8p5j2/W8YBAIXM44k8M2EcyMvZW9WyuPtijn3OrwIHSLIuc91rR+0dOpQxx/6wQ4s1MTF1JVg452cBSRssHu1R6T3Z/MbFjGwGlilQRDdxRvzxK2J29bngJ8frMxFljB07wBHgbATkZkeX44RZOZlHmtoNJJwnXEIfSHhmX5QtH725+sIOQPMu5TjmHuzfuoV8A9tv0zRhnasKg8HWJ64dY7hFWK+MjP4K4+qdQr2cFSXF13njZ7pmLpFqtiOUMWe1i7AUkBRyrUuYrgn9YfBUqBagyXnb7h+FQ9n/6PEQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pKbml26a5x9G1FJnKIgxo4MvajmdIm2NHDnto+Y0//I=; b=PiSfEqzBVW0KvxMDoiYWG+lCbyIv+5Lcxu3axgw9Jqfzo50iUNl2jNbT47ejpiIunt0nklsgo338R3fmoZZjucb1qZ7cAHq87Nh2vk21Dtj+buV4eXJuu5sNMLNBgqSiSxeoubmva0uFelw1aemP/Uv2deSlV3F91CEVL2eraH4hZlA/BpLQyvX/3UJxL+xpyp10RvxfcsTK1AXFrATtDAXDHfS5P4lnk9LUiE79vfB1JuUL6Jn2AGr+kvBWTpHZEZhYQXic7IJFRrJck3d+3N+6+ei2s2PZWnffwkIBWdXMO/4xrsYB5OMmaR7uQxK/+K5u1e97tNQLP34V9gCfGw== Received: from SG2APC01FT024.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebd::4b) by SG2APC01HT098.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebd::480) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Sun, 6 Dec 2020 08:59:46 +0000 Received: from PSXP216MB0214.KORP216.PROD.OUTLOOK.COM (10.152.250.55) by SG2APC01FT024.mail.protection.outlook.com (10.152.250.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend Transport; Sun, 6 Dec 2020 08:59:46 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:7CAFA5B9A46FA2869E03EF6EE6C7DAEAC9228D87AE9214E248C997E08CDB7E03; UpperCasedChecksum:B752C2DD2AB3E8515962C3F1C2002BB7C7D250E4CE2C85E13D7E873ACE2E64EB; SizeAsReceived:8379; Count:44 Received: from PSXP216MB0214.KORP216.PROD.OUTLOOK.COM ([fe80::3596:cdc4:9180:eeb3]) by PSXP216MB0214.KORP216.PROD.OUTLOOK.COM ([fe80::3596:cdc4:9180:eeb3%8]) with mapi id 15.20.3632.023; Sun, 6 Dec 2020 08:59:46 +0000 Date: Sun, 06 Dec 2020 16:59:41 +0800 User-Agent: K-9 Mail for Android Content-Type: multipart/alternative; boundary="----EJWN87MV1QLQ9P26PEHD9CA5FTM20J" Content-Transfer-Encoding: 7bit From: luhux Message-ID: X-TMN: [pmnLRCOjg2+LDMogP9f1jzRyazevaNp7] X-ClientProxiedBy: HKAPR04CA0003.apcprd04.prod.outlook.com (2603:1096:203:d0::13) To PSXP216MB0214.KORP216.PROD.OUTLOOK.COM (2603:1096:300:7::12) X-Microsoft-Original-Message-ID: <0E264B05-D04D-4C9F-9E0D-58A7DDADFDAF@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.0.245] (110.178.78.197) by HKAPR04CA0003.apcprd04.prod.outlook.com (2603:1096:203:d0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend Transport; Sun, 6 Dec 2020 08:59:45 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 44 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: d63b7667-f4d9-48f5-9239-08d899c5475a X-MS-TrafficTypeDiagnostic: SG2APC01HT098: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VDXFYLkXYxsuwUkjYG0J2ZCgmTHCgBLxfp39awfMg5Nz/3RnLxj+nWfSV5PR9JYgsCdt+MGIZzxVaBS1QbzFBtTvYMO/yLw2GnoSrfTGEHQPIQBc+rL/SE9FVi+yLk1S26FpgVihv5A1khHjhBCMCrZtf7uUkR9q9t86EkEvi8EzKsyHtLlm3K697ydeju5PNPDPwO8woOZWD0omTIRkJg== X-MS-Exchange-AntiSpam-MessageData: etpU6jRLLoAXsUVBvr9n1U1VKHoy35nHDqxlKU9H18uDn/+9eh5jP6fUmJqDDUZyVwy2NqbCzI9/5VF8z7EwdhQ9Bq0I+gMszX420EoqzqSRzKVPbQUkbACXIS6g4lCdgLrMQEaLHxSO8BHEy5YHxg== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d63b7667-f4d9-48f5-9239-08d899c5475a X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2020 08:59:46.0608 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: SG2APC01FT024.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2APC01HT098 Received-SPF: pass client-ip=40.92.254.60; envelope-from=luhux@outlook.com; helo=APC01-PU1-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: 0.80 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=outlook.com header.s=selector1 header.b=PiSfEqzB; arc=reject (signature check failed: fail, {[1] = sig:microsoft.com:reject}); dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (policy=none); 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: D3EBB9404FC X-Spam-Score: 0.80 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: SKimrsO5XO7T ------EJWN87MV1QLQ9P26PEHD9CA5FTM20J Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In the new guix `guix environment --container` is borken=2E The reason lies in the 8bc5ca5160db3d82bd5b6b2b7ed80c96f42bd33e of the mas= ter branch: It checks if the file exists and then returns a boolean None of my 3 Guix System machines have this file but they can still run un= privileged containers=2E Please fix it, thanks very much luhux ------EJWN87MV1QLQ9P26PEHD9CA5FTM20J Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable In= the new guix `guix environment --container` is borken.

The reason l= ies in the 8bc5ca5160db3d82bd5b6b2b7ed80c96f42bd33e of the master branch:


It checks if the file exists and then returns a boolean



None of my 3 Guix System machines have this file but they can= still run unprivileged containers.

Please fix it,

thanks ver= y much


luhux= ------EJWN87MV1QLQ9P26PEHD9CA5FTM20J--