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 aB1IN3RGQV+oRwAA0tVLHw (envelope-from ) for ; Sat, 22 Aug 2020 16:23:16 +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 AO3fMnRGQV9MegAAbx9fmQ (envelope-from ) for ; Sat, 22 Aug 2020 16:23:16 +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 362569403D2 for ; Sat, 22 Aug 2020 16:23:14 +0000 (UTC) Received: from localhost ([::1]:42632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9WIT-0005Jx-76 for larch@yhetil.org; Sat, 22 Aug 2020 12:23:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9WIJ-0005JS-BP for bug-guix@gnu.org; Sat, 22 Aug 2020 12:23:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39663) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k9WII-0002TW-4x for bug-guix@gnu.org; Sat, 22 Aug 2020 12:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k9WII-000104-1E for bug-guix@gnu.org; Sat, 22 Aug 2020 12:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42983: "sudo -E guix pull" breaks ~/.config/guix/current for regular user Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 22 Aug 2020 16:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42983 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Received: via spool by 42983-submit@debbugs.gnu.org id=B42983.15981133723824 (code B ref 42983); Sat, 22 Aug 2020 16:23:01 +0000 Received: (at 42983) by debbugs.gnu.org; 22 Aug 2020 16:22:52 +0000 Received: from localhost ([127.0.0.1]:51209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9WI8-0000zc-9E for submit@debbugs.gnu.org; Sat, 22 Aug 2020 12:22:52 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:54007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9WI5-0000zP-Ca for 42983@debbugs.gnu.org; Sat, 22 Aug 2020 12:22:50 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 2A3FE5C0110; Sat, 22 Aug 2020 12:22:44 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 22 Aug 2020 12:22:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=pnKBtQ4QosMLx3M19s577FWP 2YYgCIo26HDrTS797lk=; b=XIlVX5J9yNmJVprwRVgPU3V+FF3xERgvetUpCxIW sNeuLmOKpzkPaGM9hOEBd1ZJnFWqLwbJ5RUSGuChiP3siHznzMxtk40YeNs8WENr DbcXC39VWDvyoTYNHDDxKLZ6Xo3UOYpfKqpazqc7KbsBW2OuKWjP4IPID2F05ps3 XV0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=pnKBtQ 4QosMLx3M19s577FWP2YYgCIo26HDrTS797lk=; b=i+XZrAiE7Oe7eRCmC4RrHY mD/ikF00sque5VgbtyHwglgF9OMeJ77bv9MXhXVUrHVPECKe2RkMTjR5ueA7++P1 i2b97ouD0S11DTxxfsoH/iEFuzXTBB1p1lPC9vNW+Vfv7QtpywkaW7+5kNwXlmQF pS0FJFmPo7PI18UlI1Olv2BA1eX1D306fx001SB3Kf0nJT1wJpu9wuKgbv1ebCpG CC89xvMM2f0S8XIByjtypDdVUJWWWB9RBpFClr4dPIwmitXJOD8XSwGUXFL7QDCQ uuMjgWanqfKdXxesXphtVcUOsxR5HbcYxn5jhDebJVTyFWh1QLS0U2Va0ynVGuKg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddugedguddtvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth htvghrnhepueekkedtffdvtddugeejgedtvefhueefiedvjeeitdeigedtveejvdejheff vefgnecukfhppeejfedrudeguddruddvjedrudegieenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net [73.141.127.146]) by mail.messagingengine.com (Postfix) with ESMTPA id BFB723280059; Sat, 22 Aug 2020 12:22:43 -0400 (EDT) Date: Sat, 22 Aug 2020 12:22:41 -0400 From: Leo Famulari Message-ID: <20200822162241.GA5895@jasmine.lan> References: <20200822122750.78ddc111@scratchpost.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200822122750.78ddc111@scratchpost.org> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42983@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=famulari.name header.s=mesmtp header.b=XIlVX5J9; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm3 header.b=i+XZrAiE; dmarc=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-Spam-Score: 1.49 X-TUID: qnofgXAcq2kd On Sat, Aug 22, 2020 at 12:27:50PM +0200, Danny Milosavljevic wrote: > Paul reported on IRC that his guix behaved strangely. Upon > investigation we found that the following happens (on a Guix system), when logged > in as regular user (not root): > > $ readlink ~/.config/guix/current > /var/guix/profiles/per-user/dannym/current-guix > $ sudo -E guix pull > $ readlink ~/.config/guix/current > /var/guix/profiles/per-user/root/current-guix What is expected to happen in this case? Why would one want to use an unprivileged environment with privileges to do `guix pull`, which is a per-user operation?