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 ms9.migadu.com with LMTPS id 6IRWN+RDaGQlZQEASxT56A (envelope-from ) for ; Sat, 20 May 2023 05:52:04 +0200 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 UKwcN+RDaGSMLgEA9RJhRA (envelope-from ) for ; Sat, 20 May 2023 05:52:04 +0200 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 B3F8239BEB for ; Sat, 20 May 2023 05:52:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0Dcq-0007h9-LU; Fri, 19 May 2023 23:51:24 -0400 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 1q0Dck-0007gq-Rq for help-guix@gnu.org; Fri, 19 May 2023 23:51:20 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0Dci-00077b-9k for help-guix@gnu.org; Fri, 19 May 2023 23:51:17 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id AB5905C0326; Fri, 19 May 2023 23:51:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 19 May 2023 23:51:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1684554673; x=1684641073; bh=jdv55zbPlljRT5/hTsB9bbkOc/51JVDoqmK 1WvzDy9k=; b=b6wZIdKRLc9MCq7ajqp9PF3DuPSj5CPYuDgcAH+NuwwYQjdE0F3 UstQYGqIqCW41vPZ0uMnrz1KyNRH8+IAz810rHw3tj8csrtAT72/LLS7Av9ZA2rQ hbGLUOJN/rbvYPFXt/ixs0GuKew4Qqoh8WGH2HUKnY5ulEzYIIrGw8ZU1MZXKGL9 Vph4L6otuLs9tJzmP4y5DU6e1CpyDtJYiQAlsybobKrdVkXo5STelSOIlaOgdsRB B6QS5u/Yu9HZ/IqswtfVV1FppGURYxGbP/SO0Iud6wUeWZ9V6MbdA9YZiy4A6TTj jmIE7/jF+NIfzPGLZn9v7G++r+64pU5JHwQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1684554673; x=1684641073; bh=jdv55zbPlljRT 5/hTsB9bbkOc/51JVDoqmK1WvzDy9k=; b=wKN/DJ1o4dNoxB4FBvTGTtu4Joet2 K8jcYpv90XJgF2P3KgYkZJWWKFsAbrAcuK6SXzxGC4IkMSjVJI+IWZfoJeu898cC ytUAIg4EhRYtthOaEOH5CkmynATx4xm1TLgGom1uuMkloySuS0WjpmpUCGG+yEvL PdXo7SXZBdz0Hleg8BiaLrnf8zeDD/DYkCcwpUYyU4q0Uw6xtu2BbTMpBVc7FvTS V93WoAlF6mHFE44yfy1Pr2gor5t+AXXCuHuuY7l+OhcEjqA6Gu0Jx3ZmGpdflcDN IpN5QpMFs2Hs81ntYEuPz+C3ht4et4HETNOpyPC5hKwuPXM12egxRV50A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeiiedgjeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfgggtsehgtderredttddvnecuhfhrohhmpefrhhhilhhi phcuofgtifhrrghthhcuoehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtghomh eqnecuggftrfgrthhtvghrnhepfeelvdeugeeugeeugeeviedugffhiefgkeffffegjefh udetveetvdffffelgeejnecuffhomhgrihhnpehsvghrvhhitggvrdhithdptggsrghinh gvshdrnhgvthdpghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgr mhepmhgrihhlfhhrohhmpehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtghomh X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 19 May 2023 23:51:13 -0400 (EDT) From: Philip McGrath To: help-guix@gnu.org Cc: Rodrigo Morales Subject: Re: How to enable server discovery in foreign distro? Date: Fri, 19 May 2023 23:51:07 -0400 Message-ID: <2885916.BddDVKsqQX@bastet> In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2032989.TLkxdtWsSY"; micalg="pgp-sha512"; protocol="application/pgp-signature" Received-SPF: pass client-ip=66.111.4.28; envelope-from=philip@philipmcgrath.com; helo=out4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684554724; a=rsa-sha256; cv=none; b=nWgiEI0JzXwpf9fuEiCL3dmoFU2rLELEIZg6aG/f8gj9JF6HAMRlm4VwmbIknLADJPpzQ+ zzLehO3D5seEhhQo3OSKqRhVzNW3sDOihq3wzmieXeJ0c4HiqcoK71bwXA9xsInykRV2dR Zw5RBYQjk4Sx6ZwWONEpjgI0ZGoXj/l9Slh0tOnVyAkbTWGj0tqQQpgDJtUENbVBrf5bMd LyybMCH+skHtXQ5zQYY5uAg1wDnys7B+hYPQlaW7/M+l+xix56edCsiMwIIUVMyz2up2C+ gzWJ304/QHE9HrcSDUF2gGWxSDWQ3FHNGmoaA+6w6mFJMvREKBNpTN5vpYAqPQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b=b6wZIdKR; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="wKN/DJ1o"; dmarc=none; 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=1684554724; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jdv55zbPlljRT5/hTsB9bbkOc/51JVDoqmK1WvzDy9k=; b=MLftY7GlrHbSsX0ZIFxS34DqplFRQ+LX36iSYQrtUIBlPuufwlhZCkHcciBK2itdWSSvVz rR1zSXSX1Y6VcZCrkXisDRfls9acALu4eE4Y3fan5srpYqlPGy5Afq/wc6F9pO93BKxA3E MoaacHBHAZdeVCudsenlAlknE7Z2aMeoWPaAiONlqrq5HVjBvJU+x+8RsTllHeVFkJjuGa 3tXsS2BwxRgSKpFcT1/HqFoMUg54IsoWKxlNF/5nR1pz95Lx/DOYXEEMBinDySNovYfE0W hix0+l2tGHoBOprgRGpEIl5le2UoxwaXcvrPXKZjit9XbKec0Dd9QMFu2av2/w== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b=b6wZIdKR; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="wKN/DJ1o"; dmarc=none; 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" X-Migadu-Spam-Score: 1.82 X-Spam-Score: 1.82 X-Migadu-Queue-Id: B3F8239BEB X-TUID: trw3rnew7QUu --nextPart2032989.TLkxdtWsSY Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Philip McGrath To: help-guix@gnu.org Cc: Rodrigo Morales Subject: Re: How to enable server discovery in foreign distro? Date: Fri, 19 May 2023 23:51:07 -0400 Message-ID: <2885916.BddDVKsqQX@bastet> MIME-Version: 1.0 On Friday, May 19, 2023 4:18:01 PM EDT Rodrigo Morales wrote: > > The file > `/etc/systemd/system/multi-user.target.wants/guix-daemon.service' was > a symbolic link to `/usr/lib/systemd/system/guix-daemon.service' and, > for that reason, I ended up editing > `/usr/lib/systemd/system/guix-daemon.service'. I edited the line > containing `ExecStart' and added the IP address of my system from > which I wanted to retrieve the packages. > A cleaner way to do this is to run `sudo systemctl edit guix-daemon.service`. It will open your editor to create a drop-in override file, in this case /etc/systemd/system/guix-daemon.service.d/override.conf, with a commented-out version of the base unit file included. You'll want to write something like this: ``` [Service] ExecStart= ExecStart=/usr/bin/guix-daemon \ --build-users-group=_guixbuild \ --discover=yes \ --substitute-urls='https://bordeaux-us-east-mirror.cbaines.net https://bordeaux.guix.gnu.org https://ci.guix.gnu.org' ``` The most confusing part is that you need two ExecStart lines, one unsetting the old value and one setting your new value. Philip --nextPart2032989.TLkxdtWsSY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE9GWrrNY3rqwUFVXPygNjjfo/HHoFAmRoQ6sACgkQygNjjfo/ HHrkDA/+MGhTnl21oM4RTb1xvbdkrjSFweHM+w9X4o3UJCNlM1JQuFSUII6KUPZl haCcxVy46qTTjv5cjUHg46vtjVxQQOykiq/tj8F6JlzGd+io8ZejLU2jVetlZfCb FXd/kUCnSYuEBFS721nE5F7vtjvlofGnBJlqTCUmLipTAgqnS20/q/Cv9L+ONFAI cHHIQrBpc/CzbtgDOHOHQ8/va8p1BkRye1tJKVhZoyxGjAsWMz+qLIVvmVh7mulC oThP1qkxzKBLn/TXGmx+leToq+0w39qjwjHvnLWL9vKWoxNA48c6uh9/VNPxLLud xyT9Nv5oEaTIvI3hjMv0KGtBHG6qjtS2PcZuKxq8Zg/CtNWHKog8N3gK+rCI/7KA mQKZgY4wfpCzsE1Yji6qlPpafTnGRAs9wL6qRJXImSv/vq0Wv6KIpO1DC3KZJ7z0 q1lIOTviH1v1ym/BZ1hZwyoHmRz8oUvadOXVwDqpJ3z1YcjVjlmHnwSCz29dmSE9 7tt/f7wUGFuA5sHfBn3LxnNq4Ssb5KTJ0NbBl+TWgF9+lt2PS8kY9b7QwNXAFbgr TzKZfe2uhVWiTdj+MPewjjyZe+2PVn/v2+5wgSmXo5PH8SgDClj9UPb9XBTNct48 aeo2efe/8+x0EleApRS7HW8fqIsxRMR2jOB74xaeKqTT+aNjvhg= =r31y -----END PGP SIGNATURE----- --nextPart2032989.TLkxdtWsSY--