From unknown Wed Jun 25 10:47:29 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#40344 <40344@debbugs.gnu.org> To: bug#40344 <40344@debbugs.gnu.org> Subject: Status: inconsistent 'guix package --list-generations' for root Reply-To: bug#40344 <40344@debbugs.gnu.org> Date: Wed, 25 Jun 2025 17:47:29 +0000 retitle 40344 inconsistent 'guix package --list-generations' for root reassign 40344 guix submitter 40344 Efraim Flashner severity 40344 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 04:55:44 2020 Received: (at submit) by debbugs.gnu.org; 31 Mar 2020 08:55:44 +0000 Received: from localhost ([127.0.0.1]:35497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJCgS-0004cY-C3 for submit@debbugs.gnu.org; Tue, 31 Mar 2020 04:55:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:35468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJCgQ-0004cO-CN for submit@debbugs.gnu.org; Tue, 31 Mar 2020 04:55:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60920) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJCgP-0007J8-5U for bug-guix@gnu.org; Tue, 31 Mar 2020 04:55:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJCgO-0000Sw-7w for bug-guix@gnu.org; Tue, 31 Mar 2020 04:55:41 -0400 Received: from flashner.co.il ([178.62.234.194]:39626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jJCgO-00007A-1u for bug-guix@gnu.org; Tue, 31 Mar 2020 04:55:40 -0400 Received: from localhost (unknown [141.226.9.17]) by flashner.co.il (Postfix) with ESMTPSA id 3B8E64005F for ; Tue, 31 Mar 2020 08:55:08 +0000 (UTC) Date: Tue, 31 Mar 2020 11:54:36 +0300 From: Efraim Flashner To: bug-guix@gnu.org Subject: inconsistent 'guix package --list-generations' for root Message-ID: <20200331085436.GD5436@E5400> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mJm6k4Vb/yFcL9ZU" Content-Disposition: inline X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 178.62.234.194 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --mJm6k4Vb/yFcL9ZU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable When I run 'sudo guix package --list-generations' on a foreign distro I get a list of all the profiles for all the users, not just for root. When I run 'sudo guix package --list-generations' on Guix System I get: guix package: error: profile '/var/guix/profiles/per-user/root/guix-profile= ' does not exist 1: it probably shouldn't error if the default profile doesn't exist 2: I like the idea of root being able to, say, clean up all the profiles over a certain age (ie.: guix package --delete-generations 6m). On the other hand it is unexpected behavior since root is "just another user" --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --mJm6k4Vb/yFcL9ZU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6DBUgACgkQQarn3Mo9 g1HpCw/+JAw4G6UJywcTQoegod/7Cwq7JMN6ADfiyEFrypeW8EuGy6QVt3lhS0xs GuYZ3YABBTIaEszyr3WDReooalvesrmSrdCIMWKiMW8vdZzo56tG7wZxxe1e3IXe vYkEPDndnp0Q0LNjQT0k+MsyMX5wAuqM4iKE6zeus9AyaBMxFNvikspQl3fC874v YnJ3U+KRY8MfFzjs+dJA9uoKLXt5/qMtTgIAiIJF4/62+1vRRR8CqTQX3xgWFvxF HhoEYupWWviq164bT5cqZmfAlpCXXlZ6MdW/7hcg6GUDCWE6g2K2ie6qGhF1UDny SFd3tDdGTbTEWCPbnvUg6EasIOC8LHPTMy2DnMf9P3gKI1uVqr2w5+Hn92P2QHJ7 ZvI45p3Wa6pxWH6Ri8gnMxVgAnaWZLv/DyZZ0ZBrWlzhQhTpBWgkD/ZsiNNRLIhm Yd3KxU7y/Dekj+pYgKkdb7IF05i87qOGwmYUIV4+k+lU5iUSAoEMNfrWyMMnoauf XMXfJAwW25BIiLkIkyftvkboi1e74WUittU+5517lvmZKJ4KF94cASu4aCPthr6z OYf8kTCKa1Vm7GfClgQTeaZIB1eWnXtH4+z2s9sCIWgG/64zwDyqGXi13mH9rEmV wPjdtne3n/8Af3Iry1midxlLOFinwGDS/HHxhWsw90Eu5dHYADg= =hZ5a -----END PGP SIGNATURE----- --mJm6k4Vb/yFcL9ZU-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 11:45:58 2020 Received: (at 40344) by debbugs.gnu.org; 31 Mar 2020 15:45:58 +0000 Received: from localhost ([127.0.0.1]:36857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJJ5S-00081M-Dk for submit@debbugs.gnu.org; Tue, 31 Mar 2020 11:45:58 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:57239) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJJ5R-00081A-9P for 40344@debbugs.gnu.org; Tue, 31 Mar 2020 11:45:57 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 1A93BA58; Tue, 31 Mar 2020 11:45:51 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 31 Mar 2020 11:45:51 -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=k4KBvMQ5udYKzrg8qMjpWFJa /SkliGPtUCZLTfVeAB0=; b=o4ZckLhRIdbqxsvJP6x4ZcbHGPOHpRQJzL1dfGZc syImTQTjgFcTDiuS8np1L+s8dRz+CQeHeIyPCSLPffGTKmrhISktRF79Rjs2lP9K hk1jJQb4i0ujHWf7uOtOfKoFlofv4mr8dc9WWk7RAfPyXxqI2jJ+SKkj0VndDsbs FF8= 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=fm2; bh=k4KBvM Q5udYKzrg8qMjpWFJa/SkliGPtUCZLTfVeAB0=; b=TKE/Jl+LHIMRlAVXoTiLVL jqd2NtaITSv1ed8g5yidaTRCWuSVTNJ8FCXGglAYQEwiDQPdFQjYNTgx9Gx1mSms H04tLZPgWrNQmhbWGZqddO3fM0HYRDE6zjLdy5tnB0AENME3Dv3gp843qKxg8LE+ MzE1WFAc4R1yY3/k6xnet9CQiW1ZsoTVe6Bp3ttrvI72/q5ZW0EChs359M8/VQ2c VH5gLqeXXkkHd92OALAj3Xg2tuFm3fVLaCx/rs7CYUu3CEsZS2wdiTTvOzKBokXb mp6rtapBFOxhsJpECg37oCW4ns3oI69KMvVnnfFxcVcvTh8ACbBfrSZj13D2OGXg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrtddtgdehlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcuhfgr mhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecukfhppeejiedrud dvgedrudefkedrieefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id 19511306CB21; Tue, 31 Mar 2020 11:45:50 -0400 (EDT) Date: Tue, 31 Mar 2020 11:45:48 -0400 From: Leo Famulari To: Efraim Flashner Subject: Re: bug#40344: inconsistent 'guix package --list-generations' for root Message-ID: <20200331154548.GA9695@jasmine.lan> References: <20200331085436.GD5436@E5400> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200331085436.GD5436@E5400> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40344 Cc: 40344@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Mar 31, 2020 at 11:54:36AM +0300, Efraim Flashner wrote: > When I run 'sudo guix package --list-generations' on a foreign distro > I get a list of all the profiles for all the users, not just for root. It's complicated on foreign distros, since they vary in how they configure sudo, and since Guix is really based on login environments. I think it's correct that you'd see your own user's generations. Doing `sudo foo` doesn't totally change your user from Guix's point of view, just your privilege level. You'd need `sudo --login` to become root. Try `env`, `sudo env`, `sudo --login env`... It's definitely not expected to see all the users' generations, though (I can't reproduce that). Exactly how it works on the foreign distro will probably vary by distro and setup, however. `sudo guix ...` doesn't work at all on my Debian; it fails with "sudo: guix: command not found" and I have to use `sudo --login`. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 13:48:44 2020 Received: (at 40344-done) by debbugs.gnu.org; 31 Mar 2020 17:48:44 +0000 Received: from localhost ([127.0.0.1]:36969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJL0G-0004zZ-Hy for submit@debbugs.gnu.org; Tue, 31 Mar 2020 13:48:44 -0400 Received: from flashner.co.il ([178.62.234.194]:41996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJL0F-0004zJ-1o for 40344-done@debbugs.gnu.org; Tue, 31 Mar 2020 13:48:44 -0400 Received: from localhost (unknown [141.226.9.17]) by flashner.co.il (Postfix) with ESMTPSA id E33D440257; Tue, 31 Mar 2020 17:48:35 +0000 (UTC) Date: Tue, 31 Mar 2020 20:48:03 +0300 From: Efraim Flashner To: Leo Famulari Subject: Re: bug#40344: inconsistent 'guix package --list-generations' for root Message-ID: <20200331174803.GJ5436@E5400> References: <20200331085436.GD5436@E5400> <20200331154548.GA9695@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gBdJBemW82xJqIAr" Content-Disposition: inline In-Reply-To: <20200331154548.GA9695@jasmine.lan> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 40344-done Cc: 40344-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --gBdJBemW82xJqIAr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Looks like I messsed up the bug report completely and mixed up --list-profiles and --list-generations. If anyone is curious, when run as root, 'guix package --list-profiles' on Guix system and on a foreign distro, for me, return a list of all the profiles of all the users. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --gBdJBemW82xJqIAr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6DglAACgkQQarn3Mo9 g1H09A//S1IrTQ/0u6R45qzOA8W9QjM9X2EKQaifxfHjCGsnEkMVM0usfMFymwbT q3zn0zzY0WruHdgG5p84qaNMYZvuiGBWqiXdiP3yhTcUIbBpbjlcpx+1AEhyLgXG 8x91uhx/Y5bkz0z6cOwELTB0zVou/0fSFEBwp+GPyfM2qnG+27+EeM8mEY0w+ToU 0XfirouGSleIecLpsgwkckL4r/Wq22BqAWgomcXi2dTb6hH6nzx9bhT3jTrQ4nBy Mcxb0fiRKfaXJB8YmZLmBQZ//bivl8oJLabMHVoqGtrS6FVgHcChu7gAnQa0KGi5 ClnGro9DEftrK3fxWoIvoTs3Fc/ZlqV/yP3C7IxVQR+nh31TYf6mYQatP8BkTc0x WWrDqLujyZlpfPQy8I/1LBQZY+avm5rYkmRGRC+VxV+aNU8qoU4PK70dnxcvM94L tf1fP24Eing+MeraSQQMQgIk1iTYDilLaYmgjcq7CMC8sqgD3JqM5ogP7O3wu8vB K5NrqRDxXB0HwWe6vTA5vCsqNZblQ6A7wUsWIt8EtcbBvnZkFgfHP1ZRBYba5cNq FbmXVX6DD5xpiq7vN0Bfqp0L+EzcXu4xNPx/zKzVhW8BSHh3MM7mQVoT32bZaOsk qfb8K7tX26fR6U9r9pQFR3UizRseDSh/fBwOh6PtM0wGWSB/9iQ= =2Bs8 -----END PGP SIGNATURE----- --gBdJBemW82xJqIAr-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 14:17:36 2020 Received: (at 40344-done) by debbugs.gnu.org; 31 Mar 2020 18:17:36 +0000 Received: from localhost ([127.0.0.1]:36993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJLSC-0005ln-0S for submit@debbugs.gnu.org; Tue, 31 Mar 2020 14:17:36 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:39743) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJLSA-0005la-KA for 40344-done@debbugs.gnu.org; Tue, 31 Mar 2020 14:17:35 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 99163668; Tue, 31 Mar 2020 14:17:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 31 Mar 2020 14:17:28 -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=r+dd7VP9otDBRRK13Nrwexnh i1QugSI1mtKvjUKrwzc=; b=Lp7oYCQ5U7NljP/wVpVMuE9Gdsv8noCHX/ferYup SgIq/ecv42usGP0BuRP1zLxMjvzXKaR7StO67OrZAWAY9ERvY3cRWs3OEsFp+0M/ 407dJRVYFj7Uo37goY1dfTGP2GyAF7OtA8x0kAVm/BLYfghpMJ83M0bZuPvZqvtD z2A= 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=fm2; bh=r+dd7V P9otDBRRK13Nrwexnhi1QugSI1mtKvjUKrwzc=; b=fZnbqrwKJwsqxtO0qPm1la thDEkdnPHotKIdtDRTQ7FxG0XD4QPTuFyPZM0g+MIqVtFJ3hUYzN8TRLhn5GmSqv NP1LTJMl8OjCnPnD2BWnp2GM7dTJGlNb7tiCK81XNENtakBjusjxl9yhonBXYLx+ V7syLicToIPvZAkKi8sZ0JPjMg2epxu/sHEGrkMUieMSR87tfhZ5WHlMi3rjfBt4 GJuOLagqlsA21AEOW3Xpbduj3jObKac1dZ3NEzemjMg9kmU/fEI5bjXHJHNFO1Ha aKxa0ilzg6VDe84H2cweUpxpi9kDsbQo7bUYVy/W5QYnaRD1H5TUD8IzaqRtFfxQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrtddtgdeklecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepnfgvohcuhfgr mhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecukfhppeejiedrud dvgedrudefkedrieefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id A81553280059; Tue, 31 Mar 2020 14:17:27 -0400 (EDT) Date: Tue, 31 Mar 2020 14:17:26 -0400 From: Leo Famulari To: Efraim Flashner Subject: Re: bug#40344: inconsistent 'guix package --list-generations' for root Message-ID: <20200331181726.GA12660@jasmine.lan> References: <20200331085436.GD5436@E5400> <20200331154548.GA9695@jasmine.lan> <20200331174803.GJ5436@E5400> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline In-Reply-To: <20200331174803.GJ5436@E5400> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40344-done Cc: 40344-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 31, 2020 at 08:48:03PM +0300, Efraim Flashner wrote: > Looks like I messsed up the bug report completely and mixed up > --list-profiles and --list-generations. >=20 > If anyone is curious, when run as root, 'guix package --list-profiles' > on Guix system and on a foreign distro, for me, return a list of all the > profiles of all the users. Can you share the exact command you run and the result of `env` with that sudo invocation? For example, if you are doing `sudo guix package --list-profiles`, the result of `sudo env`? Having sanitized it as necessary... --ibTvN161/egqYuK8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAl6DiTUACgkQJkb6MLrK fwj8jhAA1sNoCU6E3IopSECX0xCYCUSHf3g8ocbShQD+7Sv91nTALABkwIMN9e2X j5ppZ0PybWQaOwEAyBYw7OAPiY0plh3hqJGNPLiZE+3UU3Z5n9+anrOwJJ4gYl7s omB/OAINJkMgUDDEww+iJlrM4P4Sixhb5+FPycHg6lr2TSkk3X7XjdcTpfdtMVj4 nwaFXRmJ09yU4bjKnHCF3foXn1QAmC5FkStw152r611FIj/EPy7X74vu8SD6m/gU 2+FpWwVivli+Y+EWCAKKH/EYbWM4/b+ikua79yQvHzztharpW0uaQOJLjr9ldCJ1 xP5iivfkg4GYbRiN/lHBySvfRvadymweKgD66g1l+Pc+Zv1J/bO0SJru0McONs3/ JFkYYox5FU4EERsT9Ire5Uv36cc+4+/0DRwLh9U1f++Er5jmA1uBVRSFzdX08NtB BsPhty3lBlisgtSTKCNGGlXcE3XO2NuQT8hXBxtu6LluZv+S3upb9/Ds4eAOFhaP P2qfgydlaumMfPaQsNuPgA6bi6lyX4wBTWlmmzAD+bv1S79DE6VoJhVBxUyFpwD6 DKxuMYrXerr5VmRHD6FL2JCDFJLyeTYCbOBD0Mw7TfucgFH2TJm2KAlW+2ANwTYX syEU0wXCR5AirohijTYAGaDMOIVtqDfA8TSzexjp6DTatRQpAsY= =uiIM -----END PGP SIGNATURE----- --ibTvN161/egqYuK8-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 14:31:33 2020 Received: (at 40344-done) by debbugs.gnu.org; 31 Mar 2020 18:31:33 +0000 Received: from localhost ([127.0.0.1]:37014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJLfh-0006Aw-J5 for submit@debbugs.gnu.org; Tue, 31 Mar 2020 14:31:33 -0400 Received: from flashner.co.il ([178.62.234.194]:42086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJLfg-0006Ak-1D for 40344-done@debbugs.gnu.org; Tue, 31 Mar 2020 14:31:32 -0400 Received: from localhost (unknown [141.226.9.17]) by flashner.co.il (Postfix) with ESMTPSA id 0DB5F40233; Tue, 31 Mar 2020 18:31:25 +0000 (UTC) Date: Tue, 31 Mar 2020 21:30:53 +0300 From: Efraim Flashner To: Leo Famulari Subject: Re: bug#40344: inconsistent 'guix package --list-generations' for root Message-ID: <20200331183053.GK5436@E5400> References: <20200331085436.GD5436@E5400> <20200331154548.GA9695@jasmine.lan> <20200331174803.GJ5436@E5400> <20200331181726.GA12660@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vbzKE9fGfpHIBC6T" Content-Disposition: inline In-Reply-To: <20200331181726.GA12660@jasmine.lan> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 40344-done Cc: 40344-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --vbzKE9fGfpHIBC6T Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 31, 2020 at 02:17:26PM -0400, Leo Famulari wrote: > On Tue, Mar 31, 2020 at 08:48:03PM +0300, Efraim Flashner wrote: > > Looks like I messsed up the bug report completely and mixed up > > --list-profiles and --list-generations. > >=20 > > If anyone is curious, when run as root, 'guix package --list-profiles' > > on Guix system and on a foreign distro, for me, return a list of all the > > profiles of all the users. >=20 > Can you share the exact command you run and the result of `env` with > that sudo invocation? For example, if you are doing `sudo guix package > --list-profiles`, the result of `sudo env`? Having sanitized it as > necessary... This time I ran it as root directly On my kids' computer: root@E2140 /home/efraim# guix package --list-profiles /var/guix/profiles/per-user/efraim/current-guix /var/guix/profiles/per-user/efraim/guix-profile /var/guix/profiles/per-user/kids/current-guix /var/guix/profiles/per-user/kids/guix-profileo Guix on Debian, also directly as root: debian-box:/home/efraimf# guix package --list-profiles | tail -n20 /var/guix/profiles/per-user/user1/current-guix /var/guix/profiles/per-user/user1/guix-profile /var/guix/profiles/per-user/user2/guix-profile /var/guix/profiles/per-user/user3/current-guix /var/guix/profiles/per-user/user3/guix-profile /var/guix/profiles/per-user/user4/current-guix /var/guix/profiles/per-user/user4/guix-profile /var/guix/profiles/per-user/user5/current-guix /var/guix/profiles/per-user/user5/guix-profile /root/.config/guix/current /root/.guix-profile /var/guix/profiles/per-user/user6/current-guix /var/guix/profiles/per-user/user6/guix-profile /var/guix/profiles/per-user/user7/current-guix /var/guix/profiles/per-user/user7/guix-profile /var/guix/profiles/per-user/user8/current-guix /var/guix/profiles/per-user/user8/guix-profile /var/guix/profiles/per-user/user9/current-guix /var/guix/profiles/per-user/user9/guix-profile /var/guix/profiles/per-user/user10/guix-profile --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --vbzKE9fGfpHIBC6T Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6DjFoACgkQQarn3Mo9 g1HMNw//ScAfmKU3/8XwU6F2txL5NVMosiW2i/VOsn8q6YEplDEXbvZSQ1WChWTc 1WP6NWenvgWvXb3A9FdBboKg+pSKVBgyKAeNA74RErUlNIuxxIMYtPkspSXHd2EM ZAjmjiVfWobk2/dJn3WATsI27WzVs+5Mw8ZClRKi/1Q+UTryo4MSU7TSe1uq/LiJ jku7JL2GJxyVvl145XhoO3BMI4p4citlB1r4uODvM2tyKv4fGxMEBmMKyzKRgzHm e0t4wqzLxTbimRidC+G1qYBNGzCYpcjgdLuJ0SbiAfgmka2TnQhSjtyMPMFRlzj9 Ho3/owHR2jwg3+9FgX9vOsZSSCeXaKJSk+d8Ju1nHIDba5JD+ju9d8JU5fEK8GDR tsRVm+Swjuol62KcKDOuSlxDho5J/0flADmcvra5LMsPptlqaZZtVQzjnmYQ2bAB 1OufDCQT7cyoiX02GfeTPxo0RmgiIH285uE8YVHSDy6CslBlW3qmNdfoG8KosePn waOjHpgfChikJsrzajelFRBMStgbQnLVsWW71G86AxzmfutZH6Mkmd+doU7D7CXl rbp/NQ7uphQ/k0m/u7Qh6DzJ22cwKZTyJs8YhqszD0gkHQMlyo4NGSKm3E3C7hU7 SQErsrhvK1NwYCqoamdI1XGQlMMpFw4fRKumoXp82h1DZQ+OLwE= =4pDm -----END PGP SIGNATURE----- --vbzKE9fGfpHIBC6T-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 14:56:48 2020 Received: (at 40344-done) by debbugs.gnu.org; 31 Mar 2020 18:56:48 +0000 Received: from localhost ([127.0.0.1]:37028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJM48-0006xR-9C for submit@debbugs.gnu.org; Tue, 31 Mar 2020 14:56:48 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:55595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJM45-0006wz-ML for 40344-done@debbugs.gnu.org; Tue, 31 Mar 2020 14:56:47 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id A0C4EA0D; Tue, 31 Mar 2020 14:56:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 31 Mar 2020 14:56:39 -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=IBKLVW0jGA/C/KVLRJt6DWVL 5Nyf8mSMnAo9FGv13Uw=; b=RGxN5bRQW1yjcN7H8Us+7X2Kt/+G5gx+IsNrZG9q zrFIs+sGXf6A1OD+Ewb1zOANbExT2LvVIBCCy/8N5U0y1LYilfF+yLo8dK+S4vlL zcooJL9dM5wNELkJXvYPLRUu/vsq1sb85IY1QiyFFn0ilXei7To/S+btjPNrFzY+ ij8= 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=fm2; bh=IBKLVW 0jGA/C/KVLRJt6DWVL5Nyf8mSMnAo9FGv13Uw=; b=WYR+IU63Lm2vHcKK7I1jP6 1bJxnR8ohiBQ6EuS+81nubAjCP+gagxXg+8ZhRTOkkSgxHxIZ26PVwvDM69gLPdK lAlW5HmO3t52fZC/eYe9vZNt8QYDccAPgKjTW+5g1HE9EUXeWmZPtPJbOA8VIZy7 JJ6JN318b5StGVjWwkXw+AluZQWDo+rTA1DbPFY0oBOjpqExueem/0HvpmTfgFTU psrarZ+vQBZQEZKAczvRdPPzFHNwiIqYHO61mxC1d8jqcCiyhr2kg1N3grpnCjNo fbfLsQ61jxk1YK3tYyJsp7nwqYWHxxyWcV60DbxtoJ9YKhcgq6zRBijAnABVxrwA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrtddtgdeljecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepnfgvohcuhfgr mhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecukfhppeejiedrud dvgedrudefkedrieefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id C90033280067; Tue, 31 Mar 2020 14:56:38 -0400 (EDT) Date: Tue, 31 Mar 2020 14:56:32 -0400 From: Leo Famulari To: Efraim Flashner Subject: Re: bug#40344: inconsistent 'guix package --list-generations' for root Message-ID: <20200331185632.GA15381@jasmine.lan> References: <20200331085436.GD5436@E5400> <20200331154548.GA9695@jasmine.lan> <20200331174803.GJ5436@E5400> <20200331181726.GA12660@jasmine.lan> <20200331183053.GK5436@E5400> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wRRV7LY7NUeQGEoC" Content-Disposition: inline In-Reply-To: <20200331183053.GK5436@E5400> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40344-done Cc: 40344-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sorry to add to the confusion. I didn't even realize there was a `guix package --list-profiles` command... --wRRV7LY7NUeQGEoC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAl6DklwACgkQJkb6MLrK fwieFg//cVqwxBNpw8HcwnSz4FVbijtHbq3xkxgqFm2qUUBT1oB18rbztM9joKk+ +aM8qK2ZQM1r6xdR0ZS5C/xYaBSk+GHl1KrTlrWz+8+0HND7Syc13dGLTf9+NW+M Njyg2+otDbLM/ws0pTgnXVbRBF21mkLfn30ScxkuOxPGTItLjkHdNWT141zS635b A7VzF3pySci0gXM4A5O8jSBniBfDOcaf+LLfe3F6BUc0CqoHO6pCa9xQXPAzTL73 OV17PgK1BUIn0H7Ad7eNG+kx3KuObKdNobDNr/iqk28L06Pk7xDPx1IONGLohjA4 i7rEqSxiiD8WN1uB+HXBDu/zMaezNp+qxSDxdEtLKs9y2F0Dleg1g6GzsoJYjiv3 VVaHE6WXnnpKzzW8whgxdLRdniJpWbrKDNKa61pXrPLpGjs5LWdMfB2Uzp8fqBsZ YN+e9VcTsz0MB94mqdXb3MnL/wfKJJkZokp++KEv8lDer1qvo1GXV05xhtKHvdD0 vAxtQgzw0Epf7WVxJQYiR362WuaondI4kGNeeA8/dFvNo25SchQ/CbILh17vO1/u GU5iJr/PfO4QBzAiOxEcfHUzEzs0q1fenvho3J2QlRIEZzJ6ODhI3mFKSHYh9ZW5 TubkSbhI2PoRHBOLxNf0IO4IS8TkjtFm2NR6Bu1VIILamR9HREc= =kLwK -----END PGP SIGNATURE----- --wRRV7LY7NUeQGEoC-- From unknown Wed Jun 25 10:47:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 29 Apr 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator