From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 2FWOINGGqGX3egAAqHPOHw:P1 (envelope-from ) for ; Thu, 18 Jan 2024 03:02:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2FWOINGGqGX3egAAqHPOHw (envelope-from ) for ; Thu, 18 Jan 2024 03:02:57 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705543377; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=kpHIDddKEN3kGyOiKvfEqNIyiYCXCDpdkyBV+y+4QsU=; b=fCHj1CA1DxKTNd5ikoXVKAGVVEl/lnOzVX5+bPkz62Fa+iAyDskW1/LYuvgZMZHdIbZ1Xd 6ZKkvPp+5IsiSbR/m/WIFxAu0wi40LDaERfhrtf1+R5vSHwvrgXER8fZ3ImOjlZ73y8aXq 7kBzNRjzhrqj+MOIFCeQKpXpf1H3EWaAqjOD2c/azkhKQUmCmMHpg4OapoS/rdXIaINk6f 3X0c8YJinrnO88CLk/2CtYhEUX0VJBgznBvsUPzNWZImUwC6B4qklNw66ULzMA/vW3dLkl O3v1JTWkmnbSyMVDzuIbOBtZ4kc3umRFef6N+j8tjSP/dC8uLtQqrW9Ta2DPgg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705543377; a=rsa-sha256; cv=none; b=rLsJ/oajV9JdF4wn6cogpdsYeq7cpg47iFkY553/uSJKzgLI5iZORpO+jcFWXvOWPCXUwE fGn3phqBRuD98mb92SpIm/nr4AAFK9yNj3u/7ZKuX6DtfxR/YR1Sbp9cV5fDg+QFGdz+UP vce+u7vU3xVP9kY8hOU48mkIyyh1+FH7KkfGMnB74TxuPsuisBLae6nwIrS4n4NUomBfr2 DdwanR7EyGiXQBiJFgW/oDd0YJm5FcGoldhDIT71/7aa6cKUL7W1UFEXc91zSCZPjnw+bK JKN2tBu+sB4iqvTu9VJ9+r+rX5FJW4Rnp0Xi44k6OFWdO3x2USmMUpka9XBLwA== 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 3F5B156B39 for ; Thu, 18 Jan 2024 03:02:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQHjp-00050p-Et; Wed, 17 Jan 2024 21:02:37 -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 1rQHjl-00050b-TM for help-guix@gnu.org; Wed, 17 Jan 2024 21:02:33 -0500 Received: from smtpout1.mo11.mail-out.ovh.ca ([51.161.45.253]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rQHjj-0000Vn-RR for help-guix@gnu.org; Wed, 17 Jan 2024 21:02:33 -0500 Received: from mxplan1.mail.ovh.ca (unknown [10.111.58.129]) by mo11.mail-out.ovh.ca (Postfix) with ESMTPS id EB9C62010AC for ; Wed, 17 Jan 2024 22:02:20 -0400 (AST) Received: from rodrigomorales.site (54.39.251.57) by DAG2EX1.mxpca1.local (172.16.2.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 17 Jan 2024 21:02:19 -0500 X-OVh-ClientIp: 181.65.25.69 From: Rodrigo Morales To: Subject: How to list all the discoverable Guix systems in my network? Date: Wed, 17 Jan 2024 21:02:13 -0500 Message-ID: <87il3rtn4q.fsf@rodrigomorales.site> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [54.39.251.57] X-ClientProxiedBy: DAG2EX2.mxpca1.local (172.16.2.12) To DAG2EX1.mxpca1.local (172.16.2.11) X-Ovh-Tracer-GUID: ff97bd2c-17f1-4bd5-b26a-4c0b24321748 X-Ovh-Tracer-Id: 9704131297524260375 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrvdejiedggedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvffufffkgggtihesthdtredttddttdenucfhrhhomheptfhoughrihhgohcuofhorhgrlhgvshcuoehmvgesrhhoughrihhgohhmohhrrghlvghsrdhsihhtvgeqnecuggftrfgrthhtvghrnhepudduhfffgeffhffhieevudduvdejuefggfffveegfefftedvgfekleeuvdehveeunecuffhomhgrihhnpehsihhgnhhinhhgqdhkvgihrdhpuhgspdhshihsthgvmhdqrgdrphhusgenucfkphepuddvjedrtddrtddruddpheegrdefledrvdehuddrheejpddukedurdeihedrvdehrdeileenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehmvgesrhhoughrihhgohhmohhrrghlvghsrdhsihhtvgeqpdhnsggprhgtphhtthhopedupdhrtghpthhtohephhgvlhhpqdhguhhigiesghhnuhdrohhrghdpoffvtefjohhsthepmhhouddupdhmohguvgepshhmthhpohhuth Received-SPF: pass client-ip=51.161.45.253; envelope-from=me@rodrigomorales.site; helo=smtpout1.mo11.mail-out.ovh.ca X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.51 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -5.51 X-Migadu-Queue-Id: 3F5B156B39 X-TUID: 5qAziYq4xGZ6 I have a system (A) running Guix SD whose /gnu/store I use as a repository for applications that I commonly install in other Guix SD systems. In system (A), I usually use "guix publish" to make it visible to other systems. Whenever I install Guix SD in other system (B), I need system (A) to be discoverable, I usually do this by running the following commands in system (A) #+BEGIN_SRC sh sudo guix publish -u rdrg -a -C 0 sudo cp /etc/guix/signing-key.pub /tmp/system-a.pub rsync /tmp/system-a.pub "$user@$host:/tmp" #+END_SRC and the following commands in system (B) #+BEGIN_SRC sh sudo guix archive --authorize < /tmp/system-a.pub sudo herd discover guix-daemon on #+END_SRC Sometimes system (A) needs is turned off, so it is not discverable by system (B). Before running a command in system (B), I want to know whether system (A) is available or not. My question is: In system (B), how to list all Guix systems that are publishing and would be used for downloading packages when needed?