From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EFJlKU2HH2IdJgEAgWs5BA (envelope-from ) for ; Wed, 02 Mar 2022 16:03:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qP32Jk2HH2JndQAA9RJhRA (envelope-from ) for ; Wed, 02 Mar 2022 16:03:41 +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 3BE403E91A for ; Wed, 2 Mar 2022 16:03:41 +0100 (CET) Received: from localhost ([::1]:54340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPQVw-0000Y7-3N for larch@yhetil.org; Wed, 02 Mar 2022 10:03:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPQJi-0006hN-1j for bug-guix@gnu.org; Wed, 02 Mar 2022 09:51:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45565) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nPQJh-00049S-PW for bug-guix@gnu.org; Wed, 02 Mar 2022 09:51:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nPQJh-0004hn-OH for bug-guix@gnu.org; Wed, 02 Mar 2022 09:51:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53904: Using an http proxy, derivation failed Resent-From: dal-blazej@onenetbeyond.org Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 02 Mar 2022 14:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53904 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Josselin Poiret Cc: 53904@debbugs.gnu.org Received: via spool by 53904-submit@debbugs.gnu.org id=B53904.164623262618039 (code B ref 53904); Wed, 02 Mar 2022 14:51:01 +0000 Received: (at 53904) by debbugs.gnu.org; 2 Mar 2022 14:50:26 +0000 Received: from localhost ([127.0.0.1]:39462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPQJ8-0004gt-3P for submit@debbugs.gnu.org; Wed, 02 Mar 2022 09:50:26 -0500 Received: from confino.investici.org ([212.103.72.250]:57851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPQJ4-0004gi-Ua for 53904@debbugs.gnu.org; Wed, 02 Mar 2022 09:50:24 -0500 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4K7xqc6Zd1z10xV; Wed, 2 Mar 2022 14:50:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onenetbeyond.org; s=stigmate; t=1646232620; bh=Y1HwQ0UnOhjqfuNN1yPG5m5iUtcn1cYHP9wjdnnRmvQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ZZuPZIsqcKeeINnvBkmS4yD7ojy57pUZCT9YdrZHaW8V+mzmaqK4jgtqUbyZk4r5b GhT1C+E+IymSgNZ3zKdEEPnFlv3nS0MswL3l1xzhGzjAZIysjdNBXsLmnRJooy/PMp /MoiPXza4MMDwyJKKc0QWTRXoZAHV2G05CmGsw50= Received: from [212.103.72.250] (mx1.investici.org [212.103.72.250]) (Authenticated sender: dal-blazej@onenetbeyond.org) by localhost (Postfix) with ESMTPSA id 4K7xqc2M0lz10ws; Wed, 2 Mar 2022 14:50:19 +0000 (UTC) References: <87pmnvj170.fsf@onenetbeyond.org> <87fsoomiu4.fsf@jpoiret.xyz> Date: Wed, 02 Mar 2022 15:50:08 +0100 In-Reply-To: <87fsoomiu4.fsf@jpoiret.xyz> (Josselin Poiret's message of "Sat, 12 Feb 2022 12:21:07 +0100") Message-ID: <877d9ccstb.fsf@onenetbeyond.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Wed, 02 Mar 2022 10:03:32 -0500 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: dal-blazej@onenetbeyond.org From: dal-blazej--- via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646233421; h=from:from:sender:sender:reply-to: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Y1HwQ0UnOhjqfuNN1yPG5m5iUtcn1cYHP9wjdnnRmvQ=; b=Evsh5+Ly71dgtWx5p35uug4IJ2ozuCWI0OoPxKf3xjhF++VLRqYlxJy/2Ck1hJIYNjPIcO RPN+3CegUkAkloHk6JNwKn3KDWdKldnWOhYI/UOL2BT0DEZxyIBXydeQfv6sJydwAy2VQM +J4VHDb5Zb3OU/3/RV31hadaBAXZ/Uu2EO/y9D+UlbqQbTVuCMYHxm/8ECkhq2x44BmIxU UHmSYg0EffT0cRqF6B5TsUrdC50av3dsnlbVr//alZmqUHaGv/XdRzv0teYsc//5E7AdDj iWgtvmufT6pfBX6FNHD7bQwsWaQn+EoWOJ8Rtn7T2i4pr6TmiydUbHKZtY11yA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646233421; a=rsa-sha256; cv=none; b=A7yNBtMxjJf8QhrwZihrjBqShqztF2qSICqqGRc+7tk13NhdinFHUeJjW8Gs4S4SF36nrN /KD8o7wNhsa1BaNhnnbKCuX1aS2D0izdEjCIBm8Zv9JABHTFD4OtWjkg11zp6vT30+hAjr NDCDghpW2CAE8PvaaqW2t8Vu0BPI6dp2hnTqImI3vYRkXazBGkLCgkr99yK0ib1h+xUQm3 xhPjDsUrvd1LVtbvszoCosgBpwRPkPSRklqzm5ZLasXaB5N17Vcp4upig/OvZ1MxiqaiR0 CdLIgbmyi9Fka4e5amEW5V90uPiq+n+7AfEpZD8xvegEYCMLL78a8vm/KxOzbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=onenetbeyond.org header.s=stigmate header.b=ZZuPZIsq; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=onenetbeyond.org header.s=stigmate header.b=ZZuPZIsq; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3BE403E91A X-Spam-Score: -4.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: hPcsWkClkDLp Hi debbugs, The following mails was not CC to 53904@debbugs.gnu.org so let's correct that : * 1 dal to jpoiret Hi Josselin, Josselin Poiret writes: > What went wrong while modifying the systemd unit? The systemd unit file from debian looks like that (I only added the https_proxy, with localhost or 127.0.0.1, with or without the leading http://): #+begin_src conf :tangle "/etc/systemd/system/guix-daemon.service" # This is a "service unit file" for the systemd init system to launch # 'guix-daemon'. Drop it in /etc/systemd/system or similar to have # 'guix-daemon' automatically started. [Unit] Description=3DBuild daemon for GNU Guix [Service] ExecStart=3D/var/guix/profiles/per-user/root/current-guix/bin/guix-daemon -= -build-users-group=3Dguixbuild Environment=3D'GUIX_LOCPATH=3D/var/guix/profiles/per-user/root/guix-profile= /lib/locale' LC_ALL=3Den_US.utf8 'https_proxy=3Dhttp://localhost:8082/' RemainAfterExit=3Dyes StandardOutput=3Dsyslog StandardError=3Dsyslog # See . # Some package builds (for example, go@1.8.1) may require even more than # 1024 tasks. TasksMax=3D8192 [Install] WantedBy=3Dmulti-user.target #+end_src After reloading the daemons and restarting the daemon : guix pull: error: failed to connect to `/var/guix/daemon-socket/socket': Co= nnection refused By the way, I previously tested the proxy itself via wget and it works. I also tried some others variations on the unit file without more su= ccess. * 2 jpoiret to dal Hello, dal-blazej@onenetbeyond.org writes: > After reloading the daemons and restarting the daemon : > > guix pull: error: failed to connect to `/var/guix/daemon-socket/socket': = Connection refused > > By the way, I previously tested the proxy itself via wget and it > works. I also tried some others variations on the unit file without more = success. I'm not very familiar with the Debian Guix package, but can you check that /var/guix/profiles/per-user/root/current-guix/bin/guix-daemon does indeed exist? If not, you may need to log-in as root, and run `guix pull` there. Did the systemd unit ever work, and if not, how do you run the Guix daemon? Best, --=20 Josselin Poiret * 3 dal to jpoiret Thanks for your help Josselin. I precise that I am able to run guix in a debian standaloneVM without proxy. I feared to have messed up something in that template so I started again from scratch. - I modified /usr/lib/systemd/system/guix-daemon.service and /usr/lib/systemd/system/guix-publish.service to use https_proxy=3Dhttp:///127.0.0.1:8082 > I'm not very familiar with the Debian Guix package, but can you check > that /var/guix/profiles/per-user/root/current-guix/bin/guix-daemon does > indeed exist? - /var/guix/profiles/per-user/root/current-guix doesn't exist. > If not, you may need to log-in as root, and run `guix pull` there. - guix pull (as user or root) : #+begin_exemple Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... guix pull: error: Git error: failed to resolve address for git.savannah.gnu.org: Temporary failure in name resolution #+end_exemple I am still able to use my proxy with wget. > Did the systemd unit ever work, and if not, how do you run > the Guix daemon? - guix-daemon.service is now running without error. - guix-publish.service throw an error (but I guess it is another issue): #+begin_exemple =E2=97=8F guix-publish.service - Publish the GNU Guix store Loaded: loaded (/lib/systemd/system/guix-publish.service; enabled; ven= dor preset: enabled) Active: failed (Result: exit-code) since Thu 2022-02-17 16:44:00 CET; = 7min ago Process: 7397 ExecStart=3D/usr/bin/guix publish --user=3Dnobody --port= =3D8181 (code=3Dexited, status=3D1/FAILURE) Main PID: 7397 (code=3Dexited, status=3D1/FAILURE) CPU: 184ms Feb 17 16:44:00 localhost systemd[1]: Started Publish the GNU Guix store. Feb 17 16:44:00 localhost guix[7397]: guix publish: error: open-file: No su= ch file or directory: "/etc/guix/signing-key.pub" Feb 17 16:44:00 localhost systemd[1]: guix-publish.service: Main process ex= ited, code=3Dexited, status=3D1/FAILURE Feb 17 16:44:00 localhost systemd[1]: guix-publish.service: Failed with res= ult 'exit-code'. #+end_exemple