From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id uL6dDi0qamVYmQAA9RJhRA:P1 (envelope-from ) for ; Fri, 01 Dec 2023 19:47:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uL6dDi0qamVYmQAA9RJhRA (envelope-from ) for ; Fri, 01 Dec 2023 19:47:09 +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 E86BF3F998 for ; Fri, 1 Dec 2023 19:47:08 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=iDO75Qc7; dmarc=pass (policy=reject) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701456429; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=K+bc1j8ZRjDgc80qjfHcC4dcHaDlHkd4U7OXdWEyBss=; b=NMXHmNWqqGezw3MlTotBUuw246fam9SSZ0cUs5hQd0QIh3g5BcNUzLP52cTY0ISond6Q0O VSP/exkmwhIkcAwTeWnOxrCxp6lnMTcS3UGMpDXZJ/9N1f5SToYNXEyjwMjlcNRdhJF+ky KQZtH/Jxb+CuklxNjhkPO4N720va1z6cXNZTOomgHVTgNIy6DjirUvPlthKwd9F1mANz0L PM+6x+G+dt0w6MklhEoLXZ+li2nrhGRL5vEiAXMXHZaDPkBplrOnswFwmvyiuUpRTlPFj7 E6x9gv0v9GW1QdgENSxDyt3+dlygDgcvScDx9JW0tNa64/06gqig4kzr/U1IGA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701456429; a=rsa-sha256; cv=none; b=IF9tn9YpGZ/Pu31t5T/O1cXDnetjyO6KlcGrAvYaYAidnx8ph9By1VIfrvH0YxRYEdkJnL W5tNTAjuuNh7jxemWPJsKLPMB9fKDDUZwoVNkT7pd1HerMk3In4Gr+Ogr3CtGBislf+/69 4vqxurbdg1+nWD3TFxHf3VBx8I0NiwTY1CjibZfQFWUjAsuJHVOaj8Gqj4DfyINj6e+s0Q 082QVMmHTpNtLxpC8PN3Pf3f0EJCWQi2zukDY5qPhCge1yZVshSF0V+/ENE1tjg02fVYi3 4yXBwVV0fzbwGxDPJfKrWsiBylcJR+f+zeA/PLdcScJZha1KHG888L5G6tfdYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=iDO75Qc7; dmarc=pass (policy=reject) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r98X0-0008TB-JF; Fri, 01 Dec 2023 13:46:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r98Wy-0008Sj-3S for help-guix@gnu.org; Fri, 01 Dec 2023 13:46:28 -0500 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r98Wu-0000vY-S9 for help-guix@gnu.org; Fri, 01 Dec 2023 13:46:27 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 5BF2F44E7A; Fri, 1 Dec 2023 19:46:22 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3tYoW-pCA6Bn; Fri, 1 Dec 2023 19:46:21 +0100 (CET) References: <87zfyuit2g.fsf@disroot.org> <20231201141224.6169bfea.koszko@koszko.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1701456381; bh=3jsfB7FOfxjUIXFIxG8RVBt11zgeKrcb10JzG77ORF0=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=iDO75Qc7TTl0xKVd1LJmgooU6NZDCbBVYNPyNDZp1rrBOGn4JpBht8VDNfEvUjkqP XH+A7P1eOyZ0i7Wu4qMv87Ag8QvDPaISlXV9/W5fMwh3h3aFQMOOwUDaXv/xATwWYY lUkAkZTHXm3bYRQQ32x70XTcaB3D/Hff9mLMt37ebEZty9VxqZZvTgqmDzcL0pfdbC 888b7FKdTHqXJsqbvcvEP4n5RmT2x26E0Wu7Kxn8Qq9IVCmEJVxlnFiEqLtWkoA0vi +P7wL+BL1/9zJ/DuCb9mC9buMlHfgkFw76VhffUgNMgQgD9lyp7IQXx2o2DyiJ9vO8 waTTKBmiNztOQ== From: Mauritz Stenek To: Wojtek Kosior Cc: help-guix@gnu.org Subject: Re: SSH error guix pull Date: Fri, 01 Dec 2023 12:37:58 -0600 In-reply-to: <20231201141224.6169bfea.koszko@koszko.org> Message-ID: <87sf4liww5.fsf@disroot.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=178.21.23.139; envelope-from=mstenek@disroot.org; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -9.42 X-Spam-Score: -9.42 X-Migadu-Queue-Id: E86BF3F998 X-TUID: /89RqodpwPB0 On 2023-12-01 at 07:12, Wojtek Kosior wrote: > [[PGP Signed Part:Undecided]] > Hi > >> However, on a full Guix system I keep getting this error: >>=20 >> ``` >> guix pull: error: Git error: error authenticating: no auth sock=20 >> variable >> ``` >>=20 >> and, for the life of me, I just can't get it to work. > > Maybe you're not running ssh user agent daemon under your user?=20 > You > need it for this to work. > > You can probably spawn it in a number of ways. One of them=20 > would be > through Guix home. See this[1] Guix manual node for info about > ssh-agent's home service :) > > Also, you're not running `guix pull` with sudo, are you? It=20 > wouldn't > work this way because sudo erases environment variables,=20 > including > "SSH_AUTH_SOCK". > > Btw, on my fully Guixified laptop I am using Guix home without > ssh-agent configured and yet I do have ssh-agent running under=20 > my user. > I'm not sure what started it=E2=80=A6 Seems like that is the situation. I actually tried to run the=20 ssh-agent user service example in the shepherd manual=20 (https://www.gnu.org/software/shepherd/manual/html_node/Managing-User-Servi= ces.html)=20 -- verbatim -- and I get this error: ``` Starting service root... Service root started. Service root running with value #t. Service root has been started. Uncaught exception while loading configuration file=20 '/home/mst/.config/shepherd/init.scm': (goops-error #f "No=20 applicable method for ~S in call ~S" (#< service-actions=20 (1)> (service-actions shepherd)) ()) ``` which I don't know how to fix. Other than that example, I'm at a loss with ssh. > >> (disclaimer: I'm a total scheme/guile neophyte -- and am=20 >> learning=20 >> as I go) > > As all of us, haha :D :D > > Btw, there's perhaps another solution =E2=80=94 pull from local git=20 > checkout. > You can pass a filesystem path instead of a url when running=20 > `guix > pull`. This might later cause some issues if you try to `sudo=20 > guix > system reconfigure` but that's another topic=E2=80=A6 I was able to install a package like this but it's not ideal. > Good luck and happy hacking! Thanks! I can tell you, it is a journey. > Wojtek > > [1]=20 > https://guix.gnu.org/manual/devel/en/html_node/Secure-Shell.html > > > -- (sig_start) > website: https://koszko.org/koszko.html > fingerprint: E972 7060 E3C5 637C 8A4F 4B42 4BC5 221C 5A79 FD1A > follow me on Fediverse:=20 > https://friendica.me/profile/koszko/profile > > =E2=99=A5 R29kIGlzIHRoZXJlIGFuZCBsb3ZlcyBtZQ=3D=3D | =C3=B7=20 > c2luIHNlcGFyYXRlZCBtZSBmcm9tIEhpbQ=3D=3D > =E2=9C=9D YnV0IEplc3VzIGRpZWQgdG8gc2F2ZSBtZQ=3D=3D | ?=20 > U2hhbGwgSSBiZWNvbWUgSGlzIGZyaWVuZD8=3D > -- (sig_end) > > > On Thu, 30 Nov 2023 19:47:43 -0600 Mauritz Stenek=20 > wrote: > >> I'm trying out Guix and created a personal (private) channel=20 >> with=20 >> some custom packages. I access my git repo with ssh. >>=20 >> Using Guix on a foreign distro, pulling from my git repo works=20 >> fine after applying this strategy:=20 >> https://issues.guix.gnu.org/31285. >>=20 >> However, on a full Guix system I keep getting this error: >>=20 >> ``` >> guix pull: error: Git error: error authenticating: no auth sock=20 >> variable >> ``` >>=20 >> and, for the life of me, I just can't get it to work. >>=20 >> (disclaimer: I'm a total scheme/guile neophyte -- and am=20 >> learning=20 >> as I go) >>=20 >> Please help. >>=20 > > [[End of PGP Signed Part]] --=20 Mauritz Stenek