From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: bug#40344: inconsistent 'guix package --list-generations' for root Date: Tue, 31 Mar 2020 21:30:53 +0300 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" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60232) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJLgB-0003zA-V7 for bug-guix@gnu.org; Tue, 31 Mar 2020 14:32:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJLgA-00060Y-PK for bug-guix@gnu.org; Tue, 31 Mar 2020 14:32:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53701) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJLgA-00060S-Ji for bug-guix@gnu.org; Tue, 31 Mar 2020 14:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jJLgA-0006Bn-GL for bug-guix@gnu.org; Tue, 31 Mar 2020 14:32:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20200331181726.GA12660@jasmine.lan> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Leo Famulari Cc: 40344-done@debbugs.gnu.org --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--