From unknown Sat Jun 14 19:36:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39194: help for non-root users to start using Resent-From: Matt Wette Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 19 Jan 2020 17:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39194 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 39194@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157945609614066 (code B ref -1); Sun, 19 Jan 2020 17:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Jan 2020 17:48:16 +0000 Received: from localhost ([127.0.0.1]:43835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itEgJ-0003eo-Lz for submit@debbugs.gnu.org; Sun, 19 Jan 2020 12:48:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:39971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itEgH-0003eg-FF for submit@debbugs.gnu.org; Sun, 19 Jan 2020 12:48:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56335) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itEgG-0000Fu-81 for bug-guix@gnu.org; Sun, 19 Jan 2020 12:48:13 -0500 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,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itEgB-0008G1-5h for bug-guix@gnu.org; Sun, 19 Jan 2020 12:48:09 -0500 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]:38754) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1itEgA-0008FX-Uq for bug-guix@gnu.org; Sun, 19 Jan 2020 12:48:07 -0500 Received: by mail-pf1-x436.google.com with SMTP id x185so14595355pfc.5 for ; Sun, 19 Jan 2020 09:48:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=E1iozwWbW+76UN2rAw85HhUlCpcJUXiYJwM/xbYwgYM=; b=O6pP0a5fgIdceSwaIr+4UL76XwcbHBMOjdfpFh0KxsJfJLZYVuvQ6IrJLRRZXrdiDj lCVH8ggCL9T1PDG6Z1erTncrPisIYRe7f3b9nnlM2h3QOchkfAU5XaDoyqTKhMMI53bV EnWGvy4MGKsPBGpG5reUP3u+ifW20pGXgr1ks0nZHAecm5hTNQLUujPNiYqAVY4c04rE 38idcDvyOdm7kXuXRpgSekgrBdtwaH3dbp2zuYjnaJF8b9TW4RZRl8mjIVp5L2tdjSja OmR2o+zyWmZ2ZF9XmVKpBKyU1jBrqsO3+9kBTzmGITHvnGztIgekf+zMKqBSnSkbIZMa biWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=E1iozwWbW+76UN2rAw85HhUlCpcJUXiYJwM/xbYwgYM=; b=i65lZ7WEp5pJmbO72h9H4lL4slncMSXJ57vQiROIDjsRcHf/HnRCHvQcFJg0p8Vqah L6i2E/nmaQZud6FW5S5K2uGPRgX1LCivEROYcVt/zEVc6Wti4BDilw6Qsmg2K07WXPun d1L5DSyvYIYxEFxwVUq4xMOeBgNEiVC2UMYRmAljsFEt6iuM6kZKMSS/oqa3Z4wqpQyE XGHlEeEXTewxIAytla1vvfi+6ISLterha4n7VPxMkvDqEGldiVnzWQ7u2+0UKnxNRJVP cJKLfwuEWJTizuGs9SvVvMz4jBJ2c+aGCqfWuJiPvrI+EVHLA8TXUGK1r4ufJVzWlCQl Llsw== X-Gm-Message-State: APjAAAWe3oD+Vy/SDcMpXnuJVRzgSQz9Yfno7qwOMeVZh2qYBvKJ/NyI 0+j1PT7OS/XK/g8Q7RPleK+2R2EL X-Google-Smtp-Source: APXvYqyrSLg/0LeJ9lCrqTIzjrkBA9UAo9AuhNmBM9+n3EYKUg/0bKb5v7CkaGFyPt5DWF0IDdOx4w== X-Received: by 2002:a63:1f21:: with SMTP id f33mr56846283pgf.91.1579456084772; Sun, 19 Jan 2020 09:48:04 -0800 (PST) Received: from [192.168.2.183] (64-52-176-132.championbroadband.com. [64.52.176.132]) by smtp.gmail.com with ESMTPSA id i8sm36868147pfa.109.2020.01.19.09.48.03 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Jan 2020 09:48:04 -0800 (PST) From: Matt Wette Message-ID: Date: Sun, 19 Jan 2020 09:48:02 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::436 X-Spam-Score: 0.7 (/) 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: -2.3 (--) This guix-1.0.1 on x86_64 Fedora 30. After installing as root, it's not clear from the manual how users should start. I found out "guix pull" is the right thing. Maybe add that to the manual? (Or add a "guix init" command.) Here is the error that I get w/o "guix pull": [mwette@localhost ~]$ guix install hello Backtrace:            8 (primitive-load "/usr/local/bin/guix") In guix/ui.scm:   1813:12  7 (run-guix-command _ . _) In ice-9/boot-9.scm:     829:9  6 (catch _ _ # ?)     829:9  5 (catch _ _ # ?) In guix/scripts/package.scm:    948:10  4 (_) In guix/status.scm:     768:4  3 (call-with-status-report _ _) In guix/scripts/package.scm:    956:14  2 (_) In guix/build/syscalls.scm:   1127:14  1 (call-with-file-lock/no-wait _ # ?) In ice-9/boot-9.scm:     777:6  0 (throw "open-file" "~A: ~S" ("No such file or direc?" ?) ?) ice-9/boot-9.scm:777:6: In procedure throw: In procedure throw: Wrong type argument in position 1: open-file From unknown Sat Jun 14 19:36:17 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Matt Wette Subject: bug#39194: closed (Re: bug#39194: help for non-root users to start using) Message-ID: References: <87blqzqen8.fsf@gnu.org> X-Gnu-PR-Message: they-closed 39194 X-Gnu-PR-Package: guix Reply-To: 39194@debbugs.gnu.org Date: Sun, 19 Jan 2020 22:13:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1579471982-22066-1" This is a multi-part message in MIME format... ------------=_1579471982-22066-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #39194: help for non-root users to start using which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 39194@debbugs.gnu.org. --=20 39194: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39194 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1579471982-22066-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 39194-done) by debbugs.gnu.org; 19 Jan 2020 22:12:57 +0000 Received: from localhost ([127.0.0.1]:44018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itIoS-0005jc-Rc for submit@debbugs.gnu.org; Sun, 19 Jan 2020 17:12:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40399) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itIoR-0005jJ-77 for 39194-done@debbugs.gnu.org; Sun, 19 Jan 2020 17:12:55 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1itIoL-0005s6-1D; Sun, 19 Jan 2020 17:12:50 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33456 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1itIoH-0001wG-95; Sun, 19 Jan 2020 17:12:46 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Matt Wette Subject: Re: bug#39194: help for non-root users to start using References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 =?utf-8?Q?Niv=C3=B4se?= an 228 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 19 Jan 2020 23:12:43 +0100 In-Reply-To: (Matt Wette's message of "Sun, 19 Jan 2020 09:48:02 -0800") Message-ID: <87blqzqen8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39194-done Cc: 39194-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: -3.3 (---) Hi Matt, Matt Wette skribis: > This guix-1.0.1 on x86_64 Fedora 30. > > After installing as root, it's not clear from the manual how users > should start. > I found out "guix pull" is the right thing. > Maybe add that to the manual? (Or add a "guix init" command.) =E2=80=9Cguix pull=E2=80=9D brings you an up-to-date Guix, which is a good = thing, but you don=E2=80=99t _have_ to run it to get started. > Here is the error that I get w/o "guix pull": > > [mwette@localhost ~]$ guix install hello > Backtrace: > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 8 (primitive= -load "/usr/local/bin/guix") > In guix/ui.scm: > =C2=A0 1813:12=C2=A0 7 (run-guix-command _ . _) > In ice-9/boot-9.scm: > =C2=A0=C2=A0=C2=A0 829:9=C2=A0 6 (catch _ _ # ?) > =C2=A0=C2=A0=C2=A0 829:9=C2=A0 5 (catch _ _ # ?) > In guix/scripts/package.scm: > =C2=A0=C2=A0 948:10=C2=A0 4 (_) > In guix/status.scm: > =C2=A0=C2=A0=C2=A0 768:4=C2=A0 3 (call-with-status-report _ _) > In guix/scripts/package.scm: > =C2=A0=C2=A0 956:14=C2=A0 2 (_) > In guix/build/syscalls.scm: > =C2=A0 1127:14=C2=A0 1 (call-with-file-lock/no-wait _ # ?) > In ice-9/boot-9.scm: > =C2=A0=C2=A0=C2=A0 777:6=C2=A0 0 (throw "open-file" "~A: ~S" ("No such fi= le or direc?" ?) ?) > > ice-9/boot-9.scm:777:6: In procedure throw: > In procedure throw: Wrong type argument in position 1: open-file I believe this is fixed by commit 7842ddcbc118cbc2799e22651732b7cdc06b93ee. Here=E2=80=99s my understanding of what happened: 1. You=E2=80=99re running guix-daemon 1.0.1, which lacks the fix for (aka. CVE-2019-18192). 2. As =E2=80=9Cmwette=E2=80=9D, you ran =E2=80=98guix pull=E2=80=99 and o= btained a new =E2=80=98guix=E2=80=99, which you then used in =E2=80=98guix install hello=E2=80=99 above. 3. That new Guix contains the new profile locking mechanism that threw the exception we see above. That exception is because it failed to create the lock file (=E2=80=9CNo such file or directory=E2=80=9D), an= d that in turn is because /var/guix/profiles/per-user/mwette didn=E2=80=99t exist yet. /=E2=80=A6/per-user/mwette didn=E2=80=99t exist because it was the fir= st time you ran =E2=80=98guix install=E2=80=99 as =E2=80=9Cmwette=E2=80=9D, and be= cause guix-daemon lacks the fix mentioned above that would create upon first connection. QED =E2=96=A0 :-) Thanks for your report! Ludo=E2=80=99. ------------=_1579471982-22066-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Jan 2020 17:48:16 +0000 Received: from localhost ([127.0.0.1]:43835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itEgJ-0003eo-Lz for submit@debbugs.gnu.org; Sun, 19 Jan 2020 12:48:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:39971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itEgH-0003eg-FF for submit@debbugs.gnu.org; Sun, 19 Jan 2020 12:48:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56335) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itEgG-0000Fu-81 for bug-guix@gnu.org; Sun, 19 Jan 2020 12:48:13 -0500 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,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itEgB-0008G1-5h for bug-guix@gnu.org; Sun, 19 Jan 2020 12:48:09 -0500 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]:38754) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1itEgA-0008FX-Uq for bug-guix@gnu.org; Sun, 19 Jan 2020 12:48:07 -0500 Received: by mail-pf1-x436.google.com with SMTP id x185so14595355pfc.5 for ; Sun, 19 Jan 2020 09:48:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=E1iozwWbW+76UN2rAw85HhUlCpcJUXiYJwM/xbYwgYM=; b=O6pP0a5fgIdceSwaIr+4UL76XwcbHBMOjdfpFh0KxsJfJLZYVuvQ6IrJLRRZXrdiDj lCVH8ggCL9T1PDG6Z1erTncrPisIYRe7f3b9nnlM2h3QOchkfAU5XaDoyqTKhMMI53bV EnWGvy4MGKsPBGpG5reUP3u+ifW20pGXgr1ks0nZHAecm5hTNQLUujPNiYqAVY4c04rE 38idcDvyOdm7kXuXRpgSekgrBdtwaH3dbp2zuYjnaJF8b9TW4RZRl8mjIVp5L2tdjSja OmR2o+zyWmZ2ZF9XmVKpBKyU1jBrqsO3+9kBTzmGITHvnGztIgekf+zMKqBSnSkbIZMa biWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=E1iozwWbW+76UN2rAw85HhUlCpcJUXiYJwM/xbYwgYM=; b=i65lZ7WEp5pJmbO72h9H4lL4slncMSXJ57vQiROIDjsRcHf/HnRCHvQcFJg0p8Vqah L6i2E/nmaQZud6FW5S5K2uGPRgX1LCivEROYcVt/zEVc6Wti4BDilw6Qsmg2K07WXPun d1L5DSyvYIYxEFxwVUq4xMOeBgNEiVC2UMYRmAljsFEt6iuM6kZKMSS/oqa3Z4wqpQyE XGHlEeEXTewxIAytla1vvfi+6ISLterha4n7VPxMkvDqEGldiVnzWQ7u2+0UKnxNRJVP cJKLfwuEWJTizuGs9SvVvMz4jBJ2c+aGCqfWuJiPvrI+EVHLA8TXUGK1r4ufJVzWlCQl Llsw== X-Gm-Message-State: APjAAAWe3oD+Vy/SDcMpXnuJVRzgSQz9Yfno7qwOMeVZh2qYBvKJ/NyI 0+j1PT7OS/XK/g8Q7RPleK+2R2EL X-Google-Smtp-Source: APXvYqyrSLg/0LeJ9lCrqTIzjrkBA9UAo9AuhNmBM9+n3EYKUg/0bKb5v7CkaGFyPt5DWF0IDdOx4w== X-Received: by 2002:a63:1f21:: with SMTP id f33mr56846283pgf.91.1579456084772; Sun, 19 Jan 2020 09:48:04 -0800 (PST) Received: from [192.168.2.183] (64-52-176-132.championbroadband.com. [64.52.176.132]) by smtp.gmail.com with ESMTPSA id i8sm36868147pfa.109.2020.01.19.09.48.03 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Jan 2020 09:48:04 -0800 (PST) To: bug-guix@gnu.org From: Matt Wette Subject: help for non-root users to start using Message-ID: Date: Sun, 19 Jan 2020 09:48:02 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::436 X-Spam-Score: 0.7 (/) 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: -2.3 (--) This guix-1.0.1 on x86_64 Fedora 30. After installing as root, it's not clear from the manual how users should start. I found out "guix pull" is the right thing. Maybe add that to the manual? (Or add a "guix init" command.) Here is the error that I get w/o "guix pull": [mwette@localhost ~]$ guix install hello Backtrace:            8 (primitive-load "/usr/local/bin/guix") In guix/ui.scm:   1813:12  7 (run-guix-command _ . _) In ice-9/boot-9.scm:     829:9  6 (catch _ _ # ?)     829:9  5 (catch _ _ # ?) In guix/scripts/package.scm:    948:10  4 (_) In guix/status.scm:     768:4  3 (call-with-status-report _ _) In guix/scripts/package.scm:    956:14  2 (_) In guix/build/syscalls.scm:   1127:14  1 (call-with-file-lock/no-wait _ # ?) In ice-9/boot-9.scm:     777:6  0 (throw "open-file" "~A: ~S" ("No such file or direc?" ?) ?) ice-9/boot-9.scm:777:6: In procedure throw: In procedure throw: Wrong type argument in position 1: open-file ------------=_1579471982-22066-1-- From unknown Sat Jun 14 19:36:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39194: help for non-root users to start using Resent-From: Bengt Richter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 20 Jan 2020 23:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39194 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 39194@debbugs.gnu.org, ludo@gnu.org, matt.wette@gmail.com Reply-To: Bengt Richter Received: via spool by 39194-submit@debbugs.gnu.org id=B39194.157956165524503 (code B ref 39194); Mon, 20 Jan 2020 23:08:02 +0000 Received: (at 39194) by debbugs.gnu.org; 20 Jan 2020 23:07:35 +0000 Received: from localhost ([127.0.0.1]:46238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itg8t-0006N8-0V for submit@debbugs.gnu.org; Mon, 20 Jan 2020 18:07:35 -0500 Received: from imta-36.everyone.net ([216.200.145.36]:53162 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itg8q-0006N0-Is for 39194@debbugs.gnu.org; Mon, 20 Jan 2020 18:07:33 -0500 Received: from pps.filterd (omta002.sj2.proofpoint.com [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 00KN6wfx017401; Mon, 20 Jan 2020 15:07:30 -0800 X-Eon-Originating-Account: McUcOd8E8B3kNAtVPOqQ-uV5_P0JOPRfaO71Ap0Ni1g X-Eon-Dm: m0116293.ppops.net Received: by m0116293.mta.everyone.net (EON-AUTHRELAY2 - 32d0d199) id m0116293.5e0ea490.1b511c; Mon, 20 Jan 2020 15:07:29 -0800 X-Eon-Sig: AQMHrIJeJjKxjIIJ6QIAAAAD,e210d91c40fc9ed7a3aa8e95d42e3248 X-Eip: lbJlLpM2vyzOzNTqxFyUmlV1Zyp-VRt7zDekv5d_dvE Date: Mon, 20 Jan 2020 15:07:13 -0800 From: Bengt Richter Message-ID: <20200120230713.GA8973@LionPure> References: <87blqzqen8.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87blqzqen8.fsf@gnu.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2020-01-20_10:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-2001200195 X-Spam-Score: 0.6 (/) 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.4 (-) Hi Ludo, On +2020-01-19 23:12:43 +0100, Ludovic Courtès wrote: > Hi Matt, > > Matt Wette skribis: > > > This guix-1.0.1 on x86_64 Fedora 30. > > > > After installing as root, it's not clear from the manual how users > > should start. > > I found out "guix pull" is the right thing. > > Maybe add that to the manual? (Or add a "guix init" command.) > > “guix pull” brings you an up-to-date Guix, which is a good thing, but > you don’t _have_ to run it to get started. > > > Here is the error that I get w/o "guix pull": > > > > [mwette@localhost ~]$ guix install hello > > Backtrace: > >            8 (primitive-load "/usr/local/bin/guix") > > In guix/ui.scm: > >   1813:12  7 (run-guix-command _ . _) > > In ice-9/boot-9.scm: > >     829:9  6 (catch _ _ # ?) > >     829:9  5 (catch _ _ # ?) > > In guix/scripts/package.scm: > >    948:10  4 (_) > > In guix/status.scm: > >     768:4  3 (call-with-status-report _ _) > > In guix/scripts/package.scm: > >    956:14  2 (_) > > In guix/build/syscalls.scm: > >   1127:14  1 (call-with-file-lock/no-wait _ # ?) > > In ice-9/boot-9.scm: > >     777:6  0 (throw "open-file" "~A: ~S" ("No such file or direc?" ?) ?) > > > > ice-9/boot-9.scm:777:6: In procedure throw: > > In procedure throw: Wrong type argument in position 1: open-file > > I believe this is fixed by commit 7842ddcbc118cbc2799e22651732b7cdc06b93ee. > Did that commit cause an automatic update to the tarball found and used by the binary install script [1] ?? [1] https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh The latter defines GNU_URL="https://ftp.gnu.org/gnu/guix/" as its source of tarballs and signatures. Looking at that URL with a browser, I see --8<---------------cut here---------------start------------->8--- [ ]guix-binary-1.0.1.x86_64-linux.tar.xz 2019-05-19 16:54 60M [ ]guix-binary-1.0.1.x86_64-linux.tar.xz.sig 2019-05-19 16:54 833 --8<---------------cut here---------------end--------------->8--- and checking on the date of commit 7842dd, I get --8<---------------cut here---------------start------------->8--- commit 7842ddcbc118cbc2799e22651732b7cdc06b93ee Author: Ludovic Courtès Date: Sun Jan 19 22:52:31 2020 +0100 guix package: Create profiles/per-user/$USER upfront. Fixes . Reported by Matt Wette . * guix/scripts/package.scm (build-and-use-profile): Move 'ensure-default-profile' call to... (process-actions): ... here. --8<---------------cut here---------------end--------------->8--- So for a script user, 2019-05-19 16:54 tarball vs Sun Jan 19 22:52:31 2020 fix appears to be a problem :) I doctored the script [1] to do everything but the installing part, to make sure what tarball was being used by my system. Here is its output: --8<---------------cut here---------------start------------->8--- [05:53 ~/bs]$ ./get-guix-ver.sh ░░░ ░░░ ░░▒▒░░░░░░░░░ ░░░░░░░░░▒▒░░ ░░▒▒▒▒▒░░░░░░░ ░░░░░░░▒▒▒▒▒░ ░▒▒▒░░▒▒▒▒▒ ░░░░░░░▒▒░ ░▒▒▒▒░ ░░░░░░ ▒▒▒▒▒ ░░░░░░ ▒▒▒▒▒ ░░░░░ ░▒▒▒▒▒ ░░░░░ ▒▒▒▒▒ ░░░░░ ▒▒▒▒▒ ░░░░░ ░▒▒▒▒▒░░░░░ ▒▒▒▒▒▒░░░ ▒▒▒▒▒▒░ _____ _ _ _ _ _____ _ / ____| \ | | | | | / ____| (_) | | __| \| | | | | | | __ _ _ ___ __ | | |_ | . ' | | | | | | |_ | | | | \ \/ / | |__| | |\ | |__| | | |__| | |_| | |> < \_____|_| \_|\____/ \_____|\__,_|_/_/\_ This script is a modification of the guix-install.sh script recommended in the on-line guix manual section on binary installation [1] where the actual script is also linked [2]. It normally installs GNU Guix on your system, but was modified by commenting out the actual installation parts, retaining determination of the release for your system and checking the signature. In addition sha1 digests of the tarball and the original and modified scripts are also provided. [1] https://guix.gnu.org/manual/en/html_node/Binary-Installation.html [2] https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh This modified version does not need to be run as root. https://www.gnu.org/software/guix/ Press return to continue... [1579528426.548]: Starting installation (Mon 20 Jan 2020 05:53:46 AM PST) [1579528426.550]: [ PASS ] verification of required commands completed [1579528426.574]: [ INFO ] init system is: systemd [1579528426.576]: [ INFO ] system is x86_64-linux [1579528427.114]: [ PASS ] Release for your system: guix-binary-1.0.1.x86_64-linux [1579528427.116]: [ INFO ] Downloading Guix release archive guix-binary-1.0.1.x86_64-linux.tar.xz 100%[==================================================>] 59.66M 7.05MB/s in 9.2s guix-binary-1.0.1.x86_64-linux.tar.xz.s 100%[==================================================>] 833 --.-KB/s in 0s [1579528436.864]: [ PASS ] download completed. [1579528437.426]: [ PASS ] Signature is valid. [1579528437.427]: [ INFO ] sha1sum digest of guix-binary-1.0.1.x86_64-linux.tar.xz: 8288422fde6a6d4ee257355c21ab9447ae9736cf guix-binary-1.0.1.x86_64-linux.tar.xz [1579528437.580]: [ INFO ] Downloading Guix install script 'guix-install.sh' guix-install.sh 100%[==================================================>] 13.68K --.-KB/s in 0s [1579528438.299]: [ PASS ] download completed. [1579528438.304]: [ INFO ] sha1sum digest of guix-install.sh 4402af0b8c130b1cabf7fb5e68ec3183a02633b0 guix-install.sh [1579528438.308]: [ INFO ] sha1sum digest of /home/bokr/BS/bs20200119_2359/get-guix-ver.sh 6926ea98230514b731c4ebe9edae8c9a5e01c0a9 /home/bokr/BS/bs20200119_2359/get-guix-ver.sh [1579528438.311]: [ INFO ] This is last command in modified guix-install.sh script. [05:53 ~/bs]$ --8<---------------cut here---------------end--------------->8--- Well, I hacked in some extra stuff, but I think it would be nice to give the script a -n --dry-run option, and print the tarball dates along with a last-commit date, etc. to show automatically what I did manually above. Also, it the script [1] under git version control? Perhaps as a verbatim texi node in guix info? WDYT? BTW I think guix use via binary installs on "foreign distros" will grow to a majority. Especially if those who want to try it can pre-check with a dry run that can be run as plain user and which outputs good warnings as appropriate. I am now on PureOS on a Librem13v4, which is based on Debian apt packaging, limited IIUC to their vetted repo based on Debian upstream. So I wonder what I have done to my trust tree by running the binary install script. I hate to think. There sure are a lot of committers who I don't know from Adam ;-/ > Here’s my understanding of what happened: > > 1. You’re running guix-daemon 1.0.1, which lacks the fix for > (aka. CVE-2019-18192). > > 2. As “mwette”, you ran ‘guix pull’ and obtained a new ‘guix’, which > you then used in ‘guix install hello’ above. > > 3. That new Guix contains the new profile locking mechanism that threw > the exception we see above. That exception is because it failed to > create the lock file (“No such file or directory”), and that in > turn is because /var/guix/profiles/per-user/mwette didn’t exist > yet. > > /…/per-user/mwette didn’t exist because it was the first time you > ran ‘guix install’ as “mwette”, and because guix-daemon lacks the > fix mentioned above that would create upon first connection. > > QED ■ :-) > > Thanks for your report! > > Ludo’. > -- Regards, Bengt Richter From unknown Sat Jun 14 19:36:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39194: help for non-root users to start using Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 21 Jan 2020 09:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39194 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Bengt Richter Cc: 39194@debbugs.gnu.org, matt.wette@gmail.com Received: via spool by 39194-submit@debbugs.gnu.org id=B39194.157959760013649 (code B ref 39194); Tue, 21 Jan 2020 09:07:01 +0000 Received: (at 39194) by debbugs.gnu.org; 21 Jan 2020 09:06:40 +0000 Received: from localhost ([127.0.0.1]:46474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itpUe-0003Y5-Bv for submit@debbugs.gnu.org; Tue, 21 Jan 2020 04:06:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itpUd-0003Xs-Ru for 39194@debbugs.gnu.org; Tue, 21 Jan 2020 04:06:40 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1itpUY-0007yl-Ic; Tue, 21 Jan 2020 04:06:34 -0500 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=33034 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1itpUS-0003jl-9B; Tue, 21 Jan 2020 04:06:33 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87blqzqen8.fsf@gnu.org> <20200120230713.GA8973@LionPure> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 =?UTF-8?Q?Pluvi=C3=B4se?= an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 21 Jan 2020 10:06:26 +0100 In-Reply-To: <20200120230713.GA8973@LionPure> (Bengt Richter's message of "Mon, 20 Jan 2020 15:07:13 -0800") Message-ID: <87k15lfab1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hi, Bengt Richter skribis: > Did that commit cause an automatic update to the tarball > found and used by the binary install script [1] ?? No, it didn=E2=80=99t automatically create a new Guix release. > commit 7842ddcbc118cbc2799e22651732b7cdc06b93ee > Author: Ludovic Court=C3=A8s > Date: Sun Jan 19 22:52:31 2020 +0100 > > guix package: Create profiles/per-user/$USER upfront. >=20=20=20=20=20 > Fixes . > Reported by Matt Wette . >=20=20=20=20=20 > * guix/scripts/package.scm (build-and-use-profile): Move > 'ensure-default-profile' call to... > (process-actions): ... here.=20 > --8<---------------cut here---------------end--------------->8--- > > So for a script user, 2019-05-19 16:54 tarball vs Sun Jan 19 22:52:31 202= 0 fix > appears to be a problem :) The problem Matt reported came up after running =E2=80=98guix pull=E2=80=99= . Someone running =E2=80=98guix pull=E2=80=99 today will get the fix above. HTH! Ludo=E2=80=99.