From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YLABObIQzV+HRwAA0tVLHw (envelope-from ) for ; Sun, 06 Dec 2020 17:11: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 mp1 with LMTPS id mMm5NLIQzV8kSAAAbx9fmQ (envelope-from ) for ; Sun, 06 Dec 2020 17:11: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 71A3B940396 for ; Sun, 6 Dec 2020 17:11:14 +0000 (UTC) Received: from localhost ([::1]:44650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klxZ2-0007jg-0L for larch@yhetil.org; Sun, 06 Dec 2020 12:11:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klxYs-0007ih-In for bug-guix@gnu.org; Sun, 06 Dec 2020 12:11:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39563) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klxYs-0005P5-6d for bug-guix@gnu.org; Sun, 06 Dec 2020 12:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klxYr-0007Ro-TV for bug-guix@gnu.org; Sun, 06 Dec 2020 12:11:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45066: guix environment --container is borken Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 06 Dec 2020 17:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45066 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: luhux , 45066@debbugs.gnu.org Received: via spool by 45066-submit@debbugs.gnu.org id=B45066.160727465928620 (code B ref 45066); Sun, 06 Dec 2020 17:11:01 +0000 Received: (at 45066) by debbugs.gnu.org; 6 Dec 2020 17:10:59 +0000 Received: from localhost ([127.0.0.1]:51109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klxYp-0007RX-Kr for submit@debbugs.gnu.org; Sun, 06 Dec 2020 12:10:59 -0500 Received: from mail-wm1-f44.google.com ([209.85.128.44]:37913) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klxYo-0007RM-R4 for 45066@debbugs.gnu.org; Sun, 06 Dec 2020 12:10:59 -0500 Received: by mail-wm1-f44.google.com with SMTP id g185so11514947wmf.3 for <45066@debbugs.gnu.org>; Sun, 06 Dec 2020 09:10:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=vZX1R+HVwEHDtkvSDvF4KbngxrD1B/TBDCFGor0RUpU=; b=JxPO+eKcK99bmUZWW6tD4klA4/V8pZDTiVL70x8QpoBFMvkg6tQQatiPEMiTl5oNDx 5cClnEhwb2mdZ4IFl9Ro8M4xsH96jbluiVbc1C26k/Y85j0YOvoyCQH5BjPG2T+2/7oi /uuUxXEVt+CLEexNaBgsgGbvG0RqgXoFdhqCwPZGaBkd2lGbYQTmDXPeyeICWYPhi76P 1qPH/R0+5A0FzeL4+cQLuk+lN54z9Y0YBPHL8XuHruUsKNz/uvksOqiQZnmsEM0gQ56h CxQcrQcvonESjDKCrz3L+uV/C6daaeZJd6b6xD39UNoxkRmCLIgVvxduFo7gd6EWdyal wyiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=vZX1R+HVwEHDtkvSDvF4KbngxrD1B/TBDCFGor0RUpU=; b=g1xlWbBluQBpYDljSTxTae4NySh7Rl5sT4jrjfACkIXmTNER9KCpVA241SNJsjCb3/ /0GlhxyvFszG57shlia6TxsgBDqzXKU5Boi2HAZCV6faw9EfN4Gq9sNXsqECTHZaXm+B 6/NxfR+T3nq3w9n440sugCbTPKmgtaQVxsdSsngW5zFug6D/7QWDxAWMFuu+XYopRQzf BKKiuRkr0TaUKvro5we3KmwjJLFiCIdc1QpAzzTsYjSZFvTLrZYyL7LoAVD5WMEefmur maioTfI6C+8HrC+qD5BzLXfgEAC+8sbiGZm1j9GysX6u9+fMOaNXG03M5IATBpSKLdAe Qjqw== X-Gm-Message-State: AOAM533hhNQBUYCTIkSSp03O82+Zg7PoM5eNJ1rNyW6FVSGVoOLdkdF+ BdtlpxjqqBed9X2oCrgNbSX6dpRzRdU= X-Google-Smtp-Source: ABdhPJx2M0HJnY67Yzp3mMfeCz1XogNczmtG+UL0BfJJxLLdFH7W/Fy7Xg6P8ZxAS50WEowSzBLe3w== X-Received: by 2002:a1c:2e48:: with SMTP id u69mr14755919wmu.30.1607274652885; Sun, 06 Dec 2020 09:10:52 -0800 (PST) Received: from lili ([88.126.110.68]) by smtp.gmail.com with ESMTPSA id m8sm11029393wmc.27.2020.12.06.09.10.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Dec 2020 09:10:52 -0800 (PST) From: zimoun In-Reply-To: References: Date: Sun, 06 Dec 2020 18:05:49 +0100 Message-ID: <86a6uqamqa.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain 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: -1.20 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=JxPO+eKc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.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: 71A3B940396 X-Spam-Score: -1.20 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: BDlDyP/1u0PG Hi, On Sun, 06 Dec 2020 at 16:59, luhux wrote: > In the new guix `guix environment --container` is borken. It is not broken. > Please fix it, Please fix your config. :-) The message says: --8<---------------cut here---------------start------------->8--- $ guix environment -C --ad-hoc hello -- hello 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" --8<---------------cut here---------------end--------------->8--- Have you tried the recommendation? --8<---------------cut here---------------start------------->8--- $ su - Password: # echo 1 > /proc/sys/kernel/unprivileged_userns_clone # logout $ guix environment -C --ad-hoc hello -- hello Hello, world! --8<---------------cut here---------------end--------------->8--- Feel free to comment on the thread: if it does not work for you. If no major objection, I am closing. All the best, simon