From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gM9hEs6NzGG9qwAAgWs5BA (envelope-from ) for ; Wed, 29 Dec 2021 17:33:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QGapD86NzGF2TwAA9RJhRA (envelope-from ) for ; Wed, 29 Dec 2021 17:33:18 +0100 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 AFC4D3247D for ; Wed, 29 Dec 2021 17:33:17 +0100 (CET) Received: from localhost ([::1]:46244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2bt6-0001he-UP for larch@yhetil.org; Wed, 29 Dec 2021 11:33:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2NBL-0000Pe-9d for bug-guix@gnu.org; Tue, 28 Dec 2021 19:51:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36226) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2NBG-0007f9-Iz for bug-guix@gnu.org; Tue, 28 Dec 2021 19:51:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2NBG-0006Uz-BT for bug-guix@gnu.org; Tue, 28 Dec 2021 19:51:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52862: Clarify note about sudo in 3.7 After System Installation Resent-From: Akira Kyle Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 29 Dec 2021 00:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52862 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 52862@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164073903324935 (code B ref -1); Wed, 29 Dec 2021 00:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Dec 2021 00:50:33 +0000 Received: from localhost ([127.0.0.1]:47770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2NAn-0006U7-AK for submit@debbugs.gnu.org; Tue, 28 Dec 2021 19:50:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:35354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2KSK-0006FA-Ug for submit@debbugs.gnu.org; Tue, 28 Dec 2021 16:56:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2KSK-0002t4-Ne for bug-guix@gnu.org; Tue, 28 Dec 2021 16:56:28 -0500 Received: from mail-lj1-f173.google.com ([209.85.208.173]:39711) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2KSJ-0004n8-38 for bug-guix@gnu.org; Tue, 28 Dec 2021 16:56:28 -0500 Received: by mail-lj1-f173.google.com with SMTP id x4so15162483ljc.6 for ; Tue, 28 Dec 2021 13:56:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rdIU6BOHARcjDmpKja4Smph7peF7DG2Ib5TBj6nckLg=; b=Hld+tRsGzPXg4WdH/2s8aikEtJz9RLOdB9aiQSI+lUMvWd6QJrIPczE5s+U1pg44CK VyXXyYsPBTL7PYPKwqmTOvc8cDNRvnYC9ElzDa9ObXkIOEKcuUIHt0YmeO76ZdvYydQJ 5girlFVvp/fVxqq6e7yGmGjFBEALlg6l01ypGDlC6MgnNA2Nhz0ihn61/trcxfHAN64R 44GvrVmBKmsQsBX9RPKn1hRoS7tDYlk+5FAaWEiShzvvYHNqB/JZIWA55A10kTe+lArV LbgI0MKK7xYuZe9HbQ7TJlfOITFtYSCXyvFHo5eb2C/VCZ5u+xztXiT4SR8acEHP6BJD Bbpg== X-Gm-Message-State: AOAM533OPhX8Ej3QR2rpZvjpKbal1uSf0QjD50FG64r0l/O15La++K0n 6uoixxAF/X1cStHrfYbvc7TEXXmMV3csOw== X-Google-Smtp-Source: ABdhPJwEGRYa1kAiSSHbWh/LX5AlpnQW8u4JR2cRZxa4MMaIrX0Eui2FVUW0cqC16TNIGqBLtaPx8Q== X-Received: by 2002:a2e:9f17:: with SMTP id u23mr20800621ljk.309.1640728584674; Tue, 28 Dec 2021 13:56:24 -0800 (PST) Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com. [209.85.167.54]) by smtp.gmail.com with ESMTPSA id u2sm2021961lfs.140.2021.12.28.13.56.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Dec 2021 13:56:24 -0800 (PST) Received: by mail-lf1-f54.google.com with SMTP id x7so43967358lfu.8 for ; Tue, 28 Dec 2021 13:56:24 -0800 (PST) X-Received: by 2002:a05:6512:b9f:: with SMTP id b31mr20530625lfv.319.1640728583980; Tue, 28 Dec 2021 13:56:23 -0800 (PST) MIME-Version: 1.0 From: Akira Kyle Date: Tue, 28 Dec 2021 14:56:13 -0700 X-Gmail-Original-Message-ID: Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=209.85.208.173; envelope-from=aikokyle@gmail.com; helo=mail-lj1-f173.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 28 Dec 2021 19:50:32 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Wed, 29 Dec 2021 11:32:52 -0500 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640795598; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=rdIU6BOHARcjDmpKja4Smph7peF7DG2Ib5TBj6nckLg=; b=gdV4XC2BQbaXJH4tUoSihXAZ4Fe3ZBR42BiJ1PYr7paJUp3X3mIBzLFsbDJx24xoIK6kVU 6OVv0ael69uHqrtK24P3pOKuCTsabUxxLjtN+IC2TlbKW0xqJ8IXkReezDEimIUax8Gp2B /wUd19GBQJ5EWoqCp6mAolflqjDBkJqa3bR7vXqBw5I9X2eBnfEKUy/Kx2r71WUBr/9Hq/ +JClbAAXV6vi3s18t8GIXFEM/bNSzI0kjE6cFOCQtunEsAOk5nbB8mgXkiY+GBGcK2wd2l r/dXM295CpfvT82+dKJgZfl9QADbqGA00eo0K8aE4/xu3QI2pXgAWAz3ftUfpA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640795598; a=rsa-sha256; cv=none; b=Gdr/Jr4RgzV2oqoF8qtcNd90Sc6HhGuwNoNZwGJ0RCBg4ttxVi2M22+oy8CnbqMHD3QyUH DJi6H8r79uApLd2XaRS9XFdCmEQDi4E2GjbXJNPwXZnTgdLE+8gIbyMGbgYeBPpyuH5RA3 aHACJa7nhtL5MopBjSh52xQkZRz5UgGJHQy8/IbtXfjBUWu3D2LK7Ke1sSTsMmv2WYjw47 dQN7NZTs1K18CrExwQSHvOvkNMM9CtNMsjhdj59tg6jng0D+iWoPW9PtiQpbtUkBtLQYjc 0TDDwcANutbhNafjos+DnTDgQsBrXAjSQvukFeZO8944DLz/C311WRql9ZJxZg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.27 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AFC4D3247D X-Spam-Score: -3.27 X-Migadu-Scanner: scn1.migadu.com X-TUID: Elv5gVH58rYs Hi, I'm trying to get going with guixsd for the first time and I just spent awhile trying to figure out what was going wrong trying to run 'guix pull' and 'guix system reconfigure /etc/config.scm'. The issue was that I was running both in shell obtained via 'sudo su' from my user shell. I had read the note about this in section "3.7 After System Installation" and thought since, following the note, I was running both in a root shell, this would be fine. Coming from nix, this is fine, however I see now that the environment and path are incorrect in a 'sudo su' shell as the guix that was being used was the system guix from /run/current-system/profile and not /root/.config/guix/current which led to the effective system downgrade that running guix system reconfigure kept warning about. I would suggest updating the documentation to explicitly say 'sudo su' should not be used since I expect there are many others like me who are ignorant to the differences between 'sudo su' and 'sudo -i' Thanks, Akira